Package: pyjwt
Version: 1.4.2-1
Severity: normal
Tags: patch
Hi,
Will backporting your package to Jessie for my own use I came accross an
issue with pytest dependencies. Actually, there's two issue that broke
the build:
* In setup.py, there's a pytest==2.7.3 dependency so I'm even wondering
how this package could build in sid.
* In debian/control, you should set the dep to >= 2.7.3 as well
Please find attached a debdiff including a setup.py patch and updated
debian/control.
Best regards, Adam.
--- System information. ---
Architecture:
Kernel: Linux 4.9.0-3-amd64
Debian Release: 9.0
500 stretch packages.le-vert.net
500 stretch packages.hitec.lu
500 stable security.debian.org
500 stable ftp.fr.debian.org
500 stable dl.google.com
500 jessie repos.mesosphere.io
1001 jessie-cdh5 archive.cloudera.com
--- Package information. ---
Package's Depends field is empty.
Package's Recommends field is empty.
Package's Suggests field is empty.
diff -Nru pyjwt-1.4.2/debian/changelog pyjwt-1.4.2/debian/changelog
--- pyjwt-1.4.2/debian/changelog 2017-07-18 11:32:19.000000000 +0200
+++ pyjwt-1.4.2/debian/changelog 2016-09-09 01:07:26.000000000 +0200
@@ -1,11 +1,3 @@
-pyjwt (1.4.2-1~bpo8+1) jessie-backports; urgency=medium
-
- * Rebuild for jessie-backports.
- * Turn pytest==2.7.3 test dep in setup.py into pytest>=2.7.3.
- * Bump build-dependency to python-pytest and python3-pytest (>= 2.7.3).
-
- -- Adam Cecile <adam.cec...@hitec.lu> Tue, 18 Jul 2017 11:32:19 +0200
-
pyjwt (1.4.2-1) unstable; urgency=medium
* New upstream release.
diff -Nru pyjwt-1.4.2/debian/control pyjwt-1.4.2/debian/control
--- pyjwt-1.4.2/debian/control 2017-07-18 11:32:19.000000000 +0200
+++ pyjwt-1.4.2/debian/control 2016-07-21 22:09:18.000000000 +0200
@@ -8,13 +8,13 @@
dh-python,
python-all (>= 2.6.6-3),
python-cryptography,
- python-pytest (>= 2.7.3),
+ python-pytest,
python-pytest-cov,
python-pytest-runner,
python-setuptools (>= 0.6b3),
python3-all,
python3-cryptography,
- python3-pytest (>= 2.7.3),
+ python3-pytest,
python3-pytest-cov,
python3-pytest-runner,
python3-setuptools
diff -Nru pyjwt-1.4.2/debian/patches/Relax_test_dep_in_setup_py pyjwt-1.4.2/debian/patches/Relax_test_dep_in_setup_py
--- pyjwt-1.4.2/debian/patches/Relax_test_dep_in_setup_py 2017-07-18 11:32:19.000000000 +0200
+++ pyjwt-1.4.2/debian/patches/Relax_test_dep_in_setup_py 1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-Description: Turn pytest==2.7.3 test dep in setup.py into pytest>=2.7.3.
- .
- pyjwt (1.4.2-1~bpo8+1) jessie-backports; urgency=medium
- .
- * Rebuild for jessie-backports.
- * Turn pytest==2.7.3 test dep in setup.py into pytest>=2.7.3.
-Author: Adam Cecile <adam.cec...@hitec.lu>
-
----
-
-Origin: other
-Bug-Debian: https://bugs.debian.org/<bugnumber>
-Forwarded: no
-Last-Update: 2017-07-18
-
---- pyjwt-1.4.2.orig/setup.py
-+++ pyjwt-1.4.2/setup.py
-@@ -30,7 +30,7 @@ if sys.argv[-1] == 'publish':
- sys.exit()
-
- tests_require = [
-- 'pytest==2.7.3',
-+ 'pytest>=2.7.3',
- 'pytest-cov',
- 'pytest-runner',
- ]
diff -Nru pyjwt-1.4.2/debian/patches/series pyjwt-1.4.2/debian/patches/series
--- pyjwt-1.4.2/debian/patches/series 2017-07-18 11:32:19.000000000 +0200
+++ pyjwt-1.4.2/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-Relax_test_dep_in_setup_py