Skip to content

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.

@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