Skip to content

twine upload to testpypi hangs #847

@shuklak13

Description

@shuklak13

Your Environment

  1. Your operating system: Debian

  2. Version of python you are running: 3.9

  3. How did you install twine? pip

  4. Version of twine you have installed (include complete output of): twine version 3.4.1 (importlib_metadata: 4.5.0, pkginfo: 1.7.0, requests: 2.25.1, requests-toolbelt: 0.9.1, tqdm: 4.61.1)

  5. Which package repository are you targeting? https://test.pypi.org/project/model_card_toolkit

If you're having issues uploading a specific package, you must include a copy of the following:

  • The package's PKG-INFO file
  • A redacted version of your .pypirc file (REMOVE ALL USERNAMES & PASSWORDS BEFORE UPLOADING)

PKG-INFO: https://gist.github.com/shuklak13/0150db1afcbd11e531e3f365b4e3a662
.pypirc: I did not find a .pypirc in my environment or my project.

The Issue

When executing python3 -m twine upload --repository testpypi dist/*, the message Uploading distributions to https://test.pypi.org/legacy/ will display. The terminal then hangs, and does not display any further prompts. I manually killed it after one hour.

Steps to Reproduce

This issue occurs when I run the following commands:

  1. python3 setup.py sdist bdist_wheel
  2. python3 -m twine upload --repository testpypi dist/*

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportUsers asking for help using twine

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions