[Python-modules-commits] [manuel] 01/03: Even though tests_requires are satisfied by Build-Depends, Python 3.5 will still try to download tests_requires packages from PyPI. Prevent this from happening, which will break things like autopkgtests.

Barry Warsaw barry at moszumanska.debian.org
Tue Nov 3 00:28:00 UTC 2015


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

barry pushed a commit to branch master
in repository manuel.

commit 4d48e905f42b283375f488a00315884258422eae
Author: Barry Warsaw <barry at python.org>
Date:   Mon Nov 2 18:03:58 2015 -0600

    Even though tests_requires are satisfied by Build-Depends, Python 3.5 will
    still try to download tests_requires packages from PyPI.  Prevent this from
    happening, which will break things like autopkgtests.
    
    Patch-Name: disable-tests-requires.patch
---
 setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 4561779..1cb75e6 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,8 @@ with open('README.rst') as readme:
     with open('CHANGES.rst') as changes:
         long_description = readme.read() + '\n\n' + changes.read()
 
-tests_require = ['zope.testing']
+#tests_require = ['zope.testing']
+tests_require = []
 
 setup(
     name='manuel',

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



More information about the Python-modules-commits mailing list