[med-svn] [Git][med-team/nibabel][master] Fix Python3.10 issue
Andreas Tille (@tille)
gitlab at salsa.debian.org
Thu Dec 23 07:34:00 GMT 2021
Andreas Tille pushed to branch master at Debian Med / nibabel
Commits:
ef9ab966 by Andreas Tille at 2021-12-23T08:22:26+01:00
Fix Python3.10 issue
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/python3.10.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+nibabel (3.2.1-4) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Fix Python3.10 issue
+
+ -- Andreas Tille <tille at debian.org> Thu, 23 Dec 2021 07:44:31 +0100
+
nibabel (3.2.1-3) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/python3.10.patch
=====================================
@@ -0,0 +1,18 @@
+Description: Fix Python3.10 issue
+ The 'str' type is expected to always be encoded utf-8, so it is not possible to
+ decode an from any other encodings anymore.
+Author: Étienne Mollier <emollier at emlwks999.eu>
+Last-Update: Wed, 22 Dec 2021 23:11:18 +0100
+Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868229#65
+
+--- a/nibabel/cmdline/dicomfs.py
++++ b/nibabel/cmdline/dicomfs.py
+@@ -229,7 +229,7 @@ def main(args=None):
+ fs = DICOMFS(
+ dash_s_do='setsingle',
+ followlinks=opts.followlinks,
+- dicom_path=files[0].decode(encoding)
++ dicom_path=files[0]
+ )
+ fs.parse(['-f', '-s', files[1]])
+ try:
=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ deb_localmathjax
no_doc_sources
fix_version_for_sphinx_doc.patch
983.patch
+python3.10.patch
View it on GitLab: https://salsa.debian.org/med-team/nibabel/-/commit/ef9ab96672f5ef215f11e78d299707c38fe8d961
--
View it on GitLab: https://salsa.debian.org/med-team/nibabel/-/commit/ef9ab96672f5ef215f11e78d299707c38fe8d961
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/20211223/07eadf66/attachment-0001.htm>
More information about the debian-med-commit
mailing list