Bug#812726: [PATCH] Fix autopkgtest

Martin Pitt martin.pitt at ubuntu.com
Tue Jan 26 06:59:17 UTC 2016


Package: numexpr
Version: 2.4.3-1
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch xenial

Hello,

numexpr's autopkgtest fails [1] because the test tries to import
pkg_resources which is missing.

Trivial patch attached (which I uploaded to Ubuntu), I tested that
this makes all four tests pass.

Thanks for considering,

Martin

[1] https://ci.debian.net/packages/n/numexpr/unstable/amd64/
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
diff -Nru numexpr-2.4.3/debian/changelog numexpr-2.4.3/debian/changelog
--- numexpr-2.4.3/debian/changelog	2016-01-19 01:41:52.000000000 +0100
+++ numexpr-2.4.3/debian/changelog	2016-01-26 07:55:34.000000000 +0100
@@ -1,3 +1,9 @@
+numexpr (2.4.3-1ubuntu1) xenial; urgency=medium
+
+  * Add missing python[3]-pkg-resources test dependency.
+
+ -- Martin Pitt <martin.pitt at ubuntu.com>  Tue, 26 Jan 2016 07:55:19 +0100
+
 numexpr (2.4.3-1build1) xenial; urgency=medium
 
   * No-change rebuild to drop python3.4 support.
diff -Nru numexpr-2.4.3/debian/tests/control numexpr-2.4.3/debian/tests/control
--- numexpr-2.4.3/debian/tests/control	2015-08-16 13:32:00.000000000 +0200
+++ numexpr-2.4.3/debian/tests/control	2016-01-26 07:55:16.000000000 +0100
@@ -1,12 +1,12 @@
 Tests: python2
-Depends: python-numexpr, python-all
+Depends: python-numexpr, python-all, python-pkg-resources
 
 Tests: python2-dbg
-Depends: python-numexpr-dbg, python-all-dbg
+Depends: python-numexpr-dbg, python-all-dbg, python-pkg-resources
 
 Tests: python3
-Depends: python3-numexpr, python3-all
+Depends: python3-numexpr, python3-all, python3-pkg-resources
 
 Tests: python3-dbg
-Depends: python3-numexpr-dbg, python3-all-dbg
+Depends: python3-numexpr-dbg, python3-all-dbg, python3-pkg-resources
 


More information about the debian-science-maintainers mailing list