Imported Upstream version 51.3.3 upstream/51.3.3
authorJinWang An <jinwang.an@samsung.com>
Mon, 27 Mar 2023 08:02:31 +0000 (17:02 +0900)
committerJinWang An <jinwang.an@samsung.com>
Mon, 27 Mar 2023 08:02:31 +0000 (17:02 +0900)
.bumpversion.cfg
CHANGES.rst
setup.cfg
setuptools/dist.py

index 4d6072174118d7cc551446095171022b47dc33fa..debcfeeb6426784f6ff5bbe3f58c27540f2199bb 100644 (file)
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 51.3.2
+current_version = 51.3.3
 commit = True
 tag = True
 
index 2de874ca960515015c149d7048326165f52fa182..c094960f9aaf0e42ec9e25af6c87e2d633cf9658 100644 (file)
@@ -1,3 +1,12 @@
+v51.3.3
+-------
+
+
+Misc
+^^^^
+* #2539: Fix AttributeError in Description validation.
+
+
 v51.3.2
 -------
 
index 2476ede8b0444380a4e1e2c36121a874ddf73582..536ec70fabea2b4e3d368e9336198d2e4da71abd 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,7 +2,7 @@
 license_files =
     LICENSE
 name = setuptools
-version = 51.3.2
+version = 51.3.3
 author = Python Packaging Authority
 author_email = distutils-sig@python.org
 description = Easily download, build, install, upgrade, and uninstall Python packages
index 172d66b1f4ab1534afe605050960684c6f2d246f..050388de16e3800bb979cd159ead94bd25eb08c9 100644 (file)
@@ -122,7 +122,7 @@ def single_line(val):
     # quick and dirty validation for description pypa/setuptools#1390
     if '\n' in val:
         # TODO after 2021-07-31: Replace with `raise ValueError("newlines not allowed")`
-        warnings.UserWarning("newlines not allowed and will break in the future")
+        warnings.warn("newlines not allowed and will break in the future")
         val = val.replace('\n', ' ')
     return val