[Debian-med-packaging] Bug#1073586: obitools: extractreads fails to run
Sudip Mukherjee
sudipm.mukherjee at gmail.com
Tue Jun 18 14:37:43 BST 2024
Control: tags -1 patch
--
The attached patch will fix the problem.
--
Regards
Sudip
-------------- next part --------------
diff -Nru obitools-1.2.13+dfsg/debian/changelog obitools-1.2.13+dfsg/debian/changelog
--- obitools-1.2.13+dfsg/debian/changelog 2024-04-20 09:41:15.000000000 +0100
+++ obitools-1.2.13+dfsg/debian/changelog 2024-06-18 14:15:04.000000000 +0100
@@ -1,3 +1,10 @@
+obitools (1.2.13+dfsg-8.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Use pickle to fix error with extractreads. (Closes: #1073586)
+
+ -- Sudip Mukherjee <sudipm.mukherjee at gmail.com> Tue, 18 Jun 2024 14:15:04 +0100
+
obitools (1.2.13+dfsg-8) unstable; urgency=medium
* Team upload.
diff -Nru obitools-1.2.13+dfsg/debian/patches/series obitools-1.2.13+dfsg/debian/patches/series
--- obitools-1.2.13+dfsg/debian/patches/series 2024-04-20 09:41:15.000000000 +0100
+++ obitools-1.2.13+dfsg/debian/patches/series 2024-06-18 14:15:00.000000000 +0100
@@ -5,3 +5,4 @@
deocde-bytes-to-str.patch
no_cython_in_binary_package.patch
qsort.patch
+use_pickle.patch
diff -Nru obitools-1.2.13+dfsg/debian/patches/use_pickle.patch obitools-1.2.13+dfsg/debian/patches/use_pickle.patch
--- obitools-1.2.13+dfsg/debian/patches/use_pickle.patch 1970-01-01 01:00:00.000000000 +0100
+++ obitools-1.2.13+dfsg/debian/patches/use_pickle.patch 2024-06-18 14:15:04.000000000 +0100
@@ -0,0 +1,18 @@
+Description: Use pickle, cPickle is not available now.
+
+Bug-Debian: https://bugs.debian.org/1073586
+Forwarded: no
+Last-Update: 2024-06-18
+---
+
+--- obitools-1.2.13+dfsg.orig/src/obitools/word/_readindex.pyx
++++ obitools-1.2.13+dfsg/src/obitools/word/_readindex.pyx
+@@ -8,7 +8,7 @@ from cpython.bytes cimport PyBytes_FromS
+ import sys
+
+ from threading import Lock
+-from cPickle import dumps,loads
++from pickle import dumps,loads
+
+ from obitools._obitools import NucSequence
+ from turtle import Tbuffer
More information about the Debian-med-packaging
mailing list