Search code examples
pythonpypi

You are not allowed to edit '...' package information


I just registered a new package in PyPI. Once I uploaded it and it's appears to be already published on a website.

Next, I slightly changed source code, bumped to a new version and performed

python setup.py sdist upload

command from the shell. And this is a result:

Submitting dist/...-0.2.2.tar.gz to http://pypi.python.org/pypi
Upload failed (403): You are not allowed to edit '...' package information

My ~/.pypirc information is correct (I double-checked it and earlier I suffered from "must be authenticated" problem which is already solved here.

Any ideas? May it be a fresh registration side-effect (I just created account on PyPI today, about an hour ago)?


Solution

  • I investigated, experimented and found that this happend because I uploaded package, but havent registered it prior to uploading. Because I manually created .pypirc and registered account on the website, first upload was successful. After I deleted package, registered it and uploaded again, everything looks ok.