Your message dated Sat, 15 Mar 2025 09:44:44 +0000
with message-id <[email protected]>
and subject line Close 1091848
has caused the Debian Bug report #1091848,
regarding bookworm-pu: package gensim/4.2.0+dfsg-1+deb12u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1091848: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091848
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: bookworm
User: [email protected]
Usertags: pu
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 + src:gensim

[ Reason ]
This upload fixes a FTBFS bug in which one test fails on single-cpu systems.

[ Impact ]
Anybody trying to build the package on a single-cpu system will find
that the package unexpectedly fails to build.

[ Tests ]
I've checked that the package builds again.

[ Risks ]
Very low. The change is a one-line fix in a buggy test which
does not change the program in any way.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
The test which failed has been fixed to match real implementation.

[ Other info ]
- Will wait for approval before upload and commit to salsa.
- There is not a Debian bug because I fixed this directly in unstable
via team upload, being it a trivial change, but I also forwarded the issue to 
github.
diff -Nru gensim-4.2.0+dfsg/debian/changelog gensim-4.2.0+dfsg/debian/changelog
--- gensim-4.2.0+dfsg/debian/changelog  2022-05-05 06:50:46.000000000 +0200
+++ gensim-4.2.0+dfsg/debian/changelog  2025-01-01 12:55:00.000000000 +0100
@@ -1,3 +1,10 @@
+gensim (4.2.0+dfsg-1+deb12u1) bookworm; urgency=medium
+
+  * Team upload.
+  * Fix build on single-CPU systems.
+
+ -- Santiago Vila <[email protected]>  Wed, 01 Jan 2025 12:55:00 +0100
+
 gensim (4.2.0+dfsg-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru 
gensim-4.2.0+dfsg/debian/patches/make-testprocesses-match-implementation.patch 
gensim-4.2.0+dfsg/debian/patches/make-testprocesses-match-implementation.patch
--- 
gensim-4.2.0+dfsg/debian/patches/make-testprocesses-match-implementation.patch  
    1970-01-01 01:00:00.000000000 +0100
+++ 
gensim-4.2.0+dfsg/debian/patches/make-testprocesses-match-implementation.patch  
    2025-01-01 12:55:00.000000000 +0100
@@ -0,0 +1,16 @@
+Description: Make testProcesses match implementation
+Author: Santiago Vila <[email protected]>
+Forwarded: 
https://github.com/piskvorky/gensim/pull/3564/commits/f45ca29351d36b5c4fea3a1441cf3c9b2b653ae8
+Last-Update: 2024-11-11
+
+--- a/gensim/test/test_coherencemodel.py
++++ b/gensim/test/test_coherencemodel.py
+@@ -148,7 +148,7 @@
+             topics=self.topics1, corpus=self.corpus, 
dictionary=self.dictionary, coherence='u_mass'
+         )
+ 
+-        model, used_cpus = get_model(), mp.cpu_count() - 1
++        model, used_cpus = get_model(),  max(1, mp.cpu_count() - 1)
+         self.assertEqual(model.processes, used_cpus)
+         for p in range(-2, 1):
+             self.assertEqual(get_model(processes=p).processes, used_cpus)
diff -Nru gensim-4.2.0+dfsg/debian/patches/series 
gensim-4.2.0+dfsg/debian/patches/series
--- gensim-4.2.0+dfsg/debian/patches/series     2022-05-05 05:25:10.000000000 
+0200
+++ gensim-4.2.0+dfsg/debian/patches/series     2025-01-01 12:55:00.000000000 
+0100
@@ -4,3 +4,4 @@
 0002-Skip-tests-that-load-tests-via-data_path.patch
 0003-Only-load-data-for-train_gensim-when-it-is-being-use.patch
 0004-Make-lee_corpus_list-initialised-on-first-access.patch
+make-testprocesses-match-implementation.patch

--- End Message ---
--- Begin Message ---
Version: 12.10
This update has been released as part of 12.10. Thank you for your contribution.

--- End Message ---

Reply via email to