diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 386b5752..5c97d632 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,6 +11,35 @@ Changelog +++++++++ +0.18.0 +====== + +- Drop Python 3.7 support. +- Bump minimum required Meson version to 0.64.0. +- Bump minimum required ``pyproject-metadata`` version to 0.9.0 to enable + support for PEP 639. +- Bump minimum required ``packaging`` version to 23.2. ``pyproject-metadata`` + version 0.9.1 requires this version of ``packaging`` but fails to record the + version requirement in the package metadata. Enforcing the version + requirement in ``meson-python`` allows fixing possible dependency problems + without having ``meson-python`` depend on a very recent + ``pyproject-metadata`` release. +- Add support for PEP 639 metadata fields. Canonicalization and validation of + the license expression requires ``packaging`` version 24.2 or later. +- Add support for declaring the ``licence`` and ``license-files`` as dynamic + fields in ``pyproject.toml`` to extract the package license and license + files from the ones declared via the ``project()`` call in + ``meson.build``. This requires Meson version 1.6.0 or later. +- Add support for ``RPATH`` handling on SunOS. +- Include shared libraries built as part of the Meson project in the Python + wheels also on Windows, when explicitly enabled via the + ``tool.meson-python.allow-windows-internal-shared-libs`` project setting. +- Add support for symbolic links that point to files within the source tree. + They are now included as regular files in the sdist archive. + +Daniele Nicolodi, Marcel Telka, Ralf Gommers --- 30-04-2025. + + 0.17.1 ====== @@ -19,6 +48,7 @@ Changelog Daniele Nicolodi --- 23-10-2024. + 0.17.0 ====== @@ -45,6 +75,7 @@ Daniele Nicolodi --- 23-10-2024. Christian Clauss, Daniele Nicolodi, Jonathan J. Helmus, Leo Singer, Loïc Estève, Michael Simacek, Ralf Gommers, Simon McVittie --- 19-10-2024. + 0.16.0 ====== diff --git a/docs/reference/meson-compatibility.rst b/docs/reference/meson-compatibility.rst index 6b339d60..4f2ff406 100644 --- a/docs/reference/meson-compatibility.rst +++ b/docs/reference/meson-compatibility.rst @@ -50,8 +50,7 @@ versions. Meson 1.6.0 or later is required to support ``license`` and ``license-files`` dynamic fields in ``pyproject.toml`` and to populate the package license and license files from the ones - declared via the ``project()`` call in ``meson.build``. This also - requires ``pyproject-metadata`` version 0.9.0 or later. + declared via the ``project()`` call in ``meson.build``. Build front-ends by default build packages in an isolated Python environment where build dependencies are installed. Most often, unless diff --git a/mesonpy/__init__.py b/mesonpy/__init__.py index daa24e84..fe7768c9 100644 --- a/mesonpy/__init__.py +++ b/mesonpy/__init__.py @@ -81,7 +81,7 @@ class InvalidLicenseExpression(Exception): # type: ignore[no-redef] MesonArgs = Mapping[MesonArgsKeys, List[str]] -__version__ = '0.18.0.dev0' +__version__ = '0.18.0' _PYPROJECT_METADATA_VERSION = tuple(map(int, pyproject_metadata.__version__.split('.')[:2])) diff --git a/pyproject.toml b/pyproject.toml index e33e1a81..70818ab6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ requires = [ [project] name = 'meson-python' -version = '0.18.0.dev0' +version = '0.18.0' description = 'Meson Python build backend (PEP 517)' readme = 'README.rst' requires-python = '>= 3.8'