Your message dated Mon, 26 Oct 2015 21:22:30 +0000
with message-id <e1zqpdq-0008lr...@franck.debian.org>
and subject line Bug#802992: fixed in python-altgraph 0.12~dfsg-3
has caused the Debian Bug report #802992,
regarding python-altgraph: FTBFS with Python 3.5 as default: tests failure
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
802992: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802992
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-altgraph
Version: 0.12~dfsg-2
Severity: important
Tags: patch
User: debian-pyt...@lists.debian.org
Usertags: python3.5

Dear Maintainer,

python-altgraph FTBFS when Python 3.5 is the default Python 3 version
(i.e. with python3-defaults from experimental):

I: pybuild base:170: cd '/«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build'; 
python3.5 -m unittest discover -v 
altgraph (unittest.loader._FailedTest) ... ERROR

  ======================================================================
  ERROR: altgraph (unittest.loader._FailedTest)
  ----------------------------------------------------------------------
  ImportError: Failed to import test module: altgraph
  Traceback (most recent call last):
    File "/usr/lib/python3.5/unittest/loader.py", line 462, in _find_test_path
      package = self._get_module_from_name(name)
    File "/usr/lib/python3.5/unittest/loader.py", line 369, in 
_get_module_from_name
      __import__(name)
    File "/«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/altgraph/__init__.py", 
line 132, in <module>
      __version__ = pkg_resources.require('altgraph')[0].version
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 952, 
in require
      needed = self.resolve(parse_requirements(requirements))
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 839, 
in resolve
      raise DistributionNotFound(req, requirers)
  pkg_resources.DistributionNotFound: The 'altgraph' distribution was not found 
and is required by the application

You can find the full build log here:
https://launchpadlibrarian.net/222742551/buildlog_ubuntu-xenial-amd64.python-altgraph_0.12~dfsg-2_BUILDING.txt.gz

The attached patch fixes this (and, as a bonus, enables tests running for all
Python versions).

--
Dmitry Shachnev
From a5480f3b6c34fdf2f5c50f94185efda0b8b56def Mon Sep 17 00:00:00 2001
From: Dmitry Shachnev <mity...@gmail.com>
Date: Sun, 25 Oct 2015 23:24:46 +0300
Subject: [PATCH] Fix the command to run the tests.

---
 debian/changelog | 6 ++++++
 debian/rules     | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b4f07ea..64ada6f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-altgraph (0.12~dfsg-3) UNRELEASED; urgency=medium
+
+  * Fix the command to run the tests.
+
+ -- Dmitry Shachnev <mity...@debian.org>  Sun, 25 Oct 2015 23:23:49 +0300
+
 python-altgraph (0.12~dfsg-2) unstable; urgency=medium
 
   * Added note in README.Debian about which parts have been stripped.
diff --git a/debian/rules b/debian/rules
index 4b1070f..e8aaafa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,10 @@ override_dh_sphinxdoc:
 	dh_sphinxdoc
 	find debian/python-altgraph-doc -name license.txt -delete
 
+override_dh_auto_test:
+	python3 setup.py egg_info
+	dh_auto_test -- --system=custom --test-args='{interpreter} -m unittest discover -v'
+
 #build/python-altgraph-doc::
 #	sphinx-build -bhtml doc build/html
 #	dh_sphinxdoc -ppython-altgraph-doc build/html
-- 
2.6.1

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: python-altgraph
Source-Version: 0.12~dfsg-3

We believe that the bug you reported is fixed in the latest version of
python-altgraph, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 802...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
IOhannes m zmölnig (Debian/GNU) <umlae...@debian.org> (supplier of updated 
python-altgraph package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 26 Oct 2015 22:11:01 +0100
Source: python-altgraph
Binary: python-altgraph python3-altgraph python-altgraph-doc
Architecture: source all
Version: 0.12~dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-team@lists.alioth.debian.org>
Changed-By: IOhannes m zmölnig (Debian/GNU) <umlae...@debian.org>
Description:
 python-altgraph - Python graph (network) package
 python-altgraph-doc - Python graph (network) package - API documentation
 python3-altgraph - Python 3 graph (network) package
Closes: 802992
Changes:
 python-altgraph (0.12~dfsg-3) unstable; urgency=medium
 .
   [ Stefano Rivera ]
   * git-dpm config
 .
   [ IOhannes m zmölnig ]
   * Use https:// in Vcs-* stanzas
   * Fix the command to run the tests (Closes: #802992)
     - Thanks to Dmitry Shachnev
Checksums-Sha1:
 c0badb611e2d2d44a7218759f21b9cb443af441e 2307 python-altgraph_0.12~dfsg-3.dsc
 5743df61d7ac0f28d90b915375c9ad9e03885cc2 2952 
python-altgraph_0.12~dfsg-3.debian.tar.xz
 ccf65b8e8df75c914dd9d1edeef0c61910bd9df4 43754 
python-altgraph-doc_0.12~dfsg-3_all.deb
 612d0bffdb72e09b2207fde43b8189d26f42927e 19316 
python-altgraph_0.12~dfsg-3_all.deb
 c24662f6b0eb4b7a1efbc6bf9783f1f293894eb0 19380 
python3-altgraph_0.12~dfsg-3_all.deb
Checksums-Sha256:
 ca4b13a808437f4926c6841ce7c53ae63b8b7371061ddc0dc2706401d779f9bc 2307 
python-altgraph_0.12~dfsg-3.dsc
 759d3b4444e74b5bdd21760c4e91bdd1979c90256768def5ccf91970766d3f1a 2952 
python-altgraph_0.12~dfsg-3.debian.tar.xz
 dead3fed8a6fbc6efe818bbddf59607b306f53cb3e97a823d0d446aa22c61571 43754 
python-altgraph-doc_0.12~dfsg-3_all.deb
 3c47955117a6fb5d0293185d4a9c3c38248bb06b90d1cb6902431bdc25f741c2 19316 
python-altgraph_0.12~dfsg-3_all.deb
 1f47a72ba5e2d077cb110081567df921bbfe36767c7b3b4349882955987ca467 19380 
python3-altgraph_0.12~dfsg-3_all.deb
Files:
 b7915545b0b6384eae9e61fa4746b4cf 2307 python optional 
python-altgraph_0.12~dfsg-3.dsc
 edb545dd54e0ecd0c0351126562f1b35 2952 python optional 
python-altgraph_0.12~dfsg-3.debian.tar.xz
 5c7718df6742b912fe010b85ae6a8445 43754 doc optional 
python-altgraph-doc_0.12~dfsg-3_all.deb
 502e383111faaa78b84a4a442b811b37 19316 python optional 
python-altgraph_0.12~dfsg-3_all.deb
 76500252db79857a24e655b00cb9f9cc 19380 python optional 
python3-altgraph_0.12~dfsg-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWLpgSAAoJELZQGcR/ejb4B4UQAIJ6Paug+FlfztY8dO/ZRjIM
a6YL0YZskhYo6N7Gw/jUbo2HH+aER1KPOF1bNR22odzG4NWaInhuSbfuJOn0CN3Z
NUj3iLw7kGZy2ThSDX55QSd+7VRl6WNtSBYhQh5FjSERSkNu8AVkujaZKa3CtYmm
L3PE4pjiGWidBWb7Tv3azdn0bUFCqepQENQbsuTa3HfImaBW51oqySsGfIeR9Cha
IhpWVn/wAfAveCLoS2zGQiEt7s0v6GAvQibjQdCtFNASddPCCUAkKfQLNy06NzLy
RIvDXDE9copkFM8fLAiJNq+CalcBOfsBbOQuxIM+hbJdmU4M+mNn90s6df+j2vG/
7EWpJ52oMI3OtecZpcp7+7Ene3x3sd0s9XwhH5U6DOH+7sbpHssyKAHJxCjggGgk
o8RcXnCFrACJgfnqOLqjdPFWSviCec7PtWUbzXsCPROnc0PYpEOwuzjnUd3HjKrk
7ieKA7jGyTfAMPxnvo/7I0G9cN5gOlvuTaC5dLG+ZX2rKjd+pOUcI/vHEaRDNZqn
MMKMxk/klDlwRHZll9KEdP59D8JP24y5TeGPqafAeqGcPItm/4Sy8jGSH973PtN5
dM1Ux+J/3pZrVIcqO24u/c4SJ1pg44jiRoz8W5lPllN/8WsIeQ0iEN57gnybxr1r
XxmYiyYSfkDnlfWpOLux
=7qim
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to