[Pkg-mailman-hackers] Bug#1080513: mailman-hyperkitty: Please drop calling "setup.py test"

Benjamin Drung bdrung at ubuntu.com
Thu Sep 5 09:34:54 BST 2024


Package: mailman-hyperkitty
Version: 1.2.1-2
Severity: normal
Tags: patch
X-Debbugs-Cc: bdrung at ubuntu.com
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oracular ubuntu-patch

Dear Maintainer,

setuptools 73.0.1-1 dropped supporting the test command. Calling
"setup.py test" will fail.

In Ubuntu, the attached patch was applied to achieve the following:

  * autopkgtest: Call nose directly instead of setup.py test


Thanks for considering the patch.

-- 
Benjamin Drung
Debian & Ubuntu Developer
-------------- next part --------------
diff -Nru mailman-hyperkitty-1.2.1/debian/tests/control mailman-hyperkitty-1.2.1/debian/tests/control
--- mailman-hyperkitty-1.2.1/debian/tests/control	2022-11-26 22:28:47.000000000 +0100
+++ mailman-hyperkitty-1.2.1/debian/tests/control	2024-09-05 10:22:47.000000000 +0200
@@ -1,4 +1,4 @@
-Test-Command: python3 setup.py test
+Test-Command: nose2-3
 Depends: @,
          python3-mock,
          python3-nose2,


More information about the Pkg-mailman-hackers mailing list