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
Note: I initially encountered this when using Homebrew's pipgrip but I have confirmed that the issue is present pipgrip from PyPI as well. The logs I posted above are from running pipgrip from PyPI in a virtual environment.
When running from Homebrew pipgrip the issue appears to be the same (librsync.h is not found) but with gcc instead of clang in the message. I can provide the output from running Homebrew's pipgrip as well if that would be helpful.
The text was updated successfully, but these errors were encountered:
This is an example of a library that depends on one (or more) non-python dependencies (https://github.com/henrysher/duplicity). There are more cases like that, where getting the lib to pip-install is quite the hassle. I'm afraid this is not an easy case to solve, as the user ideally has prior knowledge of this and makes sure those non-python dependencies are installed beforehand.
I've considered before to use the pypi api directly to get requires_dist, but that might pose problems with custom index-urls, and I remember reading somewhere you can't count on it being populated (correctly). Might be worth a shot though for edge cases like this...
In the meantime, I don't think there is a quick fix for this (like going hacky and checking if there's a duplicity Formula with some dependencies or so).
That makes sense. From Homebrew's point of view, this isn't a big deal. Homebrew handles the error and displays a nicer message prompting the user to work manually instead. I guess in an ideal world, situations like these could be handled differently but I don't see a need to go down this path (at least from our point of view).
If I have time, I might be able to look into this more and open a PR to add some sort of checking that would get some of the edge cases, but I don't know when I'll have time to get around to it.
Hi there! I've got another bug report from
pipgrip
on Homebrew.What you were trying to do (and why)
Find recursive dependencies for
duplicity
What happened (including command output)
Failed when collecting
duplicity==0.8.14
Command output
What you expected to happen
Show recursive dependencies for
duplicity
Step-by-step reproduction instructions
Note: I initially encountered this when using Homebrew's
pipgrip
but I have confirmed that the issue is presentpipgrip
from PyPI as well. The logs I posted above are from runningpipgrip
from PyPI in a virtual environment.When running from Homebrew
pipgrip
the issue appears to be the same (librsync.h
is not found) but withgcc
instead ofclang
in the message. I can provide the output from running Homebrew'spipgrip
as well if that would be helpful.The text was updated successfully, but these errors were encountered: