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

Built-in lockfiles won't work with Python 3.13, due to pip version #20852

Open
huonw opened this issue Apr 27, 2024 · 0 comments
Open

Built-in lockfiles won't work with Python 3.13, due to pip version #20852

huonw opened this issue Apr 27, 2024 · 0 comments
Labels
backend: Python Python backend-related issues bug

Comments

@huonw
Copy link
Contributor

huonw commented Apr 27, 2024

Describe the bug

Similar to #20354, our builtin lockfiles at the time of writing may not work with Python 3.13. They use pip_version: "24.0", which doesn't work with python 3.13 due to pypa/pip#12462. Once there's a pip version with that fix, and a PEX version with that pip version, we should upgrade and regenerate the lockfiles to be ready for Python 3.13 promptly.

Pants version

#20851

OS
N/A

Additional info
#20851

@huonw huonw added bug backend: Python Python backend-related issues labels Apr 27, 2024
huonw added a commit that referenced this issue Apr 27, 2024
This adds Python 3.13 to the default interpreter universe, so that we're
more ready to hit the ground running when it is eventually released.

https://peps.python.org/pep-0719/ suggests the plan is 3.13.0 stable
release on 2024-10-01. This PR will flow into Pants 2.22.0. We won't be
releasing 2.22.0 before 2024-07-09 (12 weeks after 2.20.0, on
2024-04-16), so there's a bit of slack even if 2.21 and 2.22 take longer
than 6 weeks to get out the door.

It looks like we won't be perfectly ready, because there's a similar
lockfile issue to #20354 for Python 3.12: our lockfiles use pip 24.0
which apparently doesn't support Python 3.13 (needs
pypa/pip#12462). Thus, we'll need to regenerate
our lockfiles once there's a pex release with a pip release with
pypa/pip#12462. I've filed
#20852 to track this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: Python Python backend-related issues bug
Projects
None yet
Development

No branches or pull requests

1 participant