-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Test cp313t in CI #3494
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
base: master
Are you sure you want to change the base?
Test cp313t in CI #3494
Conversation
lysnikolaou
commented
May 2, 2025
- This adds building wheels for cp313t in CI.
- Also adds config for running the test suite under 3.13t. (this will probably fail due to the pycurl and pycares dependencies for now)
.github/workflows/test.yml
Outdated
@@ -57,6 +57,8 @@ jobs: | |||
tox_env: py312-full | |||
- python: '3.13' | |||
tox_env: py313-full | |||
- python: '3.13t' | |||
tox_env: py313t-full |
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.
Remove the -full
to run the tests without the pycurl and pycares dependencies. (This is the one that matters; the line in tox.ini isn't used in practice)
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.
Right!
.github/workflows/test.yml
Outdated
@@ -139,7 +141,8 @@ jobs: | |||
# For speed, we only build one python version and one arch. We throw away the wheels | |||
# built here; the real build is defined in build.yml. | |||
CIBW_ARCHS: native | |||
CIBW_BUILD: cp313-manylinux* | |||
CIBW_BUILD: cp313-manylinux* cp313t-manylinux* |
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 think I'd leave this as it was; we don't need to test freethreading builds in both tox and cibuildwheel in test.yml. What we need for publishing wheels is changes to build.yml.
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.
Yes, I know, I just wanted to test that they'll build okay first. I'll revert this and change build.yml
.
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.
FYI, to test your changes to build.yml, you should be able to go to this page on your fork of the repo to use the workflow_dispatch function (it takes 20 minutes): https://github.com/lysnikolaou/tornado/actions/workflows/build.yml
I don't see the button when I look at that page, so I'm not sure whether it's because only you can see it on your fork, or if my fork of tornado is special in some way.
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 don't see it on my fork either, unfortunately. I've had the same problem with workflow_dispatch
actions while working on setproctitle
not too long ago.
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.
Fixed. Had to push a commit with a rename of the file to the master
branch on my fork which repopulated the actions tab. Resetting to upstream/main
is okay, the workflow still appears under my Actions tab.