-
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
git repo with hypthens fails with error #4678
Comments
I'm having the same issue on poetry 1.1.11.
So, it seems that the problem is not with hyphens in general, but only in package names, right? |
Correct
…On Tue, Nov 2, 2021, 18:47 Gabriel B. Santos ***@***.***> wrote:
I'm having the same issue on poetry 1.1.11.
poetry add --help gives poetry add git+
https://github.com/python-poetry/poetry.git as an example, which is
indeed a valid one. I have just tried it. However, when I try poetry add
git+https://github.com/tpaviot/pythonocc-core.git, poetry throws that
issue.
So, it seems that the problem is not with hyphens in general, but only in
the package names, right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4678 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAO7TKSIHEDPHJDEDKG5JC3UKBS67ANCNFSM5G2W36BQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
poetry/poetry/puzzle/provider.py Lines 309 to 311 in 5dcf24d
to
? so that name gets propagated correctly... |
yes, I can confirm that this change fixes my issue. |
can this get merged into the next release? |
Hi @michael-c-hoffman -- I'm not aware of any outstanding PRs with this fix. A PR with the fix and a regression test would be welcomed, and I'd love to be pointed to an already-extant one if I missed it. |
@neersighted I did not have a PR or code, this was just from comment that @srikanthravipati provided in the comments above. I am not familiar enough with this code base to write the tests. |
I got the same issue |
@skairunner Could you please test your failing repo against current master? |
I am happy to confirm that |
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. |
[ x] I am on the latest Poetry version.
[x ] I have searched the issues of this repo and believe that this is not a duplicate.
[ x] If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: Fedora 34
Poetry version: 1.1.5
**Link of a Gist
Issue
When adding a git repo that includes a hyphen in the org/path poetry fails to add with an error:
The text was updated successfully, but these errors were encountered: