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

Relax meson pins in CI #60681

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

WillAyd
Copy link
Member

@WillAyd WillAyd commented Jan 8, 2025

Back in #60089 we relaxed the meson pin in our pyproject, but all of our CI still hard codes the minimum version. This updates it to treat the meson dependencies the same way as Cython, i.e. newer versions are used in CI

@WillAyd WillAyd requested a review from mroeschke as a code owner January 8, 2025 18:52
@@ -3,7 +3,7 @@
# See https://github.com/scipy/scipy/pull/12940 for the AIX issue.
requires = [
"meson-python>=0.13.1",
"meson>=1.2.1,<2",
"meson>=1.2.1",
Copy link
Member Author

Choose a reason for hiding this comment

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

I removed the <2 as I didn't want to repeat it everywhere in our CI configurations, and we don't create upper bounds like this on any other dependency. There also is not a meson 2.0 under development

@WillAyd
Copy link
Member Author

WillAyd commented Jan 8, 2025

Ah so I guess the pinned versions here were suppressing compiler errors in some fashion. Looks like #60674 will need to happen before this

@WillAyd WillAyd force-pushed the remove-meson-pins branch from 06481f0 to 348cb4d Compare January 8, 2025 19:17
@WillAyd WillAyd added the Build Library building on various platforms label Jan 8, 2025
@WillAyd WillAyd force-pushed the remove-meson-pins branch from 618e4cd to 05c4c12 Compare January 8, 2025 23:24
@WillAyd WillAyd force-pushed the remove-meson-pins branch from 41c2b59 to 3e200a6 Compare January 8, 2025 23:52
@@ -159,6 +158,12 @@ test-command = """
free-threaded-support = true
before-build = "PACKAGE_DIR={package} bash {package}/scripts/cibw_before_build.sh"

[tool.cibuildwheel.macos]
environment = {LDFLAGS="-Wl,--strip-all"}
Copy link
Member Author

Choose a reason for hiding this comment

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

These flags are not applicable on windows and were causing the linker to throw an error when combined with -Werror in our CI

@WillAyd
Copy link
Member Author

WillAyd commented Jan 9, 2025

I believe the remaining issues appeared with meson-python 0.16.0. Reported upstream in mesonbuild/meson-python#716

May need to put an upper limit on the 0.15.0 release for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant