-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Failed parsing requirement error for local dependency #5307
Comments
@mstdokumaci I see what you mean about this example, it may be a new requirementslib issue--however, if you add
|
I may have found where I caused the bug in |
There is an issue with one of the test cases if I simply revert my change, but I've added a check if the |
pipenv, version 2022.8.30 has been released. |
https://github.com/pypa/pipenv/releases/tag/v2022.8.31 has broken it again. |
@mstdokumaci Can you clarify, was it working in |
@matteius this time the error is:
on local dependencies.
|
@mstdokumaci Can you share what the Pipfile and Pipfile.lcok looks for for the requirement that is failing to install? Does it have hashes in the lock file or no? I wonder if there is an edge case on this optimization where your editable install is getting included with the standard install dependencies phase. Is it not marked Would love to sort this out, but I am lacking just the right details to know how to fix it. |
@mstdokumaci I think this change will solve the issue you are seeing -- are you able to check your issue against this branch? #5320 |
I have already fixed the version to 2022.8.30 in all dockerfiles where we install pipenv. By the looks, #5320 seems to fix it. But it will be much easier for me to validate by the next release. |
Release https://github.com/pypa/pipenv/releases/tag/v2022.8.24 introduces a bug about resolving local dependencies with a relative path.
Our setup has a local dependency described as
{path = "./shared", extras = ["models", "auth0"]}
in Pipfile.pipenv install
throws error:pipenv.vendor.requirementslib.exceptions.RequirementError: Failed parsing requirement from './shared#egg='
reverting to the previous release https://github.com/pypa/pipenv/releases/tag/v2022.8.19 fixes the issue for us.
The text was updated successfully, but these errors were encountered: