Skip to content

deps: Update dependency meson-python to >=0.22.1 - #1113

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/meson-python-0.x
Nov 18, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/meson-python-0.x

Conversation

@renovate

@renovate renovate Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
meson-python minor * → >=0.22.1

Release Notes

mesonbuild/meson-python (meson-python)

v0.22.1

Compare Source

======

  • Do not remove absolute build RPATH entries, unless pointing within the
    build directory. Fixes an issue when using system compilers in a conda
    environment.

Daniele Nicolodi, Ralf Gommers --- 01-10-2026.

v0.22.0

Compare Source

======

  • 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.

v0.21.1

Compare Source

======

  • Restore compatibility with Python interpreters not implementing PEP 3149.

Daniele Nicolodi, Ralf Gommers --- 11-09-2026.

v0.21.0

Compare Source

======

  • Add support for the stable ABI for free-threaded interpreters (abi3t).
  • Add support for the stable ABI extension modules' platform-specific filename
    suffixes introduced in Python 3.15.
  • Allow specifying editable-verbose in pyproject.toml.
  • Improve the default behavior of editable installs by capturing and reporting
    build errors when rebuilding.
  • Use .start files (PEP 829) instead of .pth files to implement editable
    wheels for Python 3.15 and later.
  • From this release onwards, SSH keys used to sign release tags.

Daniele Nicolodi, Michał Górny, Ralf Gommers --- 07-09-2026.

v0.20.0

Compare Source

======

  • Add support for targeting the Android platform.

Daniele Nicolodi, Malcolm Smith, Ralf Gommers --- 10-06-2026.

v0.19.0

Compare Source

======

  • Drop Python 3.8 support.
  • Development-related extras were moved to dependency groups.
  • Add support for targeting the iOS platform.
  • The strip binary is now included in synthesized cross files.
  • Documentation improvements: add more examples for specific use cases, and a
    contributing guide.
  • Use trusted publishing with digital attestations to upload release artifacts
    to PyPI.

Andrew Annex, Daniele Nicolodi, Michał Górny, Ralf Gommers, Russell
Keith-Magee, Tobias Diez --- 14-01-2026.

v0.18.0

Compare Source

======

  • 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.

v0.17.1

Compare Source

======

  • Update tests to work with newly released pyproject-metadata 0.9.0.
  • Fix tests to work when not executed in a git work tree.

Daniele Nicolodi --- 23-10-2024.

v0.16.0

Compare Source

======

  • Correctly detect a wheel shipping shared libraries as being platform
    dependent also when it does not ship compiled executables or Python
    extension modules.
  • Use 11.0 as minimum macOS platform ABI tag on arm64: lower versions
    do not exist on arm64.
  • Improve parsing of the $ARCHFLAGS environment
    variable. Correctly handle repeated -arch flags.
  • Do not break when trying to log filename containing Unicode
    characters that cannot be encoded in the encoding used by the
    standard output stream.
  • Drop dependency on colorama on Windows.
  • Suppress all uses of ANSI terminal escapes when logging to a stream
    that does not support them.
  • Fix ANSI escape coloring of error messages.
  • Respect the exclude_dirs and exclude_files arguments passed
    to the install_subdir() Meson function in editable installs too.
  • Make pkgutil.iter_packages() work properly for modules loaded
    from editable installs.
  • Add support for the custom_target() Meson function installing a
    directory.
  • In editable installs, when a rebuild is triggered on module import,
    emit a message indicating that the package is being rebuilt but
    suppress any output when there is no work to do.

Daniele Nicolodi, Loïc Estève, Ralf Gommers --- 16-04-2024

v0.15.0

Compare Source

======

  • Enable compression for wheel files. The may result in several times
    smaller wheels.
  • Require Meson 1.2.3 or later on Python 3.12 or later. Meson 1.2.3
    does not require anymore distutils, allowing to remove the
    dependency on setuptools on Python 3.12 or later.
  • Unconditionally require patchelf on Linux. The patchelf
    package is added to the build dependencies if a suitable
    patchelf executable is not find on the $PATH. This avoids
    cases where meson setup was run twice during the build process
    to determine whether patchelf is required.
  • Allow to configure the meson executable to use for the build
    process through the $MESON environment variable or the meson
    key under [tool.meson-python] in pyproject.toml.
  • Fix wheel platform tag generation on FreeBSD.
  • Extend support to other UNIX-like systems and make the tests pass on
    FreeBSD.
  • Fix package name normalization in package metadata and improve
    package name validation.
  • Fix RPATH handling when the build RPATH points to
    subdirectories of the build directory.
  • Fix support for the Python limited C API when compiling for PyPy.
  • Rename the builddir config-setting to build-dir. For
    backwards compatibility, the buildir config-setting remains
    supported as an alias.

