-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
base: main
Are you sure you want to change the base?
Relax meson pins in CI #60681
Conversation
@@ -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", |
There was a problem hiding this comment.
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
Ah so I guess the pinned versions here were suppressing compiler errors in some fashion. Looks like #60674 will need to happen before this |
06481f0
to
348cb4d
Compare
618e4cd
to
05c4c12
Compare
41c2b59
to
3e200a6
Compare
@@ -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"} |
There was a problem hiding this comment.
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
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 |
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