-
Notifications
You must be signed in to change notification settings - Fork 965
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
Modifying capitalisation in package name #13284
Comments
You can change it by publishing a new version with the metadata in the package set to how you want it to be, if that doesn't work then one of the tools you're using is lowercasing it. |
This is likely due to pypa/twine#920. |
I've already published a new version already, moving it from
That issues appears to be about hyphenation and underscores. I can't find anything online about |
That issue is about twine normalizing names before sending them to PyPI, underscore to hyphens is one of those normalizations, so is uppercase to lowercase.
I don't have a particularly great answer for you here.
You can't. |
It's a little silly since
Then I reckon this is a good feature request to keep around. In the meanwhile, I shall have to cope and seethe. Thank you for reading and for your answers. |
Posting a new release is our supported method for changing the project name or any project metadata, see #1919 for more details. We treat release files and their corresponding metadata as immutable, and this includes the project name (even for cases where the name would normalize to be the same). We're also very unlikely to change this, so given that I'm going to close this, but thanks for raising the issue. |
I presumed it required posting a new major release. That's my mistake.
It turns out this wasn't even about I am left a little embarrassed. But hey. You live and you learn. Thank you for your time and answers. |
What's the problem this feature will solve?
You cannot currently change the capitalisation of a package's name as it is listed on the PyPI, despite that it's case insensitive and wouldn't cause any issues.
Describe the solution you'd like
It would be nice to be able to change how a package's name is capitalised post having published it.
Additional context
I had mistakenly published a package where the module's name should've been lowercase but in the entry, the name should've had a letter capitalised. I tried even to delete the project entirely to see if republishing it from scratch with the name corrected would solve it. It did not.
The text was updated successfully, but these errors were encountered: