Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 765838

Summary: [TRACKER] setuptools-51.3.0+ breakage (#1390: Newlines in metadata description/Summary now trigger a ValueError)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 765775, 765814    
Bug Blocks:    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-17 21:15:35 UTC
From CHANGES.rst:

* #1390: Newlines in metadata description/Summary now trigger a ValueError.

Produces backtraces like:

[...]
  File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 124, in single_line
    raise ValueError("newlines not allowed")
ValueError: newlines not allowed
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-17 23:23:08 UTC
Unsurprisingly, upstream turned it into a warning in 51.3.2.  I'm going to push 51.3.3 in a minute.