[med-svn] [Git][med-team/paleomix][master] 5 commits: python3.11.patch: add; fix test failure with python3.11.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sat Jan 14 18:31:42 GMT 2023



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


Commits:
b76cbe6c by Étienne Mollier at 2023-01-14T19:25:41+01:00
python3.11.patch: add; fix test failure with python3.11.

Closes: #1028856

- - - - -
2b794441 by Étienne Mollier at 2023-01-14T19:27:31+01:00
d/copyright: bump copyright year.

- - - - -
ef640405 by Étienne Mollier at 2023-01-14T19:27:50+01:00
update changelog.

- - - - -
3e4f1c8c by Étienne Mollier at 2023-01-14T19:28:43+01:00
routine-update: Standards-Version: 4.6.2

- - - - -
bb9fff25 by Étienne Mollier at 2023-01-14T19:30:46+01:00
routine-update: Ready to upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/control
- debian/copyright
- + debian/patches/python3.11.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,11 @@
-paleomix (1.3.7-3) UNRELEASED; urgency=medium
+paleomix (1.3.7-3) unstable; urgency=medium
 
   * d/salsa-ci.yml: disable i386 and reprotest; they always failed.
+  * python3.11.patch: add; fix test failure with python3.11. (Closes: #1028856)
+  * d/copyright: bump copyright year.
+  * Standards-Version: 4.6.2 (routine-update)
 
- -- Étienne Mollier <emollier at debian.org>  Sat, 10 Sep 2022 23:15:15 +0200
+ -- Étienne Mollier <emollier at debian.org>  Sat, 14 Jan 2023 19:29:03 +0100
 
 paleomix (1.3.7-2) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -19,7 +19,7 @@ Build-Depends: debhelper-compat (= 13),
                rsync,
                examl,
                picard-tools
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/paleomix
 Vcs-Git: https://salsa.debian.org/med-team/paleomix.git
 Homepage: https://geogenetics.ku.dk/publications/paleomix


=====================================
debian/copyright
=====================================
@@ -25,6 +25,7 @@ License: GPL-3+
 
 Files: debian/*
 Copyright: 2017-2020 Andreas Tille <tille at debian.org>
+           2020-2023 Étienne Mollier <emollier at debian.org>
 License: MIT
 
 License: MIT


=====================================
debian/patches/python3.11.patch
=====================================
@@ -0,0 +1,20 @@
+Description: fix test failure with python3.11
+ Forwarding is not needed because upcoming versions will get away with atomic
+ commands.
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028856
+Forwarded: not-needed
+Last-Update: 2023-01-14
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- paleomix.orig/tests/atomiccmd_test/command_test.py
++++ paleomix/tests/atomiccmd_test/command_test.py
+@@ -370,7 +370,7 @@
+ def test_atomiccmd__paths__key(tmp_path):
+     cmd = AtomicCmd(("echo", "-n", "%(TEMP_DIR)s"), OUT_STDOUT=AtomicCmd.PIPE)
+     cmd.run(tmp_path)
+-    path = cmd._proc.stdout.read()
++    path = cmd._proc.stdout.read().decode()
+     assert tmp_path.samefile(path), (tmp_path, path)
+     assert cmd.join() == [0]
+ 


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 xfail_command_tests.patch
+python3.11.patch



View it on GitLab: https://salsa.debian.org/med-team/paleomix/-/compare/f358511f2d8c797d233eaaaa4e41699997658dcd...bb9fff2564ec060678a98380342323105d6b0822

-- 
View it on GitLab: https://salsa.debian.org/med-team/paleomix/-/compare/f358511f2d8c797d233eaaaa4e41699997658dcd...bb9fff2564ec060678a98380342323105d6b0822
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/20230114/7fd6d0a7/attachment-0001.htm>


More information about the debian-med-commit mailing list