I just wrote my first package that I wanted to publish on PyPI and didn't have an account. I have registered yesterday through the new registration form: https://pypi.org/account/register/.
The registration process had no issues, the account was directly active and the log in worked. Today I prepared the package for upload but i received a 401 error: Upload failed (401): You must be identified to edit package information
After some research, I saw also other people complaining, and this might happen if the activation link in the email is not clicked. So one problem might be that the activation email is not being sent and the account is directly active.
This time I received an activation link, which led me to a page where I also had to accept the submission terms. So probably this part is missing and this is why the authorization failed with the other account.
The text was updated successfully, but these errors were encountered:
added this to the
1: Launch: redirect pypi.python.org to pypi.io milestone
Jul 1, 2017
I still can't seem to find the right URL to use though. It's either these issues or using what I think the right URL should be:
Uploading distributions to https://test.pypi.io/legacy
RedirectDetected: "https://test.pypi.io/legacy" attempted to redirect to "https://test.pypi.org/legacy" during upload. Aborting...
The workaround is to use the registration form on pypi.python.org/pypi, but then complete all other steps on pypi.org.
Interesting. It doesn't work for me, I was already registered on "real" pypi before getting the e-mail from the way I went about it (delete, alternative url). As such, the URL you have gives me 403 errors :S Hopefully your fix will apply to most situations. I think I pigeonholed myself somehow.