-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
Tarball URL erased when compiled #1518
Comments
Ok, I'm seeing inconsistent behavior. In my full actual requirements file, it's dropping the URL. But then copying it to a test file, I got it to drop the extras. |
So what I can easily replicate in tests is dropping the extras:
But what I'm struggling to replicate is the original behavior where it drops the URL and keeps the extras. |
Hi @AstraLuma , I think #1519 fixes this, but would you check too? |
@richafrank, no, it still drops the extras (like in the first comment). It stopped dropping the URL when I reduced the dependencies (legacy project I'm doing some clean up on). |
I have some hints:
|
Let me know if you disagree, but I think there are a two separate things going on here:
Notice that Regarding the URL requirement's formatting, it looks like the grammar in https://www.python.org/dev/peps/pep-0508/ supports extras, if we want to add them. The test in https://github.com/jazzband/pip-tools/pull/1453/files#r671595549 fails with that change, so we should decide what behavior is preferred. @atugushev ? #1520 changes the behavior and the test, if we want it. |
Yeah, those seem to be the reproducible issues. I should probably start from the un-reduced |
becomes a few different wrong things.
(This is a modified fork because I've been waiting for the PR to be reviewed for several months.)
Environment Versions
Steps to replicate
requirements.in
snippetExpected result
Both extras and URL are preserved.
Actual result
One or the other has been dropped.
The text was updated successfully, but these errors were encountered: