-
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
Package Name Case Sensitivity #1303
Comments
Thanks for taking the time to submit an issue. Python imports are case-sensitive so I don't think there's anything to fix here. |
@brycedrennan isn't the |
Alternatively, if this is not a poetry bug, how would you recommend adding the development branch of Logbook as a dependency to a project managed by poetry? Thanks! |
Reopening till we answer your question. |
#1305 fixes this issue. |
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. |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: macOS 14.6
Poetry version: 1.0.0b1
Issue
I'm trying to specify a development version of Logbook:
Poetry is complaining:
If you look at Logbook, the package name is "Logbook" with an uppercase 'L':
https://github.com/getlogbook/logbook/blob/develop/setup.py#L188
I believe that Python Package names are supposed to be case insensitive, so I believe this is a bug in Poetry. This appears to be fixed by simply making the if statement on Line 411 ignore case, but I'm not sure if this is more complex than that or not.
I do not see this same problem when trying to install a stable Logbook release from PyPI, I suspect this only affects installing from Path/VCS.
The text was updated successfully, but these errors were encountered: