(Putting aside the question of why pants didn't in...
# general
f
(Putting aside the question of why pants didn't infer the dependency.)
b
Was dependency inference at play? Seems like the issues stem from values provided in BUILD files? Unless you mean the
torch -. setuptools
issue, which is really just a prolific problem in Python packages, where they assume
setuptools
exists in every Python environment and so don't declare the dep
f
Probably the latter. Which yeah is not a Pants dep inference problem per se.
e
It's the latter for the bits in
overrides
. The one that threw me was that something in the past referred to
pkg_resources
but didn't pull in
setuptools
... but that was quite a while ago (these are legacy BUILD files by now!) I'll try removing that line and seeing if it's still necessary.
b
I love Python, but packaging is just so broken 😐
e
I did remove the line and things seeeeem to be going okay, so perhaps whatever required it was fixed some time in the past 🙂
1