-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
VCS dependency with extras requires explicit branch (due to double clone) #7024
Comments
PTAL @radoering @dimbleby @abn |
duplicate #6874 |
Not really a duplicate as a PR is not an issue, and while your PR (thanks, I was having trouble finding it) addresses the symptom (and things really shouldn't be stringly typed here -- further refactoring is likely necessary), it doesn't stop the second clone. |
Meh, it's the same problem with (presumably) the same solution, I'm ok with calling it a duplicate. Whatever. Anyway as I said in that one, I don't really understand properly what's going on. Feel free to fix it better! |
This change ensures that when ref `HEAD` is specified, it is not incorrectly resolved to `refs/head/HEAD`. `HEAD` is not treated as a branch, and correctly resolved from the ref spec. Resolves: python-poetry#7024 Closes: python-poetry#6874
I just hit the same issue.. |
This change ensures that when ref `HEAD` is specified, it is not incorrectly resolved to `refs/head/HEAD`. `HEAD` is not treated as a branch, and correctly resolved from the ref spec. Resolves: python-poetry#7024 Closes: python-poetry#6874
This change ensures that when ref `HEAD` is specified, it is not incorrectly resolved to `refs/head/HEAD`. `HEAD` is not treated as a branch, and correctly resolved from the ref spec. Resolves: python-poetry#7024 Closes: python-poetry#6874
This change ensures that when ref `HEAD` is specified, it is not incorrectly resolved to `refs/head/HEAD`. `HEAD` is not treated as a branch, and correctly resolved from the ref spec. Resolves: python-poetry#7024 Closes: python-poetry#6874
This change ensures that when ref `HEAD` is specified, it is not incorrectly resolved to `refs/head/HEAD`. `HEAD` is not treated as a branch, and correctly resolved from the ref spec. Resolves: python-poetry#7024 Closes: python-poetry#6874
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option) and have included the output below.Issue
When using a VCS dependency with extras and the Dulwich Git client, an explicit branch must be provided. The following pyproject.toml will fail to clone:
The following pyproject.toml will succeed:
Finally, dropping the use of extras will also succeed:
The keen-eyed reader will notice that the failures occur during a second clone (?!); when extras are present, the ref
HEAD
cannot be resolved by Dulwich during the second clone. The second clone seems to be a bug, and eliminating it should solve the failure; however, identifying the reason the second clone with the same ref fails would be preferred so we can better understand what is going wrong.The text was updated successfully, but these errors were encountered: