Public bug reported:

When trying to upload a sdist (tar.gz) package to PyPI from Bionic, I
get the following error:

TypeError: expected string or bytes-like object

(see also https://stackoverflow.com/questions/49806586/twine-upload-
typeerror-expected-string-or-bytes-like-object)


Uloading a bdist_wheel of the same package works.

The upload worked using the latest twine version (1.11.0).

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: twine 1.10.0-1
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Jun  8 18:27:18 2018
InstallationDate: Installed on 2018-02-25 (102 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180225)
PackageArchitecture: all
SourcePackage: twine
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: twine (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic wayland-session

** Summary changed:

- Can't upload tarballs to PyPI
+ Can't upload tarballs to PyPI - twine upload required

** Summary changed:

- Can't upload tarballs to PyPI - twine upload required
+ Can't upload tarballs to PyPI - twine update required

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1775886

Title:
  Can't upload tarballs to PyPI - twine update required

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/twine/+bug/1775886/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to