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

no-issue: Update CI to support free-threading #189

Merged
merged 5 commits into from
May 17, 2024

Conversation

corona10
Copy link
Member

@corona10 corona10 requested a review from vstinner May 13, 2024 03:50
@corona10
Copy link
Member Author

cc @hugovk
@vstinner suggested to seperate the PR.

include:
- os: ubuntu-latest
python: 'pypy3.10'
build: ''
Copy link
Member

Choose a reason for hiding this comment

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

Is it needed to repeat an empty build for each entry?

@corona10 corona10 requested a review from vstinner May 16, 2024 20:43
@corona10
Copy link
Member Author

@vstinner Okay it works!

@vstinner
Copy link
Member

Would it be possible to add a "Display Python Version" step to display python -VV, and to check if it's a free threading build or not?

@corona10
Copy link
Member Author

@vstinner Done!

@vstinner
Copy link
Member

The Free Threading CI says:

Run python -VV
Python 3.13.0b1+ (main, May 17 2024, 08:49:18) [GCC 11.4.0]

I'm not convinced that it's the expected binary. We should also log the Free Threading info.

Co-authored-by: Victor Stinner <vstinner@python.org>
@vstinner
Copy link
Member

Good, it now works as expected:

Python 3.13.0b1+ (main, May 17 2024, 08:49:18) [GCC 11.4.0]
Free threading? Yes

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM

@corona10 corona10 merged commit 75945f4 into psf:main May 17, 2024
13 checks passed
@corona10 corona10 deleted the free-threaded-build branch May 17, 2024 19:10
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