Control: tags -1 patch
I suggest to drop the autopkgtests which still depend on Python2, namely
the "pypy" and the "python2" tests.
See the attached patch for the proposed changes.
For your convenience I've also created a merge request on Salsa:
https://salsa.debian.org/python-team/packages/python-virtualenv/-/merge_requests/4
Best regards,
Micha
From 731efe4455b5157df4543873c23486a56c03be17 Mon Sep 17 00:00:00 2001
From: Micha Lenk <mi...@debian.org>
Date: Sat, 15 Oct 2022 21:03:31 +0200
Subject: [PATCH] Drop pypy and python2 autopkgtests (closes: #938249)
... as the binary package python-six got removed from the archive. Python 3
equivalents for these tests already exist (pypy3 and python3).
---
debian/changelog | 8 ++++++++
debian/tests/control | 20 --------------------
debian/tests/pypy | 2 --
debian/tests/python2 | 2 --
4 files changed, 8 insertions(+), 24 deletions(-)
delete mode 100755 debian/tests/pypy
delete mode 100755 debian/tests/python2
diff --git a/debian/changelog b/debian/changelog
index 7615c3e..93b3f9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-virtualenv (20.16.3+ds-4.1) UNRELEASED; urgency=medium
+
+ * Drop pypy and python2 autopkgtests (closes: #938249) as the binary package
+ python-six got removed from the archive. Python 3 equivalents for these
+ tests already exist (pypy3 and python3).
+
+ -- Micha Lenk <mi...@debian.org> Sat, 15 Oct 2022 20:57:43 +0200
+
python-virtualenv (20.16.3+ds-4) unstable; urgency=medium
* Depend on python3-distutils when we have setuptools < 60, which doesn't
diff --git a/debian/tests/control b/debian/tests/control
index 4b4bab2..6bc7189 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -8,30 +8,10 @@ Tests: setup-local-3
Depends: python3-filelock, @
Restrictions: allow-stderr
-Tests: python2
-Depends: python-six,
- python2,
- python2-pip-whl,
- python2-setuptools-whl,
- python2-wheel-whl,
- shunit2,
- virtualenv,
-Restrictions: allow-stderr, skip-not-installable
-
Tests: python3
Depends: python3-all, python3-six, shunit2, virtualenv
Restrictions: allow-stderr
-Tests: pypy
-Depends: pypy,
- pypy-six,
- python2-pip-whl,
- python2-setuptools-whl,
- python2-wheel-whl,
- shunit2,
- virtualenv,
-Restrictions: allow-stderr, skip-not-installable
-
Tests: pypy3
Depends: pypy3, python3-six, shunit2, virtualenv
Restrictions: allow-stderr
diff --git a/debian/tests/pypy b/debian/tests/pypy
deleted file mode 100755
index 729c532..0000000
--- a/debian/tests/pypy
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec debian/tests/shunit2-tests.sh pypy
diff --git a/debian/tests/python2 b/debian/tests/python2
deleted file mode 100755
index c7ba41f..0000000
--- a/debian/tests/python2
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec debian/tests/shunit2-tests.sh python2.7
--
2.30.2