pyperf icon indicating copy to clipboard operation
pyperf copied to clipboard

no-issue: Update CI to support free-threading

Open corona10 opened this issue 1 year ago • 1 comments

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

corona10 avatar May 13 '24 03:05 corona10

cc @hugovk @vstinner suggested to seperate the PR.

corona10 avatar May 13 '24 03:05 corona10

@vstinner Okay it works!

corona10 avatar May 16 '24 20:05 corona10

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?

vstinner avatar May 17 '24 10:05 vstinner

@vstinner Done!

corona10 avatar May 17 '24 11:05 corona10

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 avatar May 17 '24 12:05 vstinner

Good, it now works as expected:

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

vstinner avatar May 17 '24 13:05 vstinner