-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
VCS editable regresses to using deprecated egg=
syntax
#5974
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
Comments
I don't see where the pipenv utils would be using the old format for non-edtiable; if it was editable: when I took this deprecation warning up originally, it appears that the new format doesn't work for editable. |
I would agree that the support for this is currently confusing, see e.g. pypa/pip#11676 (comment) and related links. It's not clear to me what the pip devs intend to do. That being said, I actually am not sure if the editable requirement is even needed for most VCS installs, I think this is possibly a relic of old pipenv docs that "suggested" doing this.
Ok, I had a look here, I think the issue was when running
will output at the end:
subsequent I'm not sure if this is an issue, tbh, even though I would argue it's unexpected, so I'm happy to close. |
I wasn't sure of that either when I did the refactor away from requirementslib, but it turns out it affects which directory in the virtualenv it gets installed into, and some users have expectations around that. Sounds like the lock file retains a prior editable setting even if it was removed in subsequent lock? If so that sounds like an edge case we should clean up |
Issue description
This is basically the same issue noted here #5626, it seems to be have been reintroduced by #5928.
Pipfile:
The easiest way to see this is, after lock, the older pipenv returns the expected new syntax:
The newest version does not:
The newer version has the deprecated warnings, as well, that have now returned, e.g.:
EDIT:
As a follow-up, I should note, also, that without editable, it also generates a deprecation warning on lock:
And then lock:
The text was updated successfully, but these errors were encountered: