Skip to content

Commit

Permalink
Replace 2023.7.28 and 2023.7.29.dev1 references with 2024.6.20.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Jun 20, 2024
1 parent 946ec0a commit a1e17ba
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"keywords": "Geometry, Curve, B\u00e9zier, Intersection, Python",
"license": "Apache 2.0",
"title": "B\u00e9zier",
"version": "2023.7.28"
"version": "2024.6.20"
}
12 changes: 6 additions & 6 deletions docs/abi/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ Linux
triangle_intersection.h
bezier.h
lib/
libbezier.so -> libbezier.so.2023
libbezier.so.2023 -> libbezier.so.2023.7.28
libbezier.so.2023.7.28
libbezier.so -> libbezier.so.2024
libbezier.so.2024 -> libbezier.so.2024.6.20
libbezier.so.2024.6.20
share/
bezier/
cmake/
Expand All @@ -90,9 +90,9 @@ macOS
triangle_intersection.h
bezier.h
lib/
libbezier.2023.7.28.dylib
libbezier.2023.dylib -> libbezier.2023.7.28.dylib
libbezier.dylib -> libbezier.2023.dylib
libbezier.2024.6.20.dylib
libbezier.2024.dylib -> libbezier.2024.6.20.dylib
libbezier.dylib -> libbezier.2024.dylib
share/
bezier/
cmake/
Expand Down
22 changes: 11 additions & 11 deletions docs/python/binary-extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ The command line tool `auditwheel`_ adds a ``bezier.libs`` directory to
'.../site-packages/bezier.libs'
>>> print_tree(libs_directory)
bezier.libs/
libbezier-631d8eda.so.2023.7.28
libbezier-631d8eda.so.2024.6.20
libgfortran-040039e1.so.5.0.0
libquadmath-96973f99.so.0.0.0

Expand All @@ -110,7 +110,7 @@ The ``bezier._speedup`` module depends on this local copy of ``libbezier``:
Dynamic section at offset 0x47b000 contains 27 entries:
Tag Type Name/Value
0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../bezier.libs]
0x0000000000000001 (NEEDED) Shared library: [libbezier-631d8eda.so.2023.7.28]
0x0000000000000001 (NEEDED) Shared library: [libbezier-631d8eda.so.2024.6.20]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000c (INIT) 0x7000
Expand All @@ -123,13 +123,13 @@ and the local copy of ``libbezier`` depends on the other dependencies in
.. testcode:: linux-readelf-lib
:hide:

invoke_shell("readelf", "-d", "../bezier.libs/libbezier-631d8eda.so.2023.7.28")
invoke_shell("readelf", "-d", "../bezier.libs/libbezier-631d8eda.so.2024.6.20")
invoke_shell("readelf", "-d", "../bezier.libs/libgfortran-040039e1.so.5.0.0")

.. testoutput:: linux-readelf-lib
:linux-only:

$ readelf -d ../bezier.libs/libbezier-631d8eda.so.2023.7.28
$ readelf -d ../bezier.libs/libbezier-631d8eda.so.2024.6.20

Dynamic section at offset 0x4adc8 contains 29 entries:
Tag Type Name/Value
Expand All @@ -138,7 +138,7 @@ and the local copy of ``libbezier`` depends on the other dependencies in
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libquadmath-96973f99.so.0.0.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000e (SONAME) Library soname: [libbezier-631d8eda.so.2023.7.28]
0x000000000000000e (SONAME) Library soname: [libbezier-631d8eda.so.2024.6.20]
0x000000000000000c (INIT) 0x3000
...
$ readelf -d ../bezier.libs/libgfortran-040039e1.so.5.0.0
Expand Down Expand Up @@ -173,7 +173,7 @@ with copies of ``libbezier``, ``libgfortran``, ``libquadmath`` and
'.../site-packages/bezier/.dylibs'
>>> print_tree(dylibs_directory)
.dylibs/
libbezier.2023.7.28.dylib
libbezier.2024.6.20.dylib
libgcc_s.1.1.dylib
libgfortran.5.dylib
libquadmath.0.dylib
Expand All @@ -197,7 +197,7 @@ of ``libbezier``:

$ otool -L _speedup.cpython-312-darwin.so
_speedup.cpython-312-darwin.so:
@loader_path/.dylibs/libbezier.2023.7.28.dylib (...)
@loader_path/.dylibs/libbezier.2024.6.20.dylib (...)
/usr/lib/libSystem.B.dylib (...)

Though the Python extension module (``.so`` file) only depends on ``libbezier``
Expand All @@ -209,16 +209,16 @@ it indirectly depends on ``libgfortran``, ``libquadmath`` and ``libgcc_s``:
invoke_shell(
"otool",
"-L",
".dylibs/libbezier.2023.7.28.dylib",
".dylibs/libbezier.2024.6.20.dylib",
replacements=(("\t", " "),),
)

