curved-television-6568
01/10/2022, 11:48 AMpex3
and I wonder if this is expected/correct behavior: đź§µ$ pex3 lock create pantsbuild.pants | jq '.locked_resolves[] | .locked_requirements[] | select(.project_name == "setuptools")'
{
"artifacts": [
{
"algorithm": "sha256",
"hash": "60d78588f15b048f86e35cdab73003d8b21dd45108ee61a6693881a427f22073",
"url": "<https://files.pythonhosted.org/packages/4b/b9/71687c5d2034c863db1db2e0704f5e27581ff3cb44d7f293968c5e08ceb3/setuptools-57.5.0-py3-none-any.whl>"
}
],
"project_name": "setuptools",
"requirement": "setuptools<58.0,>=56.0.0",
"version": "57.5",
"via": [
"pantsbuild.pants"
]
}
{
"artifacts": [
{
"algorithm": "sha256",
"hash": "68eb94073fc486091447fcb0501efd6560a0e5a1839ba249e5ff3c4c93f05f90",
"url": "<https://files.pythonhosted.org/packages/eb/53/0dd4c7960579da8be13fa9b2c2591643d37f323e3d79f8bc8b1b6c8e6217/setuptools-60.5.0-py3-none-any.whl>"
}
],
"project_name": "setuptools",
"requirement": "setuptools>=40.8.0",
"version": "60.5",
"via": []
}
pex3 lock export
gives me a constraints file with two entries for setuptools in it, which feels… not right. Am I mistaken here?
setuptools==57.5 # setuptools<58.0,>=56.0.0 via -> pantsbuild.pants via -> -r 3rdparty/requirements.txt (line 2) \
--hash:sha256=60d78588f15b048f86e35cdab73003d8b21dd45108ee61a6693881a427f22073 # <https://files.pythonhosted.org/packages/4b/b9/71687c5d2034c863db1db2e0704f5e27581ff3cb44d7f293968c5e08ceb3/setuptools-57.5.0-py3-none-any.whl>
setuptools==60.5 # setuptools>=40.8.0 \
--hash:sha256=68eb94073fc486091447fcb0501efd6560a0e5a1839ba249e5ff3c4c93f05f90 # <https://files.pythonhosted.org/packages/eb/53/0dd4c7960579da8be13fa9b2c2591643d37f323e3d79f8bc8b1b6c8e6217/setuptools-60.5.0-py3-none-any.whl>
$ pex3 --version
2.1.51
… I’ll update and try again…2.1.61
as well..happy-kitchen-89482
01/10/2022, 2:07 PMenough-analyst-54434
01/10/2022, 2:42 PMpex3 --help
), but I do appreciate bug reports (GH issues ideally).curved-television-6568
01/10/2022, 3:01 PMenough-analyst-54434
01/10/2022, 3:47 PM