Christoph Reiter, Daniele Nicolodi, Elliott Sales de Andrade, Ralf Gommers,
Yue Yang --- 26-10-2023

v0.14.0

Compare Source

======

  • Do not run meson install to build a wheel. This was unnecessary
    as files are added to the wheel from the build and source
    directories. This does not affect the handling of meson install
    options, which are interpreted by meson-python itself.
  • Obey the --skip-subprojects when specified for the meson install command.
  • Implement support for the exclude_directories and
    exclude_files arguments to Meson install_subdir() function
    and similar installation functions. This requires Meson version
    1.1.0 or later.
  • Implement support for building wheels targeting the Python limited
    API. Extension modules targeting the Python limited API can be
    easily built starting with the upcoming Meson 1.3.0 release.
  • When pyproject.toml does not contain a version field and
    version is not declared dynamic, raise an error instead of
    silently using the version declared in meson.build.
  • Fix the mtime of source files in the sdist tarball.
  • Add objc and objcpp compilers to the cross file generated
    when the $ARCHFLAGS is set.
  • Extensive documentation improvements.

Charles Brunet, Daniele Nicolodi, Henry Schreiner, Michał Górny, Ralf
Gommers --- 05-09-2023

v0.13.2

Compare Source

======

  • Fix system name in cross file generated when using $ARCHFLAGS.
  • Fix handling of null Meson install tags.

Charles Brunet, Daniele Nicolodi --- 22-06-2023.

v0.13.1

Compare Source

======

  • Fix regression in cross-compilation via $ARCHFLAGS on macOS where the
    cross file was written in the build directory before it was created,
    resulting in an error.
  • Do not require setting $_PYTHON_HOST_PLATFORM when cross-compiling via
    $ARCHFLAGS on macOS.
  • Add the --quiet option when invoking meson install. The installation
    paths are a detail of the meson-python implementation and are generally
    not interesting for the user.
  • Fix terminal logging when overriding the current line when listing files
    added to the wheel.
  • Improve the error message emitted when a package split between the
    purelib and platlib wheel locations is detected.

Daniele Nicolodi, Ralf Gommers --- 28-04-2023.

v0.13.0

Compare Source

======

  • Add support for editable installs.
  • Adjust the default build options passed to meson setup.
  • Make sure that the directory where the wheel or sdist build artifacts are
    created exists. Fixes building with PDM.
  • Fix the specification of the C++ compiler for cross-compilation with
    $ARCHFLAGS on macOS.
  • Pass the --reconfigure option to meson setup if and only if the
    specified build directory exists and is a valid Meson build directory.
  • Pass the --no-rebuild option to meson install.
  • Allow to select the files to be included in the wheel via Meson install tags
    passing the --tags option to meson install via pyproject.toml or
    config settings.
  • Do not use the meson compile indirection to build the project, except on
    Windows, where it is required to setup the Visual Studio environment.
  • Do not add ninja to the build dependencies if $NINJA is set but it
    does not point to a ninja executable with the required minimum version.
  • Verify at run time that Meson satisfies the minimum required version.
  • Place native and cross files in the build directory instead of in the
    source directory.
  • Drop the typing-extensions package dependency.
  • Add dependency on setuptools on Python 3.12 and later. This fixes build
    error due to Meson depending on the distutils standard library module
    removed in Python 3.12.
  • Bump the required pyproject-metadata version to 0.7.1.
  • Allows some more cross-compilation setups by not checking extension modules
    filename suffixes against the suffixes accepted by the current interpreter.
  • Raise an error when a file that would be installed by Meson cannot be mapped
    to a wheel location.
  • Raise an error when a package is split between platlib and purelib.
  • Do not generate a warning when pyproject.toml does not contain a
    project section and Python package metadata is derived from meson.build.
  • Improve reporting of pyproject.toml validation errors.
  • Fix validation of tool specific options in pyproject.toml. In
    particular, allows to specify an incomplete set of options in the
    tool.meson-python.args table.

Daniele Nicolodi, Doron Behar, Eli Schwartz, Filipe Laíns, Lars Pastewka,
Luigi Giugliano, Matthias Köppe, Peter Urban, Ralf Gommers, Stefan van der
Walt, Thomas Li --- 18-04-2023.

v0.12.1

Compare Source

======

  • Fix regression where the $MACOSX_DEPLOYMENT_TARGET environment variable
    was accidentally renamed to $MACOS_DEPLOYMENT_TARGET.

Filipe Laíns, Stefan van der Walt --- 17-02-2023.

v0.12.0

Compare Source

======

  • Require the typing_extensions package for Python < 3.10 rather than for
    Python < 3.8 only.
  • Emit an error message and raise SystemExit on expected errors.
  • Revise error messages for consistency.
  • Support setuptools-style macOS cross compilation via $ARCHFLAGS.
  • Allow to overwrite macOS platform tag via $_PYTHON_HOST_PLATFORM.
  • Include an hint with the most similar known option names in the error
    message emitted when an unknown config setting is encountered.

Daniele Nicolodi, Filipe Laíns, Henry Schreiner, Matthias Köppe, Thomas A
Caswell --- 22-12-2022.

v0.11.0

Compare Source

======

  • Project moved to the mesonbuild organization.
  • Determine wheel tags by introspecting the Python interpreter.
  • Allow users to pass options directly to Meson via the dist, setup,
    compile, and install entries in the tools.meson-python.args
    table in pyproject.toml, or via the dist-args, setup-args,
    compile-args, and install-args config settings.
  • Use the system ninja if possible. Return ninja as a build dependency
    otherwise.
  • Include files generated by mesonadd_dist_script in the sdist.
  • Use tomllib on Python 3.11 or later.
  • Drop the wheel package dependency.
  • Fix bug where the entry_points.txt file was not generated.
  • Fix bug where Cygwin Python extensions were not being noticed.

Ben Greiner, Daniele Nicolodi, Filipe Laíns, Henry Schreiner, Matthias Köppe,
Ralf Gommers, Sam Thursfield, Thomas Li --- 21-11-2022.

v0.10.0

Compare Source

======

  • Ignore the minor version on macOS 11 or later, to match the behavior of
    pypa/packaging.

Filipe Laíns, Ralf Gommers --- 05-10-2022.

v0.9.0

Compare Source

=====

  • More fixes on ABI tag detection.
  • Fix incorrect tag on 32-bit Python running on a x86_64 host.
  • Fix sdist permissions.
  • Fix incorrect PyPy tags.
  • Fix install_subdirs not being included in wheels.
  • Take MACOSX_DEPLOYMENT_TARGET into account for the platform tag.
  • Don't set the rpath on binaries if unneeded.

Eli Schwartz, Filipe Laíns, Matthias Köppe, Peyton Murray, Ralf Gommers,
Thomas Kluyver, Thomas Li --- 29-09-2022.

v0.8.1

Compare Source

=====

  • Fix UnboundLocalError in tag detection code.

Filipe Laíns, Ralf Gommers --- 28-07-2022.

v0.8.0

Compare Source

=====

  • Fix sometimes the incorrect ABI tags being generated.
  • Add workaround for macOS 11 and 12 installations that are missing a minor
    version in the platform string.

Filipe Laíns --- 26-07-2022.

v0.7.0

Compare Source

=====

  • Fix the wrong Python and ABI tags being generated in Meson 0.63.0.
  • Fix project license not being included in the project metadata.

Filipe Laíns, Ralf Gommers --- 22-07-2022.

v0.6.0

Compare Source

=====

  • Project re-licensed to MIT.
  • Error out when running in an unsupported interpreter.
  • Fix slightly broken Debian heuristics.
  • Update pep621 dependency to pyproject-metadata.

Filipe Laíns, Ralf Gommers, Thomas A Caswell --- 21-06-2022.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Nov 18, 2026
@renovate
renovate Bot enabled auto-merge (squash) November 18, 2026 20:03
@renovate
renovate Bot merged commit 112ec4c into main Nov 18, 2026
36 checks passed
@renovate
renovate Bot deleted the renovate/meson-python-0.x branch November 18, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants