psf / pyperf

Toolkit to run Python benchmarks
http://pyperf.readthedocs.io/
MIT License
797 stars 78 forks source link

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

Closed corona10 closed 4 months ago

corona10 commented 4 months ago

ref:https://github.com/psf/pyperf/pull/188/files#r1597707959

corona10 commented 4 months ago

cc @hugovk @vstinner suggested to seperate the PR.

corona10 commented 4 months ago

@vstinner Okay it works!

vstinner commented 4 months ago

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 commented 4 months ago

@vstinner Done!

vstinner commented 4 months ago

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.

vstinner commented 4 months ago

Good, it now works as expected:

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