[Python-modules-team] Bug#938816: webtest: Python2 removal in sid/bullseye

peter green plugwash at p10link.net
Sat Jan 4 11:24:11 GMT 2020


unblock 938816 by 938407
block 938816 by 947887
thanks

My NMU for routes, eliminating the build-dependency on python-webtest was accepted and built successfully. This leaves the only reverse dependency of python-webtest in unstable as the cruft binary package python-pecan. The binary package python-pecan is being held in unstable by the out of date mipsel binary for ceph-mgr, for which the maintainer has filed a removal request.

I have prepared an NMU for webtest based on vorlon's ubuntu upload. I intend to upload it once the ceph mipsel binaries are removed. While preparing the NMU I also discovered that the clean target was not cleaning up properly, so I fixed that too. If you have any objections, or would prefer to handle this as a maintainer upload please speak up now. The debdiff is attached.


-------------- next part --------------
diff -Nru webtest-2.0.32/debian/changelog webtest-2.0.32/debian/changelog
--- webtest-2.0.32/debian/changelog	2018-12-29 21:14:13.000000000 +0000
+++ webtest-2.0.32/debian/changelog	2020-01-04 11:09:15.000000000 +0000
@@ -1,3 +1,11 @@
+webtest (2.0.32-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  [Steve Langasek]
+  * Drop python2 support.
+
+ -- Peter Michael Green <plugwash at debian.org>  Sat, 04 Jan 2020 11:09:15 +0000
+
 webtest (2.0.32-1) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru webtest-2.0.32/debian/control webtest-2.0.32/debian/control
--- webtest-2.0.32/debian/control	2018-12-29 21:14:13.000000000 +0000
+++ webtest-2.0.32/debian/control	2020-01-04 11:05:51.000000000 +0000
@@ -4,8 +4,7 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Piotr Ożarowski <piotr at debian.org>
 Build-Depends: debhelper (>= 9)
-Build-Depends-Indep: dh-python, python-all, python3-all,
- python-setuptools, python-webob,
+Build-Depends-Indep: dh-python, python3-all,
  python3-setuptools, python3-webob,
 # docs & tests
  python3-sphinx, python3-six, python3-bs4, python3-waitress,
@@ -16,20 +15,6 @@
 Vcs-Git: https://salsa.debian.org/python-team/modules/webtest.git
 Vcs-Browser: https://salsa.debian.org/python-team/modules/webtest
 
-Package: python-webtest
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-webob (>= 1.2),
- python-six, python-waitress (>= 0.8.5), python-bs4,
- python-paste (>= 1.7.1), python-pastedeploy
-Recommends: python-lxml, python-pyquery
-Suggests: python-webtest-doc
-Description: wraps any WSGI application and makes it easy to test
- WebTest helps you test your WSGI-based web applications. This can be any
- application that has a WSGI (Web Server Gateway Interface) interface,
- including an application written in a framework that supports WSGI (which
- includes most actively developed Python web frameworks – almost anything
- that even nominally supports WSGI should be testable).
-
 Package: python3-webtest
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}, python3-webob,
diff -Nru webtest-2.0.32/debian/python-webtest-doc.links webtest-2.0.32/debian/python-webtest-doc.links
--- webtest-2.0.32/debian/python-webtest-doc.links	2017-09-29 10:52:16.000000000 +0000
+++ webtest-2.0.32/debian/python-webtest-doc.links	2020-01-04 11:02:27.000000000 +0000
@@ -1,4 +1,2 @@
-/usr/share/doc/python-webtest-doc/ /usr/share/doc/python-webtest/html
-/usr/share/doc/python-webtest-doc/_sources /usr/share/doc/python-webtest/rst
 /usr/share/doc/python-webtest-doc/ /usr/share/doc/python3-webtest/html
 /usr/share/doc/python-webtest-doc/_sources /usr/share/doc/python3-webtest/rst
diff -Nru webtest-2.0.32/debian/rules webtest-2.0.32/debian/rules
--- webtest-2.0.32/debian/rules	2017-09-29 10:54:22.000000000 +0000
+++ webtest-2.0.32/debian/rules	2020-01-04 11:02:27.000000000 +0000
@@ -5,7 +5,7 @@
 export PYBUILD_DISABLE=test
 
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_install:
 	dh_auto_install --buildsystem=pybuild


More information about the Python-modules-team mailing list