Can you log in to https://test.pypi.org with the credentials you're using?
TestPyPI is totally separate from the real PyPI, so you need to create an
account on each of them.

Cheers,
Josh

On Thu, 16 Aug 2018, 4:56 pm , <t...@tombaker.org> 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 -- distutils-sig@python.org
> To unsubscribe send an email to distutils-sig-le...@python.org
> https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
> Message archived at
> https://mail.python.org/mm3/archives/list/distutils-sig@python.org/message/MALF4KJOTY4YWI3JAZEPEJ4D7JSWV4SN/
>
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/mm3/archives/list/distutils-sig@python.org/message/KIRBRZJAAJPYJW5E6FFYEYOQXOYNPUJ4/

Reply via email to