-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Raise an error on invalid egg fragments #13157
Comments
Hmm, editable VCS installs don't support the direct URL syntax. This means the egg fragment is the only supported way to request an extra for VCS URLs. We'd need to revive #9471 before raising an error. It's probably best to punt this to a later release. |
I think uv already supports the syntax |
I use requirements.txt If I add add optional dependency in egg, it complains about wrong syntax, but allows me to install the requirements.txt If I add add optional dependency as a prefix, it works just fine. No complains. pip version: 25.0.1 |
We deprecated anything that isn't a bare project name in an egg fragment in #11567. It's scheduled for removal in pip 25.0. Let's make this an error.
pip/src/pip/_internal/models/link.py
Lines 459 to 475 in 1452429
cc @woodruffw
The text was updated successfully, but these errors were encountered: