Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: bump minimum required Meson version to 0.64.0 #701

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

dnicolodi
Copy link
Member

Depending on 0.64.0 or later allows to use the pure argument when invoking the import('python').find_installation() Meson function, which makes for some nicer test and example code. Meson 0.64.0 was released on November 6th, 2022, just over a month after the current minimum supported version.

@rgommers rgommers added the maintenance Regular code improvements that are not new features nor end-user-visible bugs label Oct 29, 2024
Copy link
Contributor

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, LGTM!

There's one mention of 0.64 in the code base, maybe you also want to update this (either way is fine with me)?

# in Meson >= 0.64 this could be replace with a single
# py.install_sources() with the 'preserve_path: true' argument.

This change is nice because it enables us to use python.find_installation(pure: false) as discussed in gh-700.

docs/reference/meson-compatibility.rst Outdated Show resolved Hide resolved
@rgommers rgommers added this to the v0.18.0 milestone Oct 29, 2024
@dnicolodi
Copy link
Member Author

There's one mention of 0.64 in the code base, maybe you also want to update this (either way is fine with me)?

Thanks, I didn't find this reference. I'll update this test too.

Depending on 0.64.0 or later allows to use the pure argument when
invoking the import('python').find_installation() Meson function,
which makes for some nicer test and example code. Meson 0.64.0 was
released on November 6th, 2022, just over a month after the current
minimum supported version.
Copy link
Contributor

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

LGTM now, in it goes.

@rgommers rgommers merged commit 856debc into mesonbuild:main Oct 29, 2024
44 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.

2 participants