pants icon indicating copy to clipboard operation
pants copied to clipboard

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

Open huonw opened this issue 9 months ago • 2 comments

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 https://github.com/pypa/pip/pull/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

https://github.com/pantsbuild/pants/pull/20851

OS N/A

Additional info https://github.com/pantsbuild/pants/pull/20851

huonw avatar Apr 27 '24 05:04 huonw

Potentially need to do #21103 first, to smoothly drop support for 3.7.

huonw avatar Jun 24 '24 01:06 huonw

https://github.com/pypa/pip/commit/0807480b4815426e64bfd6484241e006a243b2eb

So I think the version of pip needed is 24.1? All the lockfiles are now generated with 24.2 now so I think this is mostly set. For python 3.13 out of the box completeness I suppose we should bump the default pip_version.

image

cburroughs avatar Sep 12 '24 13:09 cburroughs