Andreas Tille pushed to branch master at Debian Med / qiime
Commits: 166b5709 by Athos Ribeiro at 2024-06-06T00:16:03-03:00 d/p/configparser.patch: support python 3.12 configparser - - - - - 3e5f15b5 by Athos Ribeiro at 2024-06-06T00:26:02-03:00 Update changelog for 2024.2.0-2 release - - - - - 48c89848 by Andreas Tille at 2024-06-06T09:39:49+00:00 Merge branch 'configparser' into 'master' Support Python 3.12 See merge request med-team/qiime!1 - - - - - 3 changed files: - debian/changelog - + debian/patches/configparser.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,7 +1,13 @@ -qiime (2024.2.0-2) UNRELEASED; urgency=medium +qiime (2024.2.0-2) unstable; urgency=medium + Team upload. + + [ Andreas Tille ] * Fix issue with self._raw_path for Python3.12 + [ Athos Ribeiro ] + * d/p/configparser.patch: support python 3.12 configparser + -- Andreas Tille <[email protected]> Fri, 23 Feb 2024 16:24:14 +0100 qiime (2024.2.0-1) unstable; urgency=medium ===================================== debian/patches/configparser.patch ===================================== @@ -0,0 +1,35 @@ +From: Athos Ribeiro <[email protected]> +Date: Mon, 3 Jun 2024 11:31:54 -0300 +Subject: [PATCH] Use ConfigParser instead of SafeConfigParser + +The configparser's SafeConfigParser has been renamed to ConfigParser in +Python 3.2 [1]. It was finally removed in Python 3.12 [2]. + +[1] https://docs.python.org/dev/whatsnew/3.2.html#configparser +[2] https://docs.python.org/3/whatsnew/3.12.html#configparser + +Last-Update: 2024-06-03 +Forwarded: not-needed, see https://github.com/qiime2/q2-sample-classifier/pull/229 +--- + versioneer.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/versioneer.py b/versioneer.py +index a5e7a20..886455f 100644 +--- a/versioneer.py ++++ b/versioneer.py +@@ -340,9 +340,9 @@ def get_config_from_root(root): + # configparser.NoOptionError (if it lacks "VCS="). See the docstring at + # the top of versioneer.py for instructions on writing your setup.cfg . + setup_cfg = os.path.join(root, "setup.cfg") +- parser = configparser.SafeConfigParser() ++ parser = configparser.ConfigParser() + with open(setup_cfg, "r") as f: +- parser.readfp(f) ++ parser.read_file(f) + VCS = parser.get("versioneer", "VCS") # mandatory + + def get(parser, name): +-- +2.43.0 + ===================================== debian/patches/series ===================================== @@ -3,3 +3,4 @@ python3.9.patch enable_decorator_5.patch python3.10.patch python3.12.patch +configparser.patch View it on GitLab: https://salsa.debian.org/med-team/qiime/-/compare/954aabb1084e83c93939c0da56dee9228095e2df...48c8984867b50cef82d1d497494ecc470dc4805e -- This project does not include diff previews in email notifications. View it on GitLab: https://salsa.debian.org/med-team/qiime/-/compare/954aabb1084e83c93939c0da56dee9228095e2df...48c8984867b50cef82d1d497494ecc470dc4805e 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
