Skip to content

MAINT: synchronize meson version requirements - #862

Merged
dnicolodi merged 1 commit into
mesonbuild:mainfrom
dnicolodi:fix/meson-version-check
Jul 2, 2026
Merged

MAINT: synchronize meson version requirements#862
dnicolodi merged 1 commit into
mesonbuild:mainfrom
dnicolodi:fix/meson-version-check

Conversation

@dnicolodi

@dnicolodi dnicolodi commented Jul 2, 2026

Copy link
Copy Markdown
Member

Make the runtime version check the same as the dependency declaration in pyproject.toml and add a test to verify the equivalence.

Requiring 0.64 over 0.63.3 was mostly a cosmetic change to allow to write import('python').find_installation(pure: false) in the test packages, thus the runtime version check was not update in sync to allow to use the older meson for a while longer in special settings. The old meson version should have been retired by now, and keeping the version checks consistent is less confusing.

xref gh-861

@dnicolodi
dnicolodi force-pushed the fix/meson-version-check branch from 86a90ea to 24cc41a Compare July 2, 2026 08:09
Make the runtime version check the same as the dependency declaration
in pyproject.toml and add a test to verify the equivalence.

Requiring 0.64 over 0.63.3 was mostly a cosmetic change to allow to
write `import('python').find_installation(pure: false)` in the test
packages, thus the runtime version check was not update in sync to
allow to use the older meson for a while longer in special settings.
The old meson version should have been retired by now, and keeping the
version checks consistent is less confusing.
@dnicolodi
dnicolodi force-pushed the fix/meson-version-check branch from 24cc41a to fc5faa7 Compare July 2, 2026 08:11
@rgommers rgommers added the maintenance Regular code improvements that are not new features nor end-user-visible bugs label Jul 2, 2026

@henryiii henryiii left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice test. :)

@dnicolodi
dnicolodi merged commit bc406f7 into mesonbuild:main Jul 2, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Regular code improvements that are not new features nor end-user-visible bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants