[med-svn] [Git][med-team/mcaller][master] 5 commits: Add prefixes.patch, fixing FTBFS with sklearn 1.0.2-1

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sun Apr 24 09:09:37 BST 2022



Étienne Mollier pushed to branch master at Debian Med / mcaller


Commits:
5225a27e by Étienne Mollier at 2022-04-24T09:40:53+02:00
Add prefixes.patch, fixing FTBFS with sklearn 1.0.2-1

- - - - -
8b8cf2fa by Étienne Mollier at 2022-04-24T09:47:54+02:00
initialize changelog

- - - - -
f931f293 by Étienne Mollier at 2022-04-24T10:03:28+02:00
prefixes.patch forwarded upstream

Gbp-Dch: ignore

- - - - -
7c2a3d97 by Étienne Mollier at 2022-04-24T10:04:37+02:00
mcaller.lintian-overrides: remove unused breakout-link overrides

- - - - -
4aae0f15 by Étienne Mollier at 2022-04-24T10:05:44+02:00
ready to upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/mcaller.lintian-overrides
- + debian/patches/prefixes.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+mcaller (1.0.3+git20210624.b415090-2) unstable; urgency=medium
+
+  * Team upload.
+  * Add prefixes.patch, fixing FTBFS with sklearn 1.0.2-1.
+  * mcaller.lintian-overrides: remove unused breakout-link overrides
+
+ -- Étienne Mollier <emollier at debian.org>  Sun, 24 Apr 2022 10:05:20 +0200
+
 mcaller (1.0.3+git20210624.b415090-1) unstable; urgency=medium
 
   * Initial release (Closes: #969558)


=====================================
debian/mcaller.lintian-overrides
=====================================
@@ -1,6 +1,2 @@
 # It is a "picture"
 mcaller: description-starts-with-leading-spaces
-# The debian-med separate bin for compatibility with .py file endings
-mcaller: breakout-link usr/lib/debian-med/bin/compare_genomes.py -> usr/share/mCaller/compare_genomes.py
-mcaller: breakout-link usr/lib/debian-med/bin/mCaller.py -> usr/share/mCaller/mCaller.py
-mcaller: breakout-link usr/lib/debian-med/bin/make_bed.py -> usr/share/mCaller/make_bed.py


=====================================
debian/patches/prefixes.patch
=====================================
@@ -0,0 +1,62 @@
+Description: prefix multilayer_perceptron and label with '_'
+ Apparently, mcaller relies on the presence of different sklearn versions
+ which expose multilayer_perceptron and label instead, possibly older.
+Author: Étienne Mollier <emollier at debian.org>
+Forwarded: https://github.com/al-mcintyre/mCaller/issues/34#issuecomment-1107786037
+Last-Update: 2022-04-24
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- mcaller.orig/r94_model_NN_6_m6A.pkl
++++ mcaller/r94_model_NN_6_m6A.pkl
+@@ -1,7 +1,7 @@
+ ccopy_reg
+ _reconstructor
+ p1
+-(csklearn.neural_network.multilayer_perceptron
++(csklearn.neural_network._multilayer_perceptron
+ MLPClassifier
+ p2
+ c__builtin__
+@@ -68,7 +68,7 @@
+ tbsS'_label_binarizer'
+ p20
+ g1
+-(csklearn.preprocessing.label
++(csklearn.preprocessing._label
+ LabelBinarizer
+ p21
+ g3
+@@ -445,4 +445,4 @@
+ S'p\xe7\xbe\xba\x87\xceM?'
+ tbasg93
+ F0.001
+-sbsb.
+\ No newline at end of file
++sbsb.
+--- mcaller.orig/r95_twobase_model_NN_6_m6A.pkl
++++ mcaller/r95_twobase_model_NN_6_m6A.pkl
+@@ -4,7 +4,7 @@
+ ccopy_reg
+ _reconstructor
+ p3
+-(csklearn.neural_network.multilayer_perceptron
++(csklearn.neural_network._multilayer_perceptron
+ MLPClassifier
+ p4
+ c__builtin__
+@@ -71,7 +71,7 @@
+ tbsS'_label_binarizer'
+ p22
+ g3
+-(csklearn.preprocessing.label
++(csklearn.preprocessing._label
+ LabelBinarizer
+ p23
+ g5
+@@ -1013,4 +1013,4 @@
+ S'Id\x1f\x8eJ\x03\x86\xbf'
+ tbasg156
+ F0.001
+-sbsbs.
+\ No newline at end of file
++sbsbs.


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 shebang.patch
 python2to3.patch
+prefixes.patch



View it on GitLab: https://salsa.debian.org/med-team/mcaller/-/compare/9d218aa1c2879da5e935d5cbfbec8f6f61e89ab1...4aae0f15eeb291f9de94748f748a15dfa8615cad

-- 
View it on GitLab: https://salsa.debian.org/med-team/mcaller/-/compare/9d218aa1c2879da5e935d5cbfbec8f6f61e89ab1...4aae0f15eeb291f9de94748f748a15dfa8615cad
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/20220424/00137d6b/attachment-0001.htm>


More information about the debian-med-commit mailing list