KEMBAR78
no-issue: Update CI to support free-threading by corona10 · Pull Request #189 · psf/pyperf · GitHub
Skip to content

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

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