Skip to content

Trouble following packaging libraries tutorial: upload #313

@ottok

Description

@ottok

Thank you for providing feedback on Python packaging!

To help us help you, please fill out as much of the following as you can. If a question is not relevant, feel free to skip it.

  1. What is your operating system and version?

Ubuntu 18.04.

  1. What is your Python version?

Python 3.6.9

  1. What version of pip do you have?

pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

  1. If following an online tutorial or guide, please provide a link to the page or section giving you trouble:

Upload step

  1. Could you describe your issue in as much detail as possible?

When I try to upload I get an 403 error. However, there is not indication what is wrong, my username, my key, my token, my package name or what.

$ python3 -m twine upload --verbose rdiff-backup-1.4.0b1.dev34+g1cce874.d20200119.tar.gz
Uploading distributions to https://upload.pypi.org/legacy/
Uploading rdiff-backup-1.4.0b1.dev34+g1cce874.d20200119.tar.gz
100%|| 301k/301k [00:01<00:00, 249kB/s]
Content received from server:
<html>
 <head>
  <title>403 Invalid or non-existent authentication information.</title>
 </head>
 <body>
  <h1>403 Invalid or non-existent authentication information.</h1>
  Access was denied to this resource.<br/><br/>
Invalid or non-existent authentication information.
 </body>
</html>

From the page https://pypi.org/manage/account/ I can see that my token states "newer used". But in this context I don't know why. The scope of the token is rhe rdiff-backup project (as I want to upload there).

It error message is the same no matter if I enter the credentials interactively or via .pypirc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions