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

feat: use SPEC 0 schedule for cibuildwheel #1912

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

mayeut
Copy link
Member

@mayeut mayeut commented Jun 30, 2024

As discussed in various issues, I think that cibuildwheel is in position where it might make sense to follow SPEC 0 schedule rather than the CPython schedule. This would allow to take advantage of new Python features faster (or without/ with less back ports).

This draft PR is:

  • to gather feedback on such a change
  • to check that indeed, every CI we support is ready.
  • preview what would change
  • if we want to follow-up with this, then, it might be a good thing to warn users ahead to let them update there workflows if need be (mostly for CI that do not come with python pre-installed).

The idea would be to switch to SPEC 0 in 2024Q4 after Python 3.8 EOL & Python 3.13 GA, thus dropping 3.8, 3.9 & 3.10.

timeout-minutes: 180
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Install Python ${{ matrix.python_version }}
with:
python-version: ${{ matrix.python_version }}
allow-prereleases: true
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
allow-prereleases: true

To be removed once 3.13 reaches GA

@mayeut mayeut force-pushed the nep29 branch 2 times, most recently from 4ba37cb to 1e899ff Compare June 30, 2024 15:58
@joerick
Copy link
Contributor

joerick commented Jul 2, 2024

I support this change. There is very little reason to hang on to older Pythons on the host side, when we can benefit from new features.

To be clear to anyone coming across this, we're talking about the version of Python that is used to run cibuildwheel. That is distinct from the versions of Python that we build wheels for, which would be unchanged by this.

@EwoutH
Copy link
Contributor

EwoutH commented Jul 11, 2024

I think it's very logical for a project like cibuildwheel to follow SPEC 0 on the host side.

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

Successfully merging this pull request may close these issues.

3 participants