Hi. Is it possible to use different --extra-index-...
# general
a
Hi. Is it possible to use different --extra-index-url for different resolves. I'd like to use different versions of pytorch in different apps, but the difference between them is sometimes only in the index url. So for example I'd like to use pytorch from https://download.pytorch.org/whl/cpu in resolve_a and https://download.pytorch.org/whl/cu116 in resolve_b
e
It is not. See here for the same feature request for different reasons: https://github.com/pantsbuild/pants/issues/17565 See here for the same exact use case, Pytorch is a problem we don't have a good way of dealing with right now: https://pantsbuild.slack.com/archives/C046T6T9U/p1663253653590359
a
Thanks for responding. It's a shame but it seems like pytorch is a problem for us all 😓
e
https://github.com/pantsbuild/pants/issues/17565 will definitely solve it, we just need someone in the community to find the time and step up and implement it.