pants
pants copied to clipboard
Built-in lockfiles won't work with Python 3.13, due to pip version
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
Potentially need to do #21103 first, to smoothly drop support for 3.7.
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
.