This repository was archived by the owner on May 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
This repository was archived by the owner on May 30, 2020. It is now read-only.
Cannot upload package to PyPI, Have done due diligence, Think it's a bug #677
Copy link
Copy link
Closed
Labels
PEP 541Issues blocked on the implementation of PEP 541Issues blocked on the implementation of PEP 541
Description
I have a pure Python package named Mycroft that I am trying to register and upload to PyPI.
When I try to register either my source distribution or my wheel of this package I get the following message.
> twine register dist/mycroft-1.1.0-py3-none-any.whl
Registering package to https://upload.pypi.org/legacy/
Enter your username: billmcn
Enter your password:
Registering mycroft-1.1.0-py3-none-any.whl
HTTPError: 410 Client Error: Project pre-registration is no longer required or supported, so continue directly to uploading files. for url: https://upload.pypi.org/legacy/
This makes it look like the register step is unnecessary. However, when I try to upload I get this error.
> twine upload dist/*
Uploading distributions to https://upload.pypi.org/legacy/
Enter your username: billmcn
Enter your password:
Uploading mycroft-1.1.0-py3-none-any.whl
[================================] 23132/23132 - 00:00:00
HTTPError: 403 Client Error: You are not allowed to upload to 'mycroft'. for url: https://upload.pypi.org/legacy/
I get similar errors when I use python setup.py register
and python setup.py upload
instead of twine.
Due diligence:
- I have an account on PyPI.
- The package name "mycroft" has not been claimed. (
pip search mycroft
returns nothing.) - I am using twine version 1.9.1 and setuptools version 33.1.1.post20170320.
- I am confident that the
setup.py
in my project is correct. (I link to the github project above if anyone wants to take a look.) - I do not have a
~/.pypirc
on my machine. - I have experimented with various
~/.pypirc
configurations and command line arguments to twine to no avail. Details here. - I have read all the Python packaging, PyPI, twine documentation and relevant Stack Overflow issues I can find, but none of them have helped me figure this out.
Please help. I can't believe my good luck that someone hasn't snagged the name "mycroft" yet and I want to get this resolved before they do. :-)
sinistag
Metadata
Metadata
Assignees
Labels
PEP 541Issues blocked on the implementation of PEP 541Issues blocked on the implementation of PEP 541