big-fall-51153
02/15/2023, 5:37 PMgenerate-lockfiles
on a specific package publicly available via pypi (lexid
) - I'm trying to figure out how to debug this and not having much luck. I searched slack history and other times this has come up has been around private packages, so this seems different. I have a repo up with an isolated minimal test case https://github.com/rhysyngsun/pants-lexid-test, but the short of it is python_requirement(requirements=["lexid"])
is enough to trigger it. I'll throw the stacktrace I'm getting in a threaded response to this message.pip
libraryenough-analyst-54434
02/15/2023, 6:09 PMpypy27
wheel tags that trip up some patching of Pip that Pex uses to perform locks: https://pypi.org/project/lexid/2020.1003/#historybig-fall-51153
02/15/2023, 6:12 PMlexid==2021.1006
seem to helpenough-analyst-54434
02/15/2023, 6:13 PMlexid @ git+<https://github.com/mbarkhau/lexid@1334ace84f67f59d93a96b9bf0a4953fb7a15da6>
pants.toml
config to try out the fix in your current Pants version is:
[pex-cli]
version = "v2.1.123"
known_versions = [
"v2.1.123|linux_arm64|3a2cba02946eb8859393906673bb56ecf6ebee72961bc8f3ca1ae754493733c6|4076395",
"v2.1.123|linux_x86_64|3a2cba02946eb8859393906673bb56ecf6ebee72961bc8f3ca1ae754493733c6|4076395",
"v2.1.123|macos_arm64|3a2cba02946eb8859393906673bb56ecf6ebee72961bc8f3ca1ae754493733c6|4076395",
"v2.1.123|macos_x86_64|3a2cba02946eb8859393906673bb56ecf6ebee72961bc8f3ca1ae754493733c6|4076395",
]
Pants 2.16.x is being upgraded to Pex 2.1.123 here: https://github.com/pantsbuild/pants/pull/18341big-fall-51153
02/23/2023, 2:59 PMenough-analyst-54434
02/23/2023, 3:10 PMbig-fall-51153
02/23/2023, 3:11 PM