[med-svn] [Git][med-team/pycorrfit][master] try another workaround again to fix autopkgtest issue

vimerbf (@vimerbf-guest) gitlab at salsa.debian.org
Wed Jul 3 03:56:56 BST 2024



vimerbf pushed to branch master at Debian Med / pycorrfit


Commits:
5a7212b0 by Bo YU at 2024-07-03T09:48:13+08:00
try another workaround again to fix autopkgtest issue

Signed-off-by: Bo YU <tsu.yubo at gmail.com>

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/patches/series
- + debian/patches/use-importlib.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -3,7 +3,7 @@ pycorrfit (1.1.7+dfsg-3) unstable; urgency=medium
   * Team upload.
   
   [ Bo YU]
-  * Add python3-zombie-imp on d/control to workaround to fix ftbfs. 
+  * Add use-importlib.patch to workaround to fix ftbfs. 
    (Closes: #1074222). Thanks Andreas Tille working on this.
    
   [ Andreas Tille ]


=====================================
debian/control
=====================================
@@ -27,7 +27,6 @@ Build-Depends: cython3,
                texlive-latex-extra,
                texlive-latex-recommended,
                texlive-science,
-               python3-zombie-imp,
 Standards-Version: 4.7.0
 Vcs-Browser: https://salsa.debian.org/med-team/pycorrfit
 Vcs-Git: https://salsa.debian.org/med-team/pycorrfit.git


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
+use-importlib.patch
 fix_doc.patch


=====================================
debian/patches/use-importlib.patch
=====================================
@@ -0,0 +1,18 @@
+Description: fix ftbfs on python3.12
+Author: Bo YU <tsu.yubo at gmail.com>
+Bug: https://bugs.debian.org/1074222
+Forwarded: https://github.com/FCS-analysis/PyCorrFit/issues/208
+Last-Update: 2024-07-02
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/pycorrfit/_version.py
++++ b/pycorrfit/_version.py
+@@ -12,7 +12,7 @@
+ # 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



View it on GitLab: https://salsa.debian.org/med-team/pycorrfit/-/commit/5a7212b0ebab216f91343ce613ada510dba9b027

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/med-team/pycorrfit/-/commit/5a7212b0ebab216f91343ce613ada510dba9b027
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/20240703/481c1741/attachment-0001.htm>


More information about the debian-med-commit mailing list