-
-
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
REGR: pipenv sync StopIteration error with 2022.11.05 #5462
Comments
@snowman2 does the source have an index name and is it specified in the lock file for the package which index to use? When is the last time you updated your lock file? Just trying to get a sense for this issue. |
Today, using the latest pipenv. |
Yes |
@snowman2 You certainly aren't providing enough details for me to triage and solve this ticket, no example Pipfile or or lock file or anything.
|
I cannot provide that unfortunately and haven't had a chance to produce a minimal reproducible example. Just enough time to raise the issue. I will try to provide one when I get a free moment. |
Here is a minimal
I can run:
And I can see the issue. |
Oh, I see the issue - the index name doesn't match the source name in the
|
Ideally pipenv could raise with a message about the issue when it encounters a name mismatch, we ran into the same problem and it was confusing finding the cause since it required understanding the pipenv source code that was raising |
@snowman2 I wonder how its possible for the Pipfile.lock to end up with different source names that the Pipfile? I wonder if it possibly relates to the bug of issue #5456
@tonispring I think we can do that -- let's track that work in this issue report. |
The problem originated from the Pipfile with incorrect index. |
I put up a PR for this is you care to try it out. |
Note: Works fine with
pipenv==2022.10.25
Issue description
Expected result
No failure.
Actual result
StopIteration
Steps to replicate
Operating System: Ubuntu 20.04 LTS
Python Version: 3.9
The text was updated successfully, but these errors were encountered: