[Python-modules-commits] [tox] 01/01: Update DEP-8 tests.

Barry Warsaw barry at moszumanska.debian.org
Tue Feb 16 17:36:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository tox.

commit b2c6b8b08832b21dfb288425c713d7cc713b158c
Author: Barry Warsaw <barry at python.org>
Date:   Tue Feb 16 12:33:44 2016 -0500

    Update DEP-8 tests.
---
 debian/changelog     |  3 +++
 debian/tests/built   | 10 ++++++++++
 debian/tests/control |  2 +-
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 8514cca..cea475e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ tox (2.3.1-2) UNRELEASED; urgency=medium
       version of the library gets installed correctly.
     - Remove debian/tox.install since that was hardcoded to a specific
       Python 3 version, which might not exist.
+  * d/tests
+    - control: Update dependencies.
+    - built: export VIRTUALENV_DOWNLOAD=no to really prevent hitting PyPI.
 
  -- Barry Warsaw <barry at debian.org>  Tue, 16 Feb 2016 09:39:09 -0500
 
diff --git a/debian/tests/built b/debian/tests/built
index cb3138b..779f82f 100644
--- a/debian/tests/built
+++ b/debian/tests/built
@@ -1,5 +1,15 @@
 #!/bin/sh
 export http_proxy=http://127.0.9.1:9
 export https_proxy=https://127.0.9.1:9
+
+# 2016-02-16 barry at debian.org: This shouldn't strictly be necessary because
+# virtualenv should be robust when PyPI can't be contacted.  It seems though
+# that something in our stack of packages (most likely in some debundled
+# piece) causes the fallback mechanism to not be invoked.  My current guess is
+# that our python3-urllib3 hits a traceback and that percolates up.  In any
+# event for now, by setting this environment variable, we can really prevent
+# attempts at downloading.
+export VIRTUALENV_DOWNLOAD=no
+
 export toxenv=`python3 -c "import sys; print('py{}{}'.format(*sys.version_info[:2]))"`
 tox -e $toxenv --sitepackages tests
diff --git a/debian/tests/control b/debian/tests/control
index 67b95f0..bb4acbb 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
 Tests: built
 Depends: @, python3-all, python3-pytest, python-pytest, python3-pip,
-         virtualenv, python3-pytest-timeout
+         virtualenv, python3-pytest-timeout, python3-pluggy

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/tox.git



More information about the Python-modules-commits mailing list