[med-svn] [Git][med-team/dcmstack][master] 5 commits: pytest-8.patch: new: fix test failures with pytest 8.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Wed May 29 13:30:36 BST 2024



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


Commits:
56bf9b28 by Étienne Mollier at 2024-05-29T14:19:25+02:00
pytest-8.patch: new: fix test failures with pytest 8.

Closes: #1063943, #1071794

- - - - -
7812aced by Étienne Mollier at 2024-05-29T14:22:46+02:00
d/control: add myself to uploaders.

- - - - -
c63b32cc by Étienne Mollier at 2024-05-29T14:23:05+02:00
d/control: declare compliance to standards version 4.7.0.

- - - - -
1395cd6e by Étienne Mollier at 2024-05-29T14:27:04+02:00
d/man/*.1: fix slight issue in scripted manuals.

- - - - -
51c39c97 by Étienne Mollier at 2024-05-29T14:29:39+02:00
ready to upload to unstable.

- - - - -


6 changed files:

- debian/changelog
- debian/control
- debian/man/dcmstack.1
- debian/man/nitool.1
- + debian/patches/pytest-8.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,17 @@
+dcmstack (0.9-2) unstable; urgency=medium
+
+  [ Alexandre Detiste ]
+  * patch-out usage of legacy python3-mock
+
+  [ Étienne Mollier ]
+  * pytest-8.patch: new: fix test failures with pytest 8.
+    (Closes: #1063943, #1071794)
+  * d/control: add myself to uploaders.
+  * d/control: declare compliance to standards version 4.7.0.
+  * d/man/*.1: fix slight issue in scripted manuals.
+
+ -- Étienne Mollier <emollier at debian.org>  Wed, 29 May 2024 14:27:30 +0200
+
 dcmstack (0.9-1) unstable; urgency=medium
 
   * Fresh upstream release


=====================================
debian/control
=====================================
@@ -1,7 +1,8 @@
 Source: dcmstack
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Michael Hanke <mih at debian.org>,
-           Yaroslav Halchenko <debian at onerussian.com>
+           Yaroslav Halchenko <debian at onerussian.com>,
+           Étienne Mollier <emollier at debian.org>
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
@@ -15,7 +16,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-pytest,
                python3-setuptools,
                python3-sphinx
-Standards-Version: 4.6.0
+Standards-Version: 4.7.0
 Vcs-Browser: https://salsa.debian.org/med-team/dcmstack
 Vcs-Git: https://salsa.debian.org/med-team/dcmstack.git
 Homepage: https://github.com/moloney/dcmstack


=====================================
debian/man/dcmstack.1
=====================================
@@ -136,4 +136,6 @@ Show the version and exit.
 .PP
 IT IS YOUR RESPONSIBILITY TO KNOW IF THERE IS PRIVATE HEALTH INFORMATION IN
 THE METADATA EXTRACTED BY THIS PROGRAM.
-.SH AUTHOR\n This manpage was written by Nilesh Patra for the Debian distribution and\n can be used for any other usage of the program.
+.SH AUTHOR
+This manpage was written by Nilesh Patra for the Debian distribution
+and can be used for any other usage of the program.


=====================================
debian/man/nitool.1
=====================================
@@ -34,4 +34,6 @@ Lookup the value for the given meta data key.
 .TP
 inject
 Inject meta data into the JSON extension.
-.SH AUTHOR\n This manpage was written by Nilesh Patra for the Debian distribution and\n can be used for any other usage of the program.
+.SH AUTHOR
+This manpage was written by Nilesh Patra for the Debian distribution
+and can be used for any other usage of the program.


=====================================
debian/patches/pytest-8.patch
=====================================
@@ -0,0 +1,23 @@
+Description: fix test failures with pytest 8.
+
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063943,
+Forwarded: https://github.com/moloney/dcmstack/pull/87
+Last-Update: 2024-05-29
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- dcmstack.orig/test/test_cli.py
++++ dcmstack/test/test_cli.py
+@@ -43,10 +43,10 @@
+ 
+ 
+ class CliTest(object):
+-    def setup(self):
++    def setup_method(self):
+         self.out_dir = mkdtemp(prefix='dcmstack_cli_test_out')
+ 
+-    def teardown(self):
++    def teardown_method(self):
+         shutil.rmtree(self.out_dir)
+ 
+ 


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 remove-python3-mock
+pytest-8.patch



View it on GitLab: https://salsa.debian.org/med-team/dcmstack/-/compare/b97c19ef40de789e829c37a6477fbc31eb201703...51c39c972d9a8fc85d5eed445124d8d4050a356e

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/med-team/dcmstack/-/compare/b97c19ef40de789e829c37a6477fbc31eb201703...51c39c972d9a8fc85d5eed445124d8d4050a356e
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/20240529/aa8d8ffa/attachment-0001.htm>


More information about the debian-med-commit mailing list