-
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
Case sensitivity of project names when publishing to PyPI #1202
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@robertmartin8: Could you try using the latest Poetry 1.0 beta (e.g., by passing |
I just pushed an update to my package. As far as I can see, the issue still persists.
|
Poetry v1.0.0 was just released, so I'd try again with that version. I imagine the issue is unresolved, but it'd be better to know that for certain. |
@justinmayer I've just tried with v1.0.0 – it's still unresolved. |
@dimbleby will python-poetry/poetry-core#484 affect this? |
No, as I said there, that MR leaves poetry continuing to normalize project names at upload. Unless and until pypa decide what the standards should actually be, and pypi do something about pypi/warehouse#10030, it will remain impossible to do both of (i) publish with a pretty project name and (ii) normalize sdist and wheel names. python-poetry/poetry-core#484 continues in the direction of favouring normalization. |
Ah, makes sense -- we're trading capitalized names versus not being able to upload an entire category of otherwise valid packages. Given the acceptance of PEP 625 and our move to canonicalize names, I'm going to close this as wontfix. It could eventually be addressed by amendments to the PEPs/changes in PyPI widening the list of acceptable names (e.g. pypi/warehouse#12316). |
yeah - again reiterating what I said in the other one - if and when that pypi issue is fixed, it's trivial for poetry to start publishing with pretty names. But we shouldn't do that while it doesn't work! |
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. |
Issue
I'm trying to migrate my project from
setup.py
etc topoetry
, and it has mostly been very straightforward.My (very minor) issue is that the
name
field does not appear to preserve its case when publishing.Becomes:
With
setup.py
, the case sensitivity is preserved on PyPI.I know that there is no real difference which is why this is a minor issue, but stylistically it's a tiny thing that I prefer about
setup.py
.The text was updated successfully, but these errors were encountered: