From af59c00de1efa68f68d3a5acac598815b20a1b84 Mon Sep 17 00:00:00 2001 From: "deepin-community-bot[bot]" <156989552+deepin-community-bot[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 02:52:17 +0000 Subject: [PATCH] feat: update python-distutils-extra to 3.1 --- DistUtilsExtra/__init__.py | 2 +- debian/.gitignore | 1 + debian/changelog | 8 ++++++++ test/auto.py | 4 ++-- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 debian/.gitignore diff --git a/DistUtilsExtra/__init__.py b/DistUtilsExtra/__init__.py index db9874f..990f592 100644 --- a/DistUtilsExtra/__init__.py +++ b/DistUtilsExtra/__init__.py @@ -1,2 +1,2 @@ # pylint: disable=invalid-name -__version__ = "3.0" +__version__ = "3.1" diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..2c8afeb --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1 @@ +/files diff --git a/debian/changelog b/debian/changelog index d436a05..c545791 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +python-distutils-extra (3.1) unstable; urgency=medium + + * Team upload. + * Use setuptools.command.sdist in tests rather than + setuptools.command.register (closes: #1086223, #1086308). + + -- Colin Watson Tue, 19 Nov 2024 19:09:39 +0100 + python-distutils-extra (3.0) unstable; urgency=medium * Team upload. diff --git a/test/auto.py b/test/auto.py index 0321e6a..818208d 100755 --- a/test/auto.py +++ b/test/auto.py @@ -849,7 +849,7 @@ def test_requires_provides(self): self._mksrc( "foo/stuff.py", """import xml.parsers.expat -import os, os.path, email.mime, setuptools.command.register +import os, os.path, email.mime, setuptools.command.sdist from email import header as h import httplib2.iri2uri, unknown from . bar import poke @@ -936,7 +936,7 @@ def test_requires_provides(self): "pkg_resources", "gi.repository.GLib", "gi.repository.GObject", - "setuptools.command.register", + "setuptools.command.sdist", ] ), )