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 <[email protected]> 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 <[email protected]> +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.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
