[med-svn] [Git][med-team/pairtools][master] 5 commits: B-D also on pytest-cov

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Sun Jan 1 05:24:33 GMT 2023



Nilesh Patra pushed to branch master at Debian Med / pairtools


Commits:
02b4d93e by Nilesh Patra at 2023-01-01T09:28:27+05:30
B-D also on pytest-cov

- - - - -
242aae69 by Nilesh Patra at 2023-01-01T10:29:28+05:30
Upload to unstable

- - - - -
7e42c394 by Nilesh Patra at 2023-01-01T10:33:16+05:30
Add patch to not run coverage tests

- - - - -
ba655e51 by Nilesh Patra at 2023-01-01T10:52:52+05:30
TODO: tweak tests to pass correct pyvers

- - - - -
5a7934bb by Nilesh Patra at 2023-01-01T10:54:24+05:30
[ci skip] Purge .stats files

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/do-not-run-coverage.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-pairtools (1.0.2-1) UNRELEASED; urgency=medium
+pairtools (1.0.2-1) unstable; urgency=medium
 
   [ Nilesh Patra ]
   * Team Upload.
@@ -12,13 +12,15 @@ pairtools (1.0.2-1) UNRELEASED; urgency=medium
     way anymore
   * Get rid of B-D on sphinx-click
   * Move doc/examples/* installation to dedicated examples package
+  * Add patch to not run coverage tests. It makes no sense to
+    run them downstream.
 
   [ Andreas Tille]
   * Fix clean target
   * Build-Depends: python3-pandas, python3-pysam, python3-scipy, libhts-dev,
                    python3-yaml <!nocheck>
 
- -- Nilesh Patra <nilesh at debian.org>  Sat, 31 Dec 2022 17:47:56 +0000
+ -- Nilesh Patra <nilesh at debian.org>  Sun, 01 Jan 2023 10:52:19 +0530
 
 pairtools (0.3.0-3.2) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -13,7 +13,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-numpy,
                python3-pandas,
                python3-pysam (>= 0.20.0+ds-3~),
-               python3-pytest,
+               python3-pytest <!nocheck>,
                python3-scipy,
                libhts-dev,
                python3-yaml <!nocheck>


=====================================
debian/patches/do-not-run-coverage.patch
=====================================
@@ -0,0 +1,17 @@
+Description: Do not run coverage tests, it makes no sense to run those downstream
+Author: Nilesh Patra <nilesh at debian.org>
+Forwarded: not-needed
+Last-Update: 2023-01-01
+--- a/pytest.ini
++++ b/pytest.ini
+@@ -1,10 +1,4 @@
+ [pytest]
+-addopts = 
+-    --cov pairtools
+-    --cov-config .coveragerc
+-    --cov-report term-missing
+-    --cov-report html
+-    --cov-report xml
+ filterwarnings =
+     ignore::PendingDeprecationWarning
+ testpaths =


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ fix-spelling
 tests-to-python3
 numpy-1.24.patch
 fix-pysam-ftbfs.patch
+do-not-run-coverage.patch


=====================================
debian/rules
=====================================
@@ -11,3 +11,6 @@ export PYBUILD_DESTDIR_python3=debian/python3-pairtools/
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -f pairtools/lib/*.c pairtools/lib/regions.cpp
+
+execute_after_dh_auto_install:
+	find debian/ -name '*.stats' -delete



View it on GitLab: https://salsa.debian.org/med-team/pairtools/-/compare/0dffa681a006f630a432bc4731f608b057537675...5a7934bb85b02a9f871a5bd717ae9449bafa49b9

-- 
View it on GitLab: https://salsa.debian.org/med-team/pairtools/-/compare/0dffa681a006f630a432bc4731f608b057537675...5a7934bb85b02a9f871a5bd717ae9449bafa49b9
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/20230101/3ccdd00e/attachment-0001.htm>


More information about the debian-med-commit mailing list