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

ci: swap .python-version file for explicit versions in actions yml #4462

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

davidhewitt
Copy link
Member

This PR removes the .python-version file in the repo root and adds explicit versions to CI YAML.

This is for two reasons:

  1. I was discussing this change with @ngoldbaum anyway, as the .python-version can mess with pyenv and make it harder to test different Python versions if that's your tool of choice.
  2. The valgrind job has a new failure on CPython 3.12.5 which might be an upstream issue (needs investigating / reporting); by pinning to 3.12.4 in the short term we can unblock CI.

@davidhewitt davidhewitt added CI-skip-changelog Skip checking changelog entry CI-build-full labels Aug 21, 2024
Copy link

codspeed-hq bot commented Aug 21, 2024

CodSpeed Performance Report

Merging #4462 will improve performances by 17.36%

Comparing davidhewitt:python-version-explicit (f1a1f38) with main (43110ef)

Summary

⚡ 1 improvements
✅ 76 untouched benchmarks

Benchmarks breakdown

Benchmark main davidhewitt:python-version-explicit Change
bytes_new_small 394.4 ns 336.1 ns +17.36%

@davidhewitt
Copy link
Member Author

Will merge immediately to unblock CI.

@davidhewitt davidhewitt added this pull request to the merge queue Aug 21, 2024
Merged via the queue into PyO3:main with commit eac59bc Aug 21, 2024
85 checks passed
@davidhewitt davidhewitt deleted the python-version-explicit branch August 21, 2024 09:06
davidhewitt added a commit that referenced this pull request Sep 13, 2024
…4462)

* ci: swap .python-version file for explicit versions in actions yml

* pin valgrind job to 3.12.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-build-full CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant