[med-svn] [Git][med-team/kineticstools][master] 3 commits: ressources moved to /usr/lib/python3.8

Étienne Mollier gitlab at salsa.debian.org
Sun Apr 19 14:39:46 BST 2020



Étienne Mollier pushed to branch master at Debian Med / kineticstools


Commits:
e9ec1f71 by Etienne Mollier at 2020-04-19T15:08:16+02:00
ressources moved to /usr/lib/python3.8

This triggered errors at installation because they were formerly
pulled from /usr/lib/python3.7 which ended up being missing.

- - - - -
c94ff7b5 by Etienne Mollier at 2020-04-19T15:22:37+02:00
added patch to fix testing

this removes parallelization arguments as they seem to break the
testing procedure at t time.  Hopefully this is temporary.

- - - - -
f59fbc0e by Etienne Mollier at 2020-04-19T15:28:40+02:00
documented changes in d/changelog

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/fix-pytest-unrecognized-arg.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -30,6 +30,11 @@ kineticstools (0.6.1+git20200325.3558942-1) UNRELEASED; urgency=medium
     update)
   * Build-Depends: python3-pytest-runner
 
+  [ Etienne Mollier ]
+  * Patched to remove parallelization from build test
+  * Adapted ressources coming from usr/lib/python3.8 instead of the former
+    version usr/lib/python3.7.
+
  -- Steffen Moeller <moeller at debian.org>  Sun, 19 Apr 2020 13:03:11 +0200
 
 kineticstools (0.6.1+git20180425.27a1878-2) unstable; urgency=medium


=====================================
debian/patches/fix-pytest-unrecognized-arg.patch
=====================================
@@ -0,0 +1,20 @@
+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 to
+ reproduce the issue.
+ .
+ For some reason the 'auto' option accompanying the -n flag disapeared 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,3 +1,4 @@
+fix-pytest-unrecognized-arg.patch
 man-pages.patch
 tests-import.patch
 verbose-testing.patch


=====================================
debian/rules
=====================================
@@ -26,8 +26,7 @@ override_dh_auto_install:
 	mkdir -p $(MANDIR)/man1
 	rst2man doc/manual.rst > $(MANDIR)/man1/ipdSummary.1
 	mkdir -p debian/kineticstools-data/usr/share/kineticstools
-	mv debian/python3-kineticstools/usr/lib/python3.7/dist-packages/kineticsTools/resources debian/kineticstools-data/usr/share/kineticstools/
-	rm -r debian/python3-kineticstools/usr/lib/python3.8/dist-packages/kineticsTools/resources
+	mv debian/python3-kineticstools/usr/lib/python3.8/dist-packages/kineticsTools/resources debian/kineticstools-data/usr/share/kineticstools/
 
 override_dh_auto_clean:
 	dh_auto_clean



View it on GitLab: https://salsa.debian.org/med-team/kineticstools/-/compare/c8ec3aa79618286f72cec23cc17d88e37634dfe3...f59fbc0e8f8bddd4e02aa0cf507a6613fcf6c9fb

-- 
View it on GitLab: https://salsa.debian.org/med-team/kineticstools/-/compare/c8ec3aa79618286f72cec23cc17d88e37634dfe3...f59fbc0e8f8bddd4e02aa0cf507a6613fcf6c9fb
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/8b64006c/attachment-0001.html>


More information about the debian-med-commit mailing list