Bug#1147475: gensim: FTBFS due to missing build-dependency
Maximiliano Curia
maxy at debian.org
Sat Sep 12 09:03:36 BST 2026
Package: src:gensim
Version: 4.3.3+dfsg-2
User: debian-python at lists.debian.org
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: serious
Hi!
While rebuilding the python related packages against the Python 3.15rc2
version we found that gensim fails to build from source due to
build-depending on python3-pyemd, which is not installable.
This is easy to fix, as gensim doesn't really need pyemd, it's already
migrated to pot.
I also took the opportunity to fix the tests, by installing
ca-certificates.
I've applied the upstream fix in the sandbox [1] to verify that it
builds successfully, please consider applying the patch to make the
package buildable once again.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
-------------- next part --------------
diff -Nru gensim-4.3.3+dfsg/debian/changelog gensim-4.3.3+dfsg/debian/changelog
--- gensim-4.3.3+dfsg/debian/changelog 2024-11-11 12:05:00.000000000 +0100
+++ gensim-4.3.3+dfsg/debian/changelog 2026-09-10 20:56:58.000000000 +0200
@@ -1,3 +1,11 @@
+gensim (4.3.3+dfsg-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Drop unused pyemd build dependency, replace with python3-pot.
+ * Add ca-certificates as a test dependency
+
+ -- Maximiliano Curia <maxy at debian.org> Thu, 10 Sep 2026 20:56:58 +0200
+
gensim (4.3.3+dfsg-2) unstable; urgency=medium
* Team upload.
diff -Nru gensim-4.3.3+dfsg/debian/control gensim-4.3.3+dfsg/debian/control
--- gensim-4.3.3+dfsg/debian/control 2024-11-11 11:14:01.000000000 +0100
+++ gensim-4.3.3+dfsg/debian/control 2026-09-10 20:56:58.000000000 +0200
@@ -28,7 +28,9 @@
# Not yet in Debian
# python3-nmslib,
python3-numpy,
- python3-pyemd,
+# for wmdistance
+# in gensim/models/keyedvectors.py
+ python3-pot <!nocheck>,
python3-pytest <!nocheck>,
python3-pytest-cov <!nocheck>,
python3-scipy,
diff -Nru gensim-4.3.3+dfsg/debian/tests/control gensim-4.3.3+dfsg/debian/tests/control
--- gensim-4.3.3+dfsg/debian/tests/control 2024-11-11 11:14:01.000000000 +0100
+++ gensim-4.3.3+dfsg/debian/tests/control 2026-09-10 20:56:58.000000000 +0200
@@ -3,14 +3,15 @@
Depends:
python3-all,
python3-pytest,
+ python3-pytest-cov,
+ python3-testfixtures,
@,
- @builddeps@,
Test-Command: debian/tests/unittests -v gensim/test/test_api.py
Restrictions: needs-internet
Features: test-name=unittests-api
Depends:
+ ca-certificates,
python3-all,
python3-pytest,
@,
- @builddeps@,
More information about the debian-science-maintainers
mailing list