Skip to content
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

Fix bug with local file installs that are not marked editable = "true" #342

Merged
merged 4 commits into from
Aug 29, 2022

Conversation

matteius
Copy link
Collaborator

@matteius matteius commented Aug 29, 2022

Originally made this change because after dropping pip-shims the url encoding changed for the egg fragments and was missing for the URLs. However this pipenv issue cropped up this morning: pypa/pipenv#5307

It appears that if the user doesn't specify editable = "true" we were falling into thinking it was a URL with a fragment.

@matteius
Copy link
Collaborator Author

matteius commented Aug 29, 2022

There is a pipenv test that fails without this change, so simply reverting it probably isn't the answer I wanted.

[gw3] [ 88%] FAILED tests/unit/test_utils.py::test_convert_deps_to_pip[deps8-https://github.com/Rapptz/discord.py/archive/async.zip#egg=[voice]]
tests/unit/test_utils.py::test_convert_deps_to_pip[deps9-git+https://github.com/requests/requests.git@master#egg=requests[security]]

@matteius matteius changed the title Remove code I added during the requirementslib refactor away from pip-shims. Fix bug with local file installs that are not marked editable = "true" Aug 29, 2022
@matteius matteius merged commit fe2e4c4 into main Aug 29, 2022
@matteius matteius deleted the fix-local-editable branch August 29, 2022 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants