[med-svn] [Git][med-team/pydicom][master] 5 commits: remove-unusable-fixtures.patch: new.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Fri Dec 19 17:12:32 GMT 2025
Étienne Mollier pushed to branch master at Debian Med / pydicom
Commits:
fa1841ef by Étienne Mollier at 2025-12-19T17:59:20+01:00
remove-unusable-fixtures.patch: new.
This patch fixes test failures with newer pytest versions.
Closes: #1123168
- - - - -
13370ad4 by Étienne Mollier at 2025-12-19T18:00:53+01:00
d/watch: convert to v5 Github template.
- - - - -
7bf676d9 by Étienne Mollier at 2025-12-19T18:02:37+01:00
d/control: drop redundant Rules-Requires-Root.
- - - - -
3b1f614f by Étienne Mollier at 2025-12-19T18:11:21+01:00
d/control: build depends on pybuild-plugin-pyproject.
- - - - -
5eef8418 by Étienne Mollier at 2025-12-19T18:11:57+01:00
d/changelog: ready for upload to unstable.
- - - - -
5 changed files:
- debian/changelog
- debian/control
- + debian/patches/remove-unusable-fixtures.patch
- debian/patches/series
- debian/watch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+pydicom (2.4.3-3) unstable; urgency=medium
+
+ * Team upload.
+ * remove-unusable-fixtures.patch: new.
+ This patch fixes test failures with newer pytest versions.
+ (Closes: #1123168)
+ * d/watch: convert to v5 Github template.
+ * d/control: drop redundant Rules-Requires-Root.
+ * d/control: build depends on pybuild-plugin-pyproject.
+
+ -- Étienne Mollier <emollier at debian.org> Fri, 19 Dec 2025 18:11:38 +0100
+
pydicom (2.4.3-2) unstable; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -7,6 +7,7 @@ Testsuite: autopkgtest-pkg-python
Priority: optional
Build-Depends: debhelper-compat (= 13),
dh-python,
+ pybuild-plugin-pyproject,
python3-all,
python3-pytest,
python3-setuptools,
@@ -32,7 +33,6 @@ Standards-Version: 4.7.2
Vcs-Browser: https://salsa.debian.org/med-team/pydicom
Vcs-Git: https://salsa.debian.org/med-team/pydicom.git
Homepage: https://pydicom.github.io
-Rules-Requires-Root: no
Package: python3-pydicom
Architecture: all
=====================================
debian/patches/remove-unusable-fixtures.patch
=====================================
@@ -0,0 +1,34 @@
+Description: Remove marked fixtures.
+ These marked fixtures look accidental and related to tests requiring
+ downloads. Therefore, forwarding the change is probably not needed.
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123168
+Forwarded: not-needed
+Last-Update: 2025-12-19
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- pydicom.orig/pydicom/tests/test_data_manager.py
++++ pydicom/pydicom/tests/test_data_manager.py
+@@ -26,7 +26,6 @@
+ EXT_PYDICOM = True
+
+ @pytest.mark.skip("When building a Debian package we can not download anything")
+- at pytest.fixture
+ def download_failure():
+ """Simulate a download failure."""
+ download._SIMULATE_NETWORK_OUTAGE = True
+--- pydicom.orig/pydicom/tests/test_gdcm_pixel_data.py
++++ pydicom/pydicom/tests/test_gdcm_pixel_data.py
+@@ -277,12 +277,10 @@
+ return dcmread(color_3d_jpeg_baseline)
+
+ @pytest.mark.skip("When building a Debian package we can not download anything")
+- @pytest.fixture
+ def jpeg_lossy(self):
+ return dcmread(jpeg_lossy_name)
+
+ @pytest.mark.skip("When building a Debian package we can not download anything")
+- @pytest.fixture
+ def jpeg_lossless(self):
+ return dcmread(jpeg_lossless_name)
+
=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ ignore_tests_downloading_data.patch
ignore_tests_with_wrong_gdcm_usage.patch
sphinx_no_git.patch
skip-i386-incapable-tests.patch
+remove-unusable-fixtures.patch
=====================================
debian/watch
=====================================
@@ -1,3 +1,5 @@
-version=4
-opts="filenamemangle=s/.*\/(.*)/pydicom-$1\.tar\.gz/" \
- https://github.com/darcymason/pydicom/tags (?:.*?/)?v?(\d[\d\.a-z]+).tar.gz
+Version: 5
+
+Template: Github
+Owner: darcymason
+Project: pydicom
View it on GitLab: https://salsa.debian.org/med-team/pydicom/-/compare/eb63427fafd27c54fd071ec993478a8789b958bb...5eef84183f39930ba5d918146d1818c3d31c7b69
--
View it on GitLab: https://salsa.debian.org/med-team/pydicom/-/compare/eb63427fafd27c54fd071ec993478a8789b958bb...5eef84183f39930ba5d918146d1818c3d31c7b69
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/20251219/cdcfcfcf/attachment-0001.htm>
More information about the debian-med-commit
mailing list