Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765838 - [TRACKER] setuptools-51.3.0+ breakage (#1390: Newlines in metadata description/Summary now trigger a ValueError)
Summary: [TRACKER] setuptools-51.3.0+ breakage (#1390: Newlines in metadata descriptio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 765775 765814
Blocks:
  Show dependency tree
 
Reported: 2021-01-17 21:15 UTC by Michał Górny
Modified: 2022-11-12 03:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.