Can't upload tarballs to PyPI - twine update required

Bug #1775886 reported by Alberto Donato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
twine (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Alberto Donato (ack) wrote :
summary: - Can't upload tarballs to PyPI
+ Can't upload tarballs to PyPI - twine upload required
summary: - Can't upload tarballs to PyPI - twine upload required
+ Can't upload tarballs to PyPI - twine update required
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package twine - 1.12.1-1

---------------
twine (1.12.1-1) unstable; urgency=medium

  [ Stefano Rivera ]
  * New upstream release (LP: #1775886)
  * New B-D: python3-readme-renderer.
  * Bump debhelper compat level to 11.
  * Bump Standards-Version to 4.2.1, no changes needed.

  [ Ondřej Nový ]
  * d/control: Remove ancient X-Python3-Version field

 -- Stefano Rivera <email address hidden> Sat, 13 Oct 2018 14:42:11 +0200

Changed in twine (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.