cool-easter-32542
03/12/2025, 5:08 AMpants.toml.
[GLOBAL]
pants_version = "2.24.2"
[python]
interpreter_constraints = ["==3.9.*"]
default_resolve = "python-default"
enable_resolves = true
Recently, we want to change to Python 3.10 by changing interpreter_constraints to ==3.10.*.
[GLOBAL]
pants_version = "2.24.2"
[python]
interpreter_constraints = ["==3.10.*"]
default_resolve = "python-default"
enable_resolves = true
However, there are requirement errors when running pants generate-lockfiles ::. Seems like the dependency for pantsbuild.pants package can't be found. Not sure what causes the problem. It has been working fine with Python 3.9. Did I miss configure? Or something else? Please help with some clues. Thanks!!!
ProcessExecutionFailure: Process 'Generate lockfile for python-default' failed with exit code 1.
stdout:
pip: ERROR: Ignored the following versions that require a different python version: 2.12.0 Requires-Python >=3.7,<3.10; 2.12.0.dev2 Requires-Python >=3.7,<3.10; 2.12.0.dev3 Requires-Python >=3.7,<3.10; 2.12.0a0 Requires-Python >=3.7,<3.10; 2.12.0rc0 Requires-Python >=3.7,<3.10; 2.12.0rc1 Requires-Python >=3.7,<3.10; 2.12.0rc2 Requires-Python >=3.7,<3.10; 2.12.0rc3 Requires-Python >=3.7,<3.10; 2.12.1 Requires-Python >=3.7,<3.10; 2.12.1rc0 Requires-Python >=3.7,<3.10; 2.12.1rc1 Requires-Python >=3.7,<3.10; 2.12.1rc2 Requires-Python >=3.7,<3.10; 2.12.1rc3 Requires-Python >=3.7,<3.10; 2.12.1rc4 Requires-Python >=3.7,<3.10; 2.13.0 Requires-Python >=3.7,<3.10; 2.13.0.dev0 Requires-Python >=3.7,<3.10; 2.13.0.dev1 Requires-Python >=3.7,<3.10; 2.13.0.dev2 Requires-Python >=3.7,<3.10; 2.13.0.dev3 Requires-Python >=3.7,<3.10; 2.13.0.dev4 Requires-Python >=3.7,<3.10; 2.13.0.dev5 Requires-Python >=3.7,<3.10; 2.13.0a0 Requires-Python >=3.7,<3.10; 2.13.0a1 Requires-Python >=3.7,<3.10; 2.13.0rc0 Requires-Python >=3.7,<3.10; 2.13.0rc1 Requires-Python >=3.7,<3.10; 2.13.0rc2 Requires-Python >=3.7,<3.10; 2.13.0rc3 Requires-Python >=3.7,<3.10; 2.13.1 Requires-Python >=3.7,<3.10; 2.13.1rc0 Requires-Python >=3.7,<3.10; 2.13.1rc1 Requires-Python >=3.7,<3.10; 2.13.1rc2 Requires-Python >=3.7,<3.10; 2.14.0 Requires-Python >=3.7,<3.10; 2.14.0.dev0 Requires-Python >=3.7,<3.10; 2.14.0.dev1 Requires-Python >=3.7,<3.10; 2.14.0.dev2 Requires-Python >=3.7,<3.10; 2.14.0.dev3 Requires-Python >=3.7,<3.10; 2.14.0.dev4 Requires-Python >=3.7,<3.10; 2.14.0.dev5 Requires-Python >=3.7,<3.10; 2.14.0.dev6 Requires-Python >=3.7,<3.10; 2.14.0a0 Requires-Python >=3.7,<3.10; 2.14.0a1 Requires-Python >=3.7,<3.10; 2.14.0rc0 Requires-Python >=3.7,<3.10; 2.14.0rc1 Requires-Python >=3.7,<3.10; 2.14.0rc2 Requires-Python >=3.7,<3.10; 2.14.0rc3 Requires-Python >=3.7,<3.10; 2.14.0rc4 Requires-Python >=3.7,<3.10; 2.14.0rc5 Requires-Python >=3.7,<3.10; 2.14.1 Requires-Python >=3.7,<3.10; 2.14.1rc0 Requires-Python >=3.7,<3.10; 2.14.2 Requires-Python >=3.7,<3.10; 2.14.2rc0 Requires-Python >=3.7,<3.10; 2.14.2rc1 Requires-Python >=3.7,<3.10; 2.14.2rc2 Requires-Python >=3.7,<3.10; 2.15.0 Requires-Python >=3.7,<3.10; 2.15.0.dev0 Requires-Python >=3.7,<3.10; 2.15.0.dev1 Requires-Python >=3.7,<3.10; 2.15.0.dev2 Requires-Python >=3.7,<3.10; 2.15.0.dev3 Requires-Python >=3.7,<3.10; 2.15.0.dev4 Requires-Python >=3.7,<3.10; 2.15.0.dev5 Requires-Python >=3.7,<3.10; 2.15.0a0 Requires-Python >=3.7,<3.10; 2.15.0a1 Requires-Python >=3.7,<3.10; 2.15.0rc0 Requires-Python >=3.7,<3.10; 2.15.0rc1 Requires-Python >=3.7,<3.10; 2.15.0rc2 Requires-Python >=3.7,<3.10; 2.15.0rc3 Requires-Python >=3.7,<3.10; 2.15.0rc4 Requires-Python >=3.7,<3.10; 2.15.0rc5 Requires-Python >=3.7,<3.10; 2.15.0rc6 Requires-Python >=3.7,<3.10; 2.15.0rc7 Requires-Python >=3.7,<3.10; 2.15.1 Requires-Python >=3.7,<3.10; 2.15.1rc0 Requires-Python >=3.7,<3.10; 2.15.1rc1 Requires-Python >=3.7,<3.10; 2.15.1rc2 Requires-Python >=3.7,<3.10; 2.15.1rc3 Requires-Python >=3.7,<3.10; 2.15.2 Requires-Python >=3.7,<3.10; 2.15.2rc0 Requires-Python >=3.7,<3.10; 2.16.0 Requires-Python >=3.7,<3.10; 2.16.0.dev0 Requires-Python >=3.7,<3.10; 2.16.0.dev1 Requires-Python >=3.7,<3.10; 2.16.0.dev2 Requires-Python >=3.7,<3.10; 2.16.0.dev3 Requires-Python >=3.7,<3.10; 2.16.0.dev4 Requires-Python >=3.7,<3.10; 2.16.0.dev5 Requires-Python >=3.7,<3.10; 2.16.0.dev6 Requires-Python >=3.7,<3.10; 2.16.0.dev7 Requires-Python >=3.7,<3.10; 2.16.0a0 Requires-Python >=3.7,<3.10; 2.16.0a1 Requires-Python >=3.7,<3.10; 2.16.0rc0 Requires-Python >=3.7,<3.10; 2.16.0rc1 Requires-Python >=3.7,<3.10; 2.16.0rc2 Requires-Python >=3.7,<3.10; 2.16.0rc3 Requires-Python >=3.7,<3.10; 2.16.0rc4 Requires-Python >=3.7,<3.10; 2.16.0rc5 Requires-Python >=3.7,<3.10; 2.16.0rc6 Requires-Python >=3.7,<3.10; 2.16.0rc7 Requires-Python >=3.7,<3.10; 2.16.1 Requires-Python >=3.7,<3.10; 2.16.1rc0 Requires-Python >=3.7,<3.10; 2.16.1rc3 Requires-Python >=3.7,<3.10; 2.16.1rc4 Requires-Python >=3.7,<3.10; 2.17.0 Requires-Python >=3.7,<3.10; 2.17.0.dev0 Requires-Python >=3.7,<3.10; 2.17.0.dev1 Requires-Python >=3.7,<3.10; 2.17.0.dev2 Requires-Python >=3.7,<3.10; 2.17.0.dev3 Requires-Python >=3.7,<3.10; 2.17.0.dev4 Requires-Python >=3.7,<3.10; 2.17.0.dev5 Requires-Python >=3.7,<3.10; 2.17.0a1 Requires-Python >=3.7,<3.10; 2.17.0rc0 Requires-Python >=3.7,<3.10; 2.17.0rc1 Requires-Python >=3.7,<3.10; 2.17.0rc2 Requires-Python >=3.7,<3.10; 2.17.0rc3 Requires-Python >=3.7,<3.10; 2.17.0rc4 Requires-Python >=3.7,<3.10; 2.17.0rc5 Requires-Python >=3.7,<3.10; 2.17.1 Requires-Python >=3.7,<3.10; 2.17.1rc0 Requires-Python >=3.7,<3.10; 2.17.1rc1 Requires-Python >=3.7,<3.10; 2.17.1rc2 Requires-Python >=3.7,<3.10; 2.17.1rc3 Requires-Python >=3.7,<3.10; 2.18.0.dev0 Requires-Python ==3.9.*; 2.18.0.dev1 Requires-Python ==3.9.*; 2.18.0.dev3 Requires-Python ==3.9.*; 2.18.0.dev4 Requires-Python ==3.9.*; 2.18.0.dev5 Requires-Python ==3.9.*; 2.18.0.dev6 Requires-Python ==3.9.*; 2.18.0.dev7 Requires-Python ==3.9.*; 2.18.0a0 Requires-Python ==3.9.*
pip: ERROR: Could not find a version that satisfies the requirement pantsbuild.pants==2.24.2 (from versions: 0.0.17, 0.0.18, 0.0.20, 0.0.21, 0.0.22, 0.0.23, 0.0.24, 0.0.25, 0.0.26, 0.0.27, 0.0.28, 0.0.29, 0.0.30, 0.0.31, 0.0.32, 0.0.33, 0.0.34, 0.0.35, 0.0.36, 0.0.37, 0.0.38, 0.0.39, 0.0.40, 0.0.41, 0.0.42, 0.0.43, 0.0.44, 0.0.45, 0.0.46, 0.0.47, 0.0.48, 0.0.49, 0.0.50, 0.0.51, 0.0.52, 0.0.53, 0.0.54, 0.0.55, 0.0.56, 0.0.57, 0.0.58, 0.0.59, 0.0.60, 0.0.61, 0.0.62, 0.0.63, 0.0.64, 0.0.65, 0.0.66, 0.0.67, 0.0.68, 0.0.69, 0.0.70, 0.0.71, 0.0.72, 0.0.73, 0.0.74, 0.0.75, 0.0.76, 0.0.77, 0.0.79, 0.0.80, 0.0.81, 0.0.82, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.15.0, 1.16.0, 1.17.0, 1.18.0, 1.19.0, 1.20.0, 1.21.0, 1.22.0, 1.23.0, 1.24.0, 1.25.0, 1.26.0, 1.27.0, 1.28.0)
pip: ERROR: No matching distribution found for pantsbuild.pants==2.24.2
More info, scie-pants has been updated to the latest
$ PANTS_BOOTSTRAP_VERSION=report pants
0.12.3
pantsbuild/pants