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
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@
Changelog
+++++++++

0.22.0
======

- Add support for adding RPATH entries specified with ``install_rpath``
argument to Meson functions that accept it.
- Add support for removing build RPATH entries added by Meson to allow
executing parts of the project from the build directory.
- Fix corner cases in handling RPATH entries and relocation of shared
libraries distributed as part of Python packages.

Daniele Nicolodi, Mike Taves, Nathan Goldbaum, Ralf Gommers --- 25-09-2026.


0.21.1
======

Expand Down
2 changes: 1 addition & 1 deletion mesonpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class InvalidLicenseExpression(Exception): # type: ignore[no-redef]
Path = Union[str, os.PathLike[str]]


__version__ = '0.22.0.dev0'
__version__ = '0.23.0.dev0'


_PYPROJECT_METADATA_VERSION = tuple(map(int, pyproject_metadata.__version__.split('.')[:2]))
Expand Down
4 changes: 4 additions & 0 deletions mesonpy/_rpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ def set_rpath(filepath: Path, old: list[str], rpath: list[str]) -> None:
add = rpath[keep:]

if delete:
# ``install_name_tool`` does not accept repeated ``-delete_rpath``
# arguments. There should not be duplicated in the existing RPATH,
# but the assert should make this occurrence easier to debug.
assert unique(delete) == delete
args = [a for p in delete for a in ('-delete_rpath', p)]
subprocess.run(['install_name_tool', *args, os.fspath(filepath)], check=True)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ requires = [

[project]
name = 'meson-python'
version = '0.22.0.dev0'
version = '0.23.0.dev0'
description = 'The Python build backend for Meson projects'
readme = 'README.rst'
requires-python = '>= 3.10'
Expand Down
Loading