Re: Cannot upload distribution archives using twine using functioning username and login for pypi.org

Chung Tzu-ping via Distutils-SIG <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <[email protected]>
According to the documentation[1], TestPyPI is a complete independent instance from PyPI, and they don’t share databases at all. You need to register a separate account there.

[1]: https://packaging.python.org/guides/using-testpypi/

--
Tzu-ping Chung (@uranusjr)
[email protected]
Sent from my iPhone

> On 16 Aug 2018, at 23:55, [email protected] wrote:
> 
> When I follow the instructions at
> https://packaging.python.org/tutorials/packaging-projects/
> to upload my distribution archives with
> 
>    $ twine upload --repository-url https://test.pypi.org/legacy/ dist/*`
> 
> I get prompted for my username and password, but the upload aborts with
> `HTTPError: 403 Client Error` (see below) even though I can successfully log
> into https://pypi.org using the same username and password.
> 
> Can anyone advise?
> 
> Tom
> 
> ```
> Uploading distributions to https://test.pypi.org/legacy/
> Enter your username: tombaker
> Enter your password:
> Uploading mklists-0.1.1-py3-none-any.whl
> 100%|*************************************************************************| 10.6k/10.6k [00:00<00:00, 15.8kB/s]
> HTTPError: 403 Client Error: Invalid or non-existent authentication information. for url: https://test.pypi.org/legacy/
> ```

--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/mm3/archives/list/[email protected]/message/RUD4LGHUEHCBERTHM5SE356GTPNOSKTX/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.