Noticed that 2.25.0 released today, tried to bump ...
# development
c
Noticed that 2.25.0 released today, tried to bump the version for our project. Saw
pip: ERROR: No matching distribution found for pantsbuild.pants==2.25.0
while generate lock files, does it means the full release processes not completed yet?
It was from 2.24.1.
b
Thanks for flagging. Hmmm, it looks like the 'cheeseshop' that references the wheels includes links to 2.25.0: https://wheels.pantsbuild.org/simple/index.html So... unclear what's happening at the moment. Do you use
pants_requirements()
for loading the dependencies?
c
Emmm, didn’t realized that, searched the codebase, there is a BUILD has the content
pants_requirements(name="pants")
under our pants plugin folder, and it’s the only place.
👍 1
I have been following the same upgrade flows for previous upgrades, this is new for this release.
b
Thanks for checking. Definitely seems peculiar. Unfortunately I'm not so familiar with this part of the pants & plugins interactions, and so will have to defer to someone else to get to the bottom of it...
f
I would suggest enabling verbose logging for pip and examine why pip have decided that the 2.25.0 distributions did not match.
(Since pip may have seen the 2.25.0 artifacts, but skipped them for some reason as "non-matching.")
c
It seems the all the versions greater than 2.24.x simply not available on pypi repo according the outputs.
Copy code
Engine traceback:

  in `generate-lockfiles` goal



ProcessExecutionFailure: Process 'Generate lockfile for python-default' failed with exit code 1.

stdout:



stderr:

pid 92556 -> /Users/jing/.cache/pants/named_caches/pex_root/venvs/1/8e94e48c4c953d76b8469551be23921ab4c285e9/dc48377e7e0502f6c32e14003bd443df1f28ddae/bin/python /Users/jing/.cache/pants/named_caches/pex_root/venvs/1/8e94e48c4c953d76b8469551be23921ab4c285e9/dc48377e7e0502f6c32e14003bd443df1f28ddae/pex --disable-pip-version-check --exists-action a --no-input --no-python-version-warning --isolated --log /private/var/folders/6q/sy14_q1n2m3cm5dvwnkhnwpr0000gn/T/pants-sandbox-XUwJmM/.tmp/pex-pip-log.8qbc5t_v/pip.log -q --cache-dir /Users/jing/.cache/pants/named_caches/pex_root/pip/1/24.2/pip_cache download --dest /private/var/folders/6q/sy14_q1n2m3cm5dvwnkhnwpr0000gn/T/pants-sandbox-XUwJmM/.tmp/tmp2tiov956/opt.homebrew.Cellar.python@3.9.3.9.21.Frameworks.Python.framework.Versions.3.9.bin.python3.9 Jinja2 ansible==8.7.0 azure-core azure-data-tables azure-identity azure-storage-blob bitarray==2.5.1 clang-format==19.1.5 clang-tidy==18.1.8 cmake==3.31.4 cmd2==2.4.3 dash dash-ag-grid dash-cytoscape==0.2.0 dash-daq libclang==16.0.6 matplotlib>=3.6.3 netaddr==1.3.0 networkx==3.2.1 ninja==1.11.1 numpy==1.23.4 pandas pantsbuild.pants.testutil==2.25.0 pantsbuild.pants==2.25.0 peakrdl-html==2.10.1 peakrdl-python==0.6.3 peakrdl-uvm==2.3.0 plotly protobuf==4.21.12 pyghmi==1.5.72 pynetbox==7.4.0 pytz==2024.2 pyyaml==6.0 setuptools>39.1.0 simpy==4.0.1 sympy systemrdl-compiler==1.26.1 types-PyYAML types-protobuf --index-url <https://pypi.org/simple/> --find-links <https://wheels.pantsbuild.org/simple> --retries 5 --timeout 15 exited with 1 and STDERR:

pip: ERROR: Ignored the following versions that require a different python version: 10.0.0a1 Requires-Python >=3.10; 10.0.0a2 Requires-Python >=3.10; 10.0.0a3 Requires-Python >=3.10; 10.0.0b1 Requires-Python >=3.10; 10.0.0rc1 Requires-Python >=3.10; 10.0.1 Requires-Python >=3.10; 10.1.0 Requires-Python >=3.10; 10.2.0 Requires-Python >=3.10; 10.3.0 Requires-Python >=3.10; 10.4.0 Requires-Python >=3.10; 10.5.0 Requires-Python >=3.10; 10.6.0 Requires-Python >=3.10; 10.7.0 Requires-Python >=3.10; 11.0.0 Requires-Python >=3.11; 11.0.0a1 Requires-Python >=3.11; 11.0.0a2 Requires-Python >=3.11; 11.0.0b1 Requires-Python >=3.11; 11.0.0b2 Requires-Python >=3.11; 11.0.0rc1 Requires-Python >=3.11; 11.1.0 Requires-Python >=3.11; 11.2.0 Requires-Python >=3.11; 11.3.0 Requires-Python >=3.11; 2.1.0 Requires-Python >=3.10; 2.1.0rc1 Requires-Python >=3.10; 2.1.1 Requires-Python >=3.10; 2.1.2 Requires-Python >=3.10; 2.1.3 Requires-Python >=3.10; 2.2.0 Requires-Python >=3.10; 2.2.0rc1 Requires-Python >=3.10; 2.2.1 Requires-Python >=3.10; 2.2.2 Requires-Python >=3.10; 2.2.3 Requires-Python >=3.10; 2.2.4 Requires-Python >=3.10; 3.10.0 Requires-Python >=3.10; 3.10.0rc1 Requires-Python >=3.10; 3.10.1 Requires-Python >=3.10; 3.3 Requires-Python >=3.10; 3.3rc0 Requires-Python >=3.10; 3.4 Requires-Python >=3.10; 3.4.1 Requires-Python >=3.10; 3.4.2 Requires-Python >=3.10; 3.4rc0 Requires-Python >=3.10; 9.0.1 Requires-Python >=3.10; 9.1.0 Requires-Python >=3.10; 9.10.0 Requires-Python >=3.10; 9.11.0 Requires-Python >=3.10; 9.12.0 Requires-Python >=3.10; 9.13.0 Requires-Python >=3.10; 9.2.0 Requires-Python >=3.10; 9.3.0 Requires-Python >=3.10; 9.4.0 Requires-Python >=3.10; 9.5.1 Requires-Python >=3.10; 9.6.1 Requires-Python >=3.10; 9.7.0 Requires-Python >=3.10; 9.8.0 Requires-Python >=3.10; 9.9.0 Requires-Python >=3.10

pip: ERROR: Could not find a version that satisfies the requirement pantsbuild.pants==2.25.0 (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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0rc6, 2.9.0, 2.9.1rc0, 2.9.1rc1, 2.9.1rc2, 2.9.1, 2.9.2rc0, 2.9.2, 2.10.0.dev0, 2.10.0.dev1, 2.10.0.dev2, 2.10.0.dev3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0rc4, 2.10.0rc5, 2.10.0, 2.10.1rc0, 2.10.1rc1, 2.10.1, 2.11.0.dev0, 2.11.0.dev1, 2.11.0.dev2, 2.11.0.dev3, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0rc3, 2.11.0rc4, 2.11.0rc5, 2.11.0rc6, 2.11.0, 2.11.1rc0, 2.11.1rc1, 2.11.1rc2, 2.11.1rc3, 2.11.1, 2.12.0.dev0, 2.12.0.dev1, 2.12.0.dev2, 2.12.0.dev3, 2.12.0a0, 2.12.0rc0, 2.12.0rc1, 2.12.0rc2, 2.12.0rc3, 2.12.0, 2.12.1rc0, 2.12.1rc1, 2.12.1rc2, 2.12.1rc3, 2.12.1rc4, 2.12.1, 2.13.0.dev0, 2.13.0.dev1, 2.13.0.dev2, 2.13.0.dev3, 2.13.0.dev4, 2.13.0.dev5, 2.13.0a0, 2.13.0a1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0rc3, 2.13.0, 2.13.1rc0, 2.13.1rc1, 2.13.1rc2, 2.13.1, 2.14.0.dev0, 2.14.0.dev1, 2.14.0.dev2, 2.14.0.dev3, 2.14.0.dev4, 2.14.0.dev5, 2.14.0.dev6, 2.14.0a0, 2.14.0a1, 2.14.0rc0, 2.14.0rc1, 2.14.0rc2, 2.14.0rc3, 2.14.0rc4, 2.14.0rc5, 2.14.0, 2.14.1rc0, 2.14.1, 2.14.2rc0, 2.14.2rc1, 2.14.2rc2, 2.14.2, 2.15.0.dev0, 2.15.0.dev1, 2.15.0.dev2, 2.15.0.dev3, 2.15.0.dev4, 2.15.0.dev5, 2.15.0a0, 2.15.0a1, 2.15.0rc0, 2.15.0rc1, 2.15.0rc2, 2.15.0rc3, 2.15.0rc4, 2.15.0rc5, 2.15.0rc6, 2.15.0rc7, 2.15.0, 2.15.1rc0, 2.15.1rc1, 2.15.1rc2, 2.15.1rc3, 2.15.1, 2.15.2rc0, 2.15.2, 2.16.0.dev0, 2.16.0.dev1, 2.16.0.dev2, 2.16.0.dev3, 2.16.0.dev4, 2.16.0.dev5, 2.16.0.dev6, 2.16.0.dev7, 2.16.0a0, 2.16.0a1, 2.16.0rc0, 2.16.0rc1, 2.16.0rc2, 2.16.0rc3, 2.16.0rc4, 2.16.0rc5, 2.16.0rc6, 2.16.0rc7, 2.16.0, 2.16.1rc0, 2.16.1rc3, 2.16.1rc4, 2.16.1, 2.17.0.dev0, 2.17.0.dev1, 2.17.0.dev2, 2.17.0.dev3, 2.17.0.dev4, 2.17.0.dev5, 2.17.0a0, 2.17.0a1, 2.17.0rc0, 2.17.0rc1, 2.17.0rc2, 2.17.0rc3, 2.17.0rc4, 2.17.0rc5, 2.17.0, 2.17.1rc0, 2.17.1rc1, 2.17.1rc2, 2.17.1rc3, 2.17.1, 2.18.0.dev0, 2.18.0.dev1, 2.18.0.dev3, 2.18.0.dev4, 2.18.0.dev5, 2.18.0.dev6, 2.18.0.dev7, 2.18.0a0, 2.18.0rc0, 2.18.0rc1, 2.18.0rc2, 2.18.0rc3, 2.18.0rc4, 2.18.0rc5, 2.18.0, 2.18.1rc0, 2.18.1rc1, 2.18.1, 2.18.2rc0, 2.18.2rc1, 2.18.2rc2, 2.18.2, 2.18.3rc0, 2.18.3, 2.19.0.dev0, 2.19.0.dev1, 2.19.0.dev2, 2.19.0.dev3, 2.19.0.dev4, 2.19.0a0, 2.19.0rc0, 2.19.0rc1, 2.19.0rc2, 2.19.0rc3, 2.19.0rc4, 2.19.0rc5, 2.19.0, 2.19.1rc0, 2.19.1rc1, 2.19.1, 2.19.2rc0, 2.19.2, 2.19.3rc0, 2.19.3rc1, 2.19.3, 2.20.0.dev0, 2.20.0.dev1, 2.20.0.dev2, 2.20.0.dev3, 2.20.0.dev4, 2.20.0.dev5, 2.20.0.dev6, 2.20.0.dev7, 2.20.0a0, 2.20.0rc0, 2.20.0rc1, 2.20.0rc2, 2.20.0rc3, 2.20.0rc4, 2.20.0, 2.20.1rc0, 2.20.1, 2.20.2rc0, 2.20.2, 2.20.3rc1, 2.20.3, 2.20.4rc0, 2.20.4, 2.21.0.dev0, 2.21.0.dev1, 2.21.0.dev2, 2.21.0.dev3, 2.21.0.dev4, 2.21.0.dev5, 2.21.0.dev6, 2.21.0a0, 2.21.0a1, 2.21.0rc0, 2.21.0, 2.21.1rc1, 2.21.1, 2.21.2rc0, 2.21.2rc1, 2.21.2rc2, 2.21.2, 2.22.0.dev0, 2.22.0.dev1, 2.22.0.dev2, 2.22.0.dev3, 2.22.0a0, 2.22.0rc0, 2.22.0rc2, 2.22.0rc3, 2.22.0, 2.22.1rc0, 2.22.1rc1, 2.22.1rc2, 2.22.1rc3, 2.22.1, 2.23.0.dev0, 2.23.0.dev1, 2.23.0.dev2, 2.23.0.dev4, 2.23.0.dev5, 2.23.0.dev6, 2.23.0a0, 2.23.0a1, 2.23.0rc0, 2.23.0rc1, 2.23.0rc2, 2.23.0rc3, 2.23.0, 2.23.1rc0, 2.23.1, 2.23.2rc0, 2.23.2rc1, 2.23.2, 2.24.0.dev0, 2.24.0.dev1, 2.24.0.dev2, 2.24.0.dev3, 2.24.0a0, 2.24.0rc0, 2.24.0rc1, 2.24.0rc2, 2.24.0rc3, 2.24.0, 2.24.1rc0, 2.24.1, 2.24.2rc0, 2.24.2rc1, 2.24.2, 2.24.3rc0)

pip: ERROR: No matching distribution found for pantsbuild.pants==2.25.0
Would it be a platform associated problem? I have M1 Pro with Sequoia.
Or the default Python expected to be 3.11?
For anyone experiencing this problem, the CPython in`interpreter_constraints` needs be updated to 3.11 for 2.25.x. Thanks Huon and tdyas.
b
Ah, yes, the resolve that contains the Pants requirement will need to use 3.11