[med-svn] [Git][med-team/conda-package-handling][master] 2 commits: Drop more options that break tests under Debian.
Santiago Vila (@sanvila)
gitlab at salsa.debian.org
Thu Apr 2 10:50:53 BST 2026
Santiago Vila pushed to branch master at Debian Med / conda-package-handling
Commits:
a971fb1a by Santiago Vila at 2026-04-02T11:38:00+02:00
Drop more options that break tests under Debian.
- - - - -
e3b45b50 by Santiago Vila at 2026-04-02T11:39:00+02:00
Disable test requiring network.
- - - - -
3 changed files:
- + debian/patches/disable-network-test.patch
- debian/patches/fix_test.patch
- debian/patches/series
Changes:
=====================================
debian/patches/disable-network-test.patch
=====================================
@@ -0,0 +1,13 @@
+From: Santiago Vila <sanvila at debian.org>
+Subject: Disable test requiring network
+
+--- a/tests/test_cli.py
++++ b/tests/test_cli.py
+@@ -92,6 +92,7 @@
+ assert listed_files == n_files # no info filtering in tar.bz2
+
+
++ at pytest.mark.skip(reason="Requires network access")
+ @pytest.mark.parametrize(
+ "fn,n_files",
+ [
=====================================
debian/patches/fix_test.patch
=====================================
@@ -1,14 +1,17 @@
Author: Andreas Tille <tille at debian.org>
-Last-Update: Wed, 20 Nov 2019 11:50:46 +0100
-Description: Drop option that breaks tests under Debian
+Description: Drop options that break tests under Debian
+Last-Update: 2026-04-02
--- a/pyproject.toml
+++ b/pyproject.toml
-@@ -12,7 +12,6 @@ addopts = [
+@@ -10,10 +10,6 @@
+ norecursedirs = [".*", "*.egg*", "build", "dist", "conda.recipe"]
+ addopts = [
"--junitxml=junit.xml",
- "--ignore setup.py",
- "--ignore run_test.py",
+- "--ignore setup.py",
+- "--ignore run_test.py",
- "--cov-report term-missing",
- "--tb native",
+- "--tb native",
"--strict-markers",
"--durations=20",
+ ]
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@
fix_test.patch
skip-test-timeline.patch
#32-bit.patch
+disable-network-test.patch
View it on GitLab: https://salsa.debian.org/med-team/conda-package-handling/-/compare/f5ed0822ef27e25141c715915ebd9d60561ff5f7...e3b45b50ea27d226e86112fe1493e7bb88fbbbd4
--
View it on GitLab: https://salsa.debian.org/med-team/conda-package-handling/-/compare/f5ed0822ef27e25141c715915ebd9d60561ff5f7...e3b45b50ea27d226e86112fe1493e7bb88fbbbd4
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/20260402/a282c9fd/attachment-0001.htm>
More information about the debian-med-commit
mailing list