Le 15/05/18 à 12:05, Vincent Vande Vyvre a écrit :
Hi,
Trying to upgrade a package on PyPI, I get this error:
$ python3 setup.py register sdist upload
...
Submitting dist/py3exiv2-0.3.0.tar.gz to https://pypi.python.org/pypi
Upload failed (308): Redirect to Primary Domain
error: Upload failed (308): Redirect to Primary Domain
I know the site has changed but what is changed for me ?
This is the content of my .pypirc:
-----------------------------
[distutils]
index-servers=
pypi
pypitest
[pypitest]
repository = https://test.pypi.org/legacy/
username = VinsS
password = *******
[pypi]
repository = https://upload.pypi.org/legacy/
username = VinsS
password = ******
-----------------------------
Note: I've tested on test.pypi.org without problems.
Thanks for all advices,
Vincent
(send at Tue, 15 May 2018 12:04:10 +0200)
Solved with $ twine upload dist/*
...
Vincent
(send at Tue, 15 May 2018 14:34:10 +0200)
--
https://mail.python.org/mailman/listinfo/python-list