[med-svn] [Git][med-team/kineticstools][master] added python3-pytest-xdist in build-depends
Étienne Mollier
gitlab at salsa.debian.org
Sun Apr 19 17:00:35 BST 2020
Étienne Mollier pushed to branch master at Debian Med / kineticstools
Commits:
4d03e7c1 by Etienne Mollier at 2020-04-19T17:56:47+02:00
added python3-pytest-xdist in build-depends
this also undoes the whole thing about dropping parallelization.
- - - - -
4 changed files:
- debian/changelog
- debian/control
- − debian/patches/fix-pytest-unrecognized-arg.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -31,7 +31,8 @@ kineticstools (0.6.1+git20200325.3558942-1) UNRELEASED; urgency=medium
* Build-Depends: python3-pytest-runner
[ Etienne Mollier ]
- * Patched to remove parallelization from build test
+ * Added python3-pytest-xdist to enable parallelization from build test..
+ Thanks Michael Crusoe for the tip!
* Adapted resources coming from usr/lib/python3.8 instead of the former
version usr/lib/python3.7.
=====================================
debian/control
=====================================
@@ -15,7 +15,8 @@ Build-Depends: debhelper-compat (= 12),
python3-scipy,
python3-uritools <!nocheck>,
python3-pytest <!nocheck>,
- python3-pytest-runner <!nocheck>
+ python3-pytest-runner <!nocheck>,
+ python3-pytest-xdist <!nocheck>
Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/med-team/kineticstools
Vcs-Git: https://salsa.debian.org/med-team/kineticstools.git
=====================================
debian/patches/fix-pytest-unrecognized-arg.patch deleted
=====================================
@@ -1,20 +0,0 @@
-Description: Removed test parallelization
- Somehow, one of the components of the nosetest/pytest stack in python 3.8
- seems to not recognize properly distributed testing arguments to be passed to
- pytest.py. It could be a bug on one of these components. Which one ? Not
- sure for the moment, but trying to isolate pytest manually didn't allow one to
- reproduce the issue.
- .
- For some reason the 'auto' option accompanying the -n flag disappeared in the
- original error message:
- pytest.py: error: unrecognized arguments: -n --dist=loadscope test
-Forwarded: not-needed
-Author: Étienne Mollier <etienne.mollier at mailoo.org>
---- kineticstools.orig/pytest.ini
-+++ kineticstools/pytest.ini
-@@ -4,4 +4,4 @@
- pybigwig: requires pyBigWig to be installed
-
- addopts =
-- -v -n auto --dist=loadscope --durations=20 --junit-xml=nosetests.xml
-+ -v --durations=20 --junit-xml=nosetests.xml
=====================================
debian/patches/series
=====================================
@@ -1,4 +1,4 @@
-fix-pytest-unrecognized-arg.patch
+#fix-pytest-unrecognized-arg.patch
man-pages.patch
tests-import.patch
verbose-testing.patch
View it on GitLab: https://salsa.debian.org/med-team/kineticstools/-/commit/4d03e7c147dbdffa587b89e3dfcf48ca609e0b5b
--
View it on GitLab: https://salsa.debian.org/med-team/kineticstools/-/commit/4d03e7c147dbdffa587b89e3dfcf48ca609e0b5b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200419/cb495f90/attachment-0001.html>
More information about the debian-med-commit
mailing list