Using Pants `2.10` , does `generate-lockfiles` sup...
# general
c
Using Pants
2.10
, does
generate-lockfiles
support PEP 440 direct references?
1
Further, it seems
generate-lockfiles
does not seem to honor
[python-repos].indexes.add
improved support is coming in 2.11.x via the pex-native lockfile format
c
it doesn't seem to be honoring the
[python-repos].indexes.add
config in either
2.10.0
or
2.11.0rc3
w
in 2.11.x you’d need to switch to the pex lockfile generator
c
I did
I'm actually seeing the
--extra-index-url
flag in the pex command, but it's still not finding the package 😕
w
ah… and this was a repository that you have used before successfully?
c
it was working as a PEP 440 direct requirement in a requirements.txt in pants
2.2
, I'm in the process of trying to get us on a more recent version of pants
it also resolves properly when using
pip
and
--extra-index-url
directly
w
do your interpreter constraints require it for a wider range perhaps?
it might be worth filing an issue with more context… i’m not familiar with PEP 440 style
c
🤦‍♂️it was a typo in the url...
haha sorry to bug you with questions 😬
w
heh, s’all good. i’m saved by the bell
h
It's definitely possible that there are more bugs in pex lock file support. We've had a month of people dogfooding but python packaging is vast. So feedback is super appreciated!