-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override sub dependency with my own #436
Comments
This looks like the same issue as in #991 where poetry doesn't seem to have any idea what the version provided by a git repo is. The only workaround I've found so far (and it feels like a disappointing one to me) is to fork the package that depends on the git source. I've been forced to fork the problematic packages, add a |
Tracked in #991. Closing this issue. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
My app is depending on the
wsproto
library.wsproto
itself is depending onh11 >=0.7.0,<0.8.0
.It happens that h11 has a bug which I fixed; the
h11
project has merged this but not yet published an update.I'd like to therefore install the master branch of h11. I am doing this:
However, it seems that my "git overrride" is ignored:
If I
poetry remove wsproto
, it installs the correct git dependency and shows as the versionh11==0.8.1+dev
.At the very least, I would expect here to be conflict: if wsproto requires a version <0.8, but I require a specific git install with a version >0.8, this should be unresolvable.
Ideally, I'd like a way to to ignore the overlay restrictive wsproto version range and install the version I tell it to.
The text was updated successfully, but these errors were encountered: