quaint-telephone-89068
01/27/2023, 3:08 PM[python]
pip_version = "22.3"
[pyoxidizer]
interpreter_constraints = ["CPython==3.9.*"]
But when I poke in the sandbox I see
$ /tmp/pants-sandbox-xKFXVz/.cache/pyoxidizer/python_distributions/python.1c490d71269e/python/install/bin/python3.9 -m pip --version
pip 21.2.4 from /tmp/pants-sandbox-xKFXVz/.cache/pyoxidizer/python_distributions/python.1c490d71269e/python/install/lib/python3.9/site-packages/pip (python 3.9)
Pants version
2.16.0.dev5
OS
Linux
Additional info
I tripped on this because after it was running for ~20 minutes (which is probably longer than it takes to compile CPython) so I decided to figure our what ./pants package was doing, and it turned out to be pip pegging a core:
ecsb 17442 94.3 0.3 138260 121068 ? R 09:30 30:52 /tmp/pants-sandbox-xKFXVz/.cache/pyoxidizer/python_distributions/python.1c490d71269e/python/install/bin/python3.9 -m pip --disable-pip-version-check install --target /tmp/pyoxidizer-pip-installXrTk0h/install feast_demo-0.0.1-py3-none-any.whl
My naive expectation was that the python.pip_version setting would be used. I suppose there might be a case where a pyoxidizer.pip_version settings might be needed. Presumably tangled up with #14619 and #14734
pantsbuild/pants