[med-svn] [Git][python-team/packages/python-multipletau][master] 4 commits: Python3.12: Replace imp by importlib
Andreas Tille (@tille)
gitlab at salsa.debian.org
Mon Dec 11 15:58:12 GMT 2023
Andreas Tille pushed to branch master at Debian Python Team / packages / python-multipletau
Commits:
193423ba by Andreas Tille at 2023-12-11T16:54:18+01:00
Python3.12: Replace imp by importlib
- - - - -
a94ab6aa by Andreas Tille at 2023-12-11T16:54:40+01:00
routine-update: Build-Depends: s/dh-python/dh-sequence-python3/
- - - - -
a1ead565 by Andreas Tille at 2023-12-11T16:54:46+01:00
Set upstream metadata fields: Bug-Database, Bug-Submit.
Changes-By: lintian-brush
Fixes: lintian: upstream-metadata-missing-bug-tracking
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-bug-tracking.html
- - - - -
fa618bd2 by Andreas Tille at 2023-12-11T16:56:17+01:00
routine-update: Ready to upload to unstable
- - - - -
6 changed files:
- debian/changelog
- debian/control
- + debian/patches/python3.12.patch
- debian/patches/series
- debian/rules
- debian/upstream/metadata
Changes:
=====================================
debian/changelog
=====================================
@@ -1,9 +1,17 @@
-python-multipletau (0.3.3+ds-5) UNRELEASED; urgency=medium
+python-multipletau (0.3.3+ds-5) unstable; urgency=medium
+ * Team upload.
+
+ [ Debian Janitor ]
* Set upstream metadata fields: Repository-Browse.
* Update standards version to 4.6.2, no changes needed.
- -- Debian Janitor <janitor at jelmer.uk> Wed, 11 Jan 2023 11:41:03 -0000
+ [ Andreas Tille ]
+ * Python3.12: Replace imp by importlib
+ Closes: #1056487
+ * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
+
+ -- Andreas Tille <tille at debian.org> Mon, 11 Dec 2023 16:54:53 +0100
python-multipletau (0.3.3+ds-4) unstable; urgency=medium
=====================================
debian/control
=====================================
@@ -4,7 +4,7 @@ Uploaders: Alexandre Mestiashvili <mestia at debian.org>
Section: python
Priority: optional
Build-Depends: debhelper-compat (= 13),
- dh-python,
+ dh-sequence-python3,
python3-all,
python3-mock,
python3-numpy,
=====================================
debian/patches/python3.12.patch
=====================================
@@ -0,0 +1,25 @@
+Description: Python3.12: Replace imp by importlib
+Bug-Debian: https://bugs.debian.org/1056487
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 11 Dec 2023 16:52:36 +0100
+
+--- a/multipletau/_version.py
++++ b/multipletau/_version.py
+@@ -12,7 +12,7 @@ from __future__ import print_function
+ # Put the entire script into a `True` statement and add the hint
+ # `pragma: no cover` to ignore code coverage here.
+ if True: # pragma: no cover
+- import imp
++ import importlib
+ import os
+ from os.path import abspath, basename, dirname, join
+ import subprocess
+@@ -69,7 +69,7 @@ if True: # pragma: no cover
+ """load version from version_save.py"""
+ longversion = ""
+ try:
+- _version_save = imp.load_source("_version_save", versionfile)
++ _version_save = importlib.util.spec_from_file_location("_version_save", versionfile)
+ longversion = _version_save.longversion
+ except BaseException:
+ try:
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
examples_location.patch
packaged-mathjax.patch
+python3.12.patch
=====================================
debian/rules
=====================================
@@ -5,7 +5,7 @@ export PYBUILD_TEST_PYTEST=1
export LC_ALL=C.UTF-8
%:
- dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+ dh $@ --with sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
=====================================
debian/upstream/metadata
=====================================
@@ -1,2 +1,4 @@
---
+Bug-Database: https://github.com/FCS-analysis/multipletau/issues
+Bug-Submit: https://github.com/FCS-analysis/multipletau/issues/new
Repository-Browse: https://github.com/FCS-analysis/multipletau
View it on GitLab: https://salsa.debian.org/python-team/packages/python-multipletau/-/compare/7cd85cd367d654c6a30cde37ad71f058bf4c3157...fa618bd2b5ee772c74a5a431673c04b11653998d
--
View it on GitLab: https://salsa.debian.org/python-team/packages/python-multipletau/-/compare/7cd85cd367d654c6a30cde37ad71f058bf4c3157...fa618bd2b5ee772c74a5a431673c04b11653998d
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/20231211/8319ce97/attachment-0001.htm>
More information about the debian-med-commit
mailing list