-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to upload to a project using an API token #990
Comments
Duplicate of #924 I suspect |
@vsajip The contents of |
As I'm using Python 3.6, I think 3.8.0 is the latest Twine version I can use. Version 4.0.0 and later require Python >= 3.7. But even with Twine 4.0.2 (I installed it in a different venv), the same thing happens:
|
Not quite - all my sections are also listed in |
There seems to have been some problem with both venvs I was using. When I created a fresh venv with Python 3.8 and installed twine into it and used that, I didn't get the error. Sorry for the noise. |
No worries @vsajip . Glad you got things sorted |
Environment
Running on Linux Mint 19.1 (Ubuntu Bionic) 64-bit.
Python 3.6.7.
Twine installed using
pip install -U twine
.PKG-INFO: See attached.
PKG-INFO.txt
Redacted version of
.pypirc
: See attached.pypirc.txt
The Issue
Twine fails to upload:
The failure occurs repeatably, but I was able to upload using my PyPI username and password (though I received an email later asking me to use tokens). I regenerated the token for
sphinx-sizzle-theme
and tried again, with the same result.Note that configparser reads
~/.pypirc
OK:Steps to Reproduce
As described above.
The text was updated successfully, but these errors were encountered: