Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
======

Expand All @@ -19,6 +48,7 @@ Changelog

Daniele Nicolodi --- 23-10-2024.


0.17.0
======

Expand All @@ -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
======

Expand Down
3 changes: 1 addition & 2 deletions docs/reference/meson-compatibility.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mesonpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Loading