.. testoutput:: macos-delocated-libgfortran
:macos-only:

$ otool -L .dylibs/libbezier.2023.7.28.dylib
.dylibs/libbezier.2023.7.28.dylib:
/DLC/bezier/.dylibs/libbezier.2023.7.28.dylib (...)
$ otool -L .dylibs/libbezier.2024.6.20.dylib
.dylibs/libbezier.2024.6.20.dylib:
/DLC/bezier/.dylibs/libbezier.2024.6.20.dylib (...)
@loader_path/libgfortran.5.dylib (...)
@loader_path/libquadmath.0.dylib (...)
/usr/lib/libSystem.B.dylib (...)
Expand Down
16 changes: 8 additions & 8 deletions docs/releases/latest.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Latest Release (``2023.7.29.dev1``)
===================================
Latest Release (``2024.6.20``)
==============================

|pypi| |docs|

Expand All @@ -12,9 +12,9 @@ Packaging
- Dropped support for Python 3.8
(`#310 <https://github.com/dhermes/bezier/pull/310>`__).

.. |pypi| image:: https://img.shields.io/pypi/v/bezier/2023.7.29.dev1.svg
:target: https://pypi.org/project/bezier/2023.7.29.dev1/
:alt: PyPI link to release 2023.7.29.dev1
.. |docs| image:: https://readthedocs.org/projects/bezier/badge/?version=2023.7.29.dev1
:target: https://bezier.readthedocs.io/en/2023.7.29.dev1/
:alt: Documentation for release 2023.7.29.dev1
.. |pypi| image:: https://img.shields.io/pypi/v/bezier/2024.6.20.svg
:target: https://pypi.org/project/bezier/2024.6.20/
:alt: PyPI link to release 2024.6.20
.. |docs| image:: https://readthedocs.org/projects/bezier/badge/?version=2024.6.20
:target: https://bezier.readthedocs.io/en/2024.6.20/
:alt: Documentation for release 2024.6.20
8 changes: 4 additions & 4 deletions paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ This library provides support for
- Specialization / reparameterization
- Self-intersection / singularity check for 2D triangles

-![Triangle-triangle intersection example](https://raw.githubusercontent.com/dhermes/bezier/2023.7.28/docs/images/triangles6Q_and_7Q.png)
-![Triangle-triangle intersection example](https://raw.githubusercontent.com/dhermes/bezier/2024.6.20/docs/images/triangles6Q_and_7Q.png)

[1]: https://en.wikipedia.org/wiki/B%C3%A9zier_curve
[2]: https://en.wikipedia.org/wiki/B%C3%A9zier_triangle
[3]: https://bezier.readthedocs.io/en/2023.7.28/algorithms/curve-curve-intersection.html
[4]: https://bezier.readthedocs.io/en/2023.7.28/python/reference/bezier.curve.html#bezier.curve.Curve.locate
[5]: https://bezier.readthedocs.io/en/2023.7.28/python/reference/bezier.triangle.html#bezier.triangle.Triangle.locate
[3]: https://bezier.readthedocs.io/en/2024.6.20/algorithms/curve-curve-intersection.html
[4]: https://bezier.readthedocs.io/en/2024.6.20/python/reference/bezier.curve.html#bezier.curve.Curve.locate
[5]: https://bezier.readthedocs.io/en/2024.6.20/python/reference/bezier.triangle.html#bezier.triangle.Triangle.locate

# References
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import setuptools.dist


VERSION = "2023.7.29.dev1" # Also in ``codemeta.json`` and ``__init__.py``.
VERSION = "2024.6.20" # Also in ``codemeta.json`` and ``__init__.py``.
AUTHOR = "Danny Hermes" # Also in ``__init__.py``.
README_FILENAME = os.path.join(os.path.dirname(__file__), "README.rst")
NUMPY_MESSAGE = """\
Expand Down
4 changes: 2 additions & 2 deletions src/fortran/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.5)

project(
bezier
VERSION 2023.7.28
VERSION 2024.6.20
LANGUAGES Fortran C)
set(AUTHOR "Danny Hermes")
set(AUTHOR_DETAILS "[email protected]")
Expand Down Expand Up @@ -57,7 +57,7 @@ if(${BUILD_SHARED_LIBS})
set_target_properties(
bezier
PROPERTIES VERSION ${bezier_VERSION}
SOVERSION 2023
SOVERSION 2024
POSITION_INDEPENDENT_CODE ON)
endif()

Expand Down
2 changes: 1 addition & 1 deletion src/python/bezier/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# and related. This is **entirely** to accommodate builds where
# ``bezier`` is imported from source (and not installed).
__author__ = "Danny Hermes"
__version__ = "2023.7.29.dev1"
__version__ = "2024.6.20"
"""str: The current version of :mod:`bezier`."""
__all__ = [
"__author__",
Expand Down

0 comments on commit a1e17ba

Please sign in to comment.