[Python-apps-team] Bug#728272: python3-memprof: missing python3-pkg-resources dependency

Martin Pitt martin.pitt at ubuntu.com
Wed Oct 30 05:59:04 UTC 2013


Package: python3-memprof
Version: 0.3.2-1
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty

Hello,

python3-memprof imports "pkg_resources" without depending on
python3-pkg-resources. In Debian this gets pulled in through a
transitive dependency with matplotlib, but as memprof uses it itself
it should directly depend on it instead of relying on these.

E. g. in Ubuntu we still have an older matplotlib and thus
pkg_resources doesn't get installed with it, which is exposed by the
failing autopkgtest (Many thanks for adding one! It's exactly the kind
of thing which they are meant to detect):

  https://jenkins.qa.ubuntu.com/view/Trusty/view/AutoPkgTest/job/trusty-adt-python-memprof/2/ARCH=i386,label=adt/

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
diff -Nru python-memprof-0.3.2/debian/changelog python-memprof-0.3.2/debian/changelog
--- python-memprof-0.3.2/debian/changelog	2013-10-20 23:29:06.000000000 +0200
+++ python-memprof-0.3.2/debian/changelog	2013-10-30 06:53:58.000000000 +0100
@@ -1,3 +1,9 @@
+python-memprof (0.3.2-1ubuntu1) trusty; urgency=low
+
+  * Add missing python3-pkg-resources dependency (spotted by autopkgtest).
+
+ -- Martin Pitt <martin.pitt at ubuntu.com>  Wed, 30 Oct 2013 06:53:34 +0100
+
 python-memprof (0.3.2-1) unstable; urgency=low
 
   * New upstream release
diff -Nru python-memprof-0.3.2/debian/control python-memprof-0.3.2/debian/control
--- python-memprof-0.3.2/debian/control	2013-10-18 12:19:57.000000000 +0200
+++ python-memprof-0.3.2/debian/control	2013-10-30 06:54:02.000000000 +0100
@@ -40,6 +41,7 @@
 Depends: ${misc:Depends},
  ${python3:Depends},
  ${shlibs:Depends},
+ python3-pkg-resources
 Recommends: python-memprof
 Description: memory profiler for Python (Python 3)
  python-memprof logs the memory used by variables during the execution
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20131030/a052fa26/attachment.sig>


More information about the Python-apps-team mailing list