Skip to content

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
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

Copy link
Contributor

Choose a reason for hiding this comment

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

It took us ten years to get to 1.0, yeah :) no hurry to release 2.0 but whenever it does come around you can most likely expect it will only break backwards compatibility for things that have printed deprecation warnings for several years + the meson provided by Debian oldstable is new enough to support the newer approach.

@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 2 times, most recently from 41c2b59 to 3e200a6 Compare January 8, 2025 23:52
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

@WillAyd WillAyd force-pushed the remove-meson-pins branch from c370100 to 8d6d29c Compare January 9, 2025 23:10
@WillAyd WillAyd requested a review from attack68 as a code owner January 10, 2025 14:36
@WillAyd
Copy link
Member Author

WillAyd commented Jan 10, 2025

The pyarrow failure here is unrelated

@WillAyd WillAyd changed the title Relax meson pins in CI Relax meson pins in CI and Fix Missed Warnings Jan 21, 2025
@WillAyd WillAyd force-pushed the remove-meson-pins branch 4 times, most recently from 3ab5090 to 4ecfec0 Compare January 27, 2025 17:33
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Mar 24, 2025
@WillAyd
Copy link
Member Author

WillAyd commented Apr 21, 2025

Not actively working on this - let's clear the queue

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 Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants