[med-svn] [mypy] 04/04: avoid pytest-xdist

Michael Crusoe misterc-guest at moszumanska.debian.org
Sat Oct 7 17:16:22 UTC 2017


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

misterc-guest pushed a commit to branch temp
in repository mypy.

commit 654d8da057201583b129f316d4147af92ce46dc4
Author: Michael R. Crusoe <michael.crusoe at gmail.com>
Date:   Fri Jul 14 07:51:25 2017 -0700

    avoid pytest-xdist
---
 debian/control            |  1 -
 debian/patches/noparallel | 20 ++++++++++++++++++++
 debian/patches/series     |  1 +
 3 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 888682e..f0c4b7b 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,6 @@ Build-Depends: debhelper (>= 10),
                python3-typed-ast (>= 1.0.3),
                python3-pytest,
                python3-lxml,
-               python3-pytest-xdist,
                python3-pytest-cov,
                flake8,
                help2man
diff --git a/debian/patches/noparallel b/debian/patches/noparallel
new file mode 100644
index 0000000..d9ebf43
--- /dev/null
+++ b/debian/patches/noparallel
@@ -0,0 +1,20 @@
+Author: Michael R. Crusoe <michael.crusoe at gmail.com>
+Description: don't run in parallel to avoid pytest-xdist build-dep
+--- mypy.orig/pytest.ini
++++ mypy/pytest.ini
+@@ -17,5 +17,4 @@
+ python_classes =
+ python_functions =
+ 
+-# always run in parallel (requires pytest-xdist, see test-requirements.txt)
+-addopts = -nauto --cov-append --cov-report=
++addopts = --cov-append --cov-report=
+--- mypy.orig/test-requirements.txt
++++ mypy/test-requirements.txt
+@@ -4,6 +4,5 @@
+ lxml; sys_platform != 'win32' or python_version == '3.5' or python_version == '3.6'
+ typed-ast>=1.0.4,<1.1.0; sys_platform != 'win32' or python_version >= '3.5'
+ pytest>=2.8
+-pytest-xdist>=1.13
+ pytest-cov>=2.4.0
+ typing>=3.5.2; python_version < '3.5'
diff --git a/debian/patches/series b/debian/patches/series
index c3a9b0a..57765ee 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 #adjust-test-py-path
+noparallel

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mypy.git



More information about the debian-med-commit mailing list