You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can work around it by adding pyparsing<3 to the requirements. But I don't understand why I need to be doing this ritual dance. As far as I can tell:
I don't need pyparsing and I'd really rather not know what it is!
one of my dependency packages (call it X) requires pyparsing, which is at version 3.0.6 currently, this is cheerfully pulled in
another dependency package (call it Y) requires packaging, which is also pulled in, but it has a specific pyparsing<3 dependency. So it says sorry, I can't deal with this shit
if I explicitly add pyparsing<3 to my dependencies, both X and Y are happy.
But why do I need to worry about the specific version of a dependency of a dependency? Shouldn't pip be able to work out this solution automatically? Or am I doing something wrong here?
The text was updated successfully, but these errors were encountered:
Thanks @Mulan-94, that put me on the right track... but actually, turns out pip install -U pip setuptools is the answer, which I really ought to have known by now! So it's "Oleg brain bug" I guess...
wanted to say the same thing as @Mulan-94 , recent pip comes with a stricter dep solver, which breaks things that worked before. Maybe the latest latest pip has an even better dep solver that solves your issue.
@gijzelaerr @Athanaseus advice needed. I can't understand if this is an Oleg brain bug or a pip bug, or just normal life.
My current dev branch (and master, for all I know) fails to
pip install -e
. The error occurs when installing https://github.com/ratt-ru/radiopadre/blob/b1.2.x/requirements.txt:I can work around it by adding
pyparsing<3
to the requirements. But I don't understand why I need to be doing this ritual dance. As far as I can tell:I don't need
pyparsing
and I'd really rather not know what it is!one of my dependency packages (call it X) requires
pyparsing
, which is at version 3.0.6 currently, this is cheerfully pulled inanother dependency package (call it Y) requires
packaging
, which is also pulled in, but it has a specificpyparsing<3
dependency. So it says sorry, I can't deal with this shitif I explicitly add
pyparsing<3
to my dependencies, both X and Y are happy.But why do I need to worry about the specific version of a dependency of a dependency? Shouldn't pip be able to work out this solution automatically? Or am I doing something wrong here?
The text was updated successfully, but these errors were encountered: