--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package mpi4py
Skipped some tests to resolve some FTBFS due to exotic setup of some
build boxes.
diff -Nru mpi4py-1.3.1+hg20131106/debian/changelog mpi4py-1.3.1+hg20131106/debian/changelog
--- mpi4py-1.3.1+hg20131106/debian/changelog 2013-11-06 16:46:58.000000000 -0500
+++ mpi4py-1.3.1+hg20131106/debian/changelog 2014-11-24 09:21:30.000000000 -0500
@@ -1,3 +1,13 @@
+mpi4py (1.3.1+hg20131106-2) unstable; urgency=medium
+
+ * debian/rules
+ - assure absent reliance on network via http*_proxy env var
+ * debian/patches
+ - up_tests_network_attr tag BaseTestSpawn tests as relying on network
+ access and exclude them from running at pkg build time (Closes: #769801)
+
+ -- Yaroslav Halchenko <debian@onerussian.com> Sun, 16 Nov 2014 15:06:21 -0500
+
mpi4py (1.3.1+hg20131106-1) unstable; urgency=low
* Fresh upstream snapshot which includes 1.3.1 stable release
diff -Nru mpi4py-1.3.1+hg20131106/debian/patches/series mpi4py-1.3.1+hg20131106/debian/patches/series
--- mpi4py-1.3.1+hg20131106/debian/patches/series 2013-11-06 16:46:58.000000000 -0500
+++ mpi4py-1.3.1+hg20131106/debian/patches/series 2014-11-24 09:21:30.000000000 -0500
@@ -1 +1,2 @@
up_no_modlibs
+up_tests_network_attr
diff -Nru mpi4py-1.3.1+hg20131106/debian/patches/up_tests_network_attr mpi4py-1.3.1+hg20131106/debian/patches/up_tests_network_attr
--- mpi4py-1.3.1+hg20131106/debian/patches/up_tests_network_attr 1969-12-31 19:00:00.000000000 -0500
+++ mpi4py-1.3.1+hg20131106/debian/patches/up_tests_network_attr 2014-11-24 09:21:30.000000000 -0500
@@ -0,0 +1,25 @@
+--- a/test/test_spawn.py
++++ b/test/test_spawn.py
+@@ -2,11 +2,14 @@ import sys, os, mpi4py
+ from mpi4py import MPI
+ import mpiunittest as unittest
+
++from nose.plugins.attrib import attr
++
+ MPI4PYPATH = os.path.abspath(os.path.dirname(mpi4py.__path__[0]))
+ CHILDSCRIPT = os.path.abspath(
+ os.path.join(os.path.dirname(__file__), 'spawn_child.py')
+ )
+
++@attr('network')
+ class BaseTestSpawn(object):
+
+ COMM = MPI.COMM_NULL
+@@ -104,6 +107,7 @@ class BaseTestSpawn(object):
+ child.Disconnect()
+ self.COMM.Barrier()
+
++
+ class TestSpawnSelf(BaseTestSpawn, unittest.TestCase):
+ COMM = MPI.COMM_SELF
+
diff -Nru mpi4py-1.3.1+hg20131106/debian/rules mpi4py-1.3.1+hg20131106/debian/rules
--- mpi4py-1.3.1+hg20131106/debian/rules 2013-11-06 16:46:58.000000000 -0500
+++ mpi4py-1.3.1+hg20131106/debian/rules 2014-11-24 09:21:30.000000000 -0500
@@ -12,6 +12,9 @@
# just use the default.
# MPI=.openmpi
+export http_proxy=http://127.0.0.1:9/
+export https_proxy=http://127.0.0.1:9/
+
%:
dh $@ --with python2,python3$(RECONF),sphinxdoc --buildsystem python_distutils
@@ -83,7 +86,7 @@
set -e; for v in $(PY2VERS) $(PY3VERS); do \
echo "I: testing using python$$v"; \
PYTHONPATH=`/bin/ls -d $(CURDIR)/build/lib.*-$$v` \
- /usr/bin/python$$v /usr/bin/nosetests -v --exclude='testPackUnpackExternal'; \
+ /usr/bin/python$$v /usr/bin/nosetests -v --exclude='testPackUnpackExternal' -A "not network" ; \
done
else
: # Skip unittests due to nocheck
unblock mpi4py/1.3.1+hg20131106-2
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.17-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---