Andreas Tille pushed to branch master at Debian Med / python-loompy
Commits: 57b39f28 by Andreas Tille at 2024-12-04T09:18:56+01:00 Team upload. - - - - - 158acf2f by Andreas Tille at 2024-12-04T09:18:56+01:00 Standards-Version: 4.7.0 (routine-update) - - - - - 448b5659 by Andreas Tille at 2024-12-04T09:37:26+01:00 Fix syntax issue with Python3.12 - - - - - 4 changed files: - debian/changelog - debian/control - + debian/patches/python3.12.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,11 @@ +python-loompy (3.0.7+dfsg-4) UNRELEASED; urgency=medium + + * Team upload. + * Standards-Version: 4.7.0 (routine-update) + * Fix syntax error with Python3.12 + + -- Andreas Tille <[email protected]> Wed, 04 Dec 2024 09:09:19 +0100 + python-loompy (3.0.7+dfsg-3) unstable; urgency=medium * Team upload. ===================================== debian/control ===================================== @@ -14,7 +14,7 @@ Build-Depends: debhelper-compat (= 13), python3-scipy <!nocheck>, python3-numpy-groupies <!nocheck>, python3-pytest <!nocheck> -Standards-Version: 4.6.2 +Standards-Version: 4.7.0 Vcs-Browser: https://salsa.debian.org/med-team/python-loompy Vcs-Git: https://salsa.debian.org/med-team/python-loompy.git Homepage: https://github.com/linnarsson-lab/loompy ===================================== debian/patches/python3.12.patch ===================================== @@ -0,0 +1,15 @@ +Author: Andreas Tille <[email protected]> +Last-Update: 2024-12-04 +Description: Fix syntax error with Python3.12 + +--- a/loompy/view_manager.py ++++ b/loompy/view_manager.py +@@ -20,7 +20,7 @@ class ViewManager: + Returns: + A LoomView object, an in-memory representation of the sliced file + """ +- if type(slice_) is not tuple or len(slice_) is not 2: ++ if type(slice_) is not tuple or len(slice_) != 2: + raise ValueError("Views require slices along two dimensions") + + rows = slice_[0] ===================================== debian/patches/series ===================================== @@ -1,2 +1,3 @@ tests-open-loom-write-permissions.patch numpy_1.24.patch +python3.12.patch View it on GitLab: https://salsa.debian.org/med-team/python-loompy/-/compare/6bf9014a9fd834fffe56815427d6fca8b3dc5f52...448b56591add9eaded868340569ff2e8f38c7f1b -- View it on GitLab: https://salsa.debian.org/med-team/python-loompy/-/compare/6bf9014a9fd834fffe56815427d6fca8b3dc5f52...448b56591add9eaded868340569ff2e8f38c7f1b 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
