Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-tesserocr for
openSUSE:Factory checked in at 2026-02-11 18:48:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tesserocr (Old)
and /work/SRC/openSUSE:Factory/.python-tesserocr.new.1670 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tesserocr"
Wed Feb 11 18:48:02 2026 rev:26 rq:1332355 version:2.9.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tesserocr/python-tesserocr.changes
2025-12-26 14:37:58.023577639 +0100
+++
/work/SRC/openSUSE:Factory/.python-tesserocr.new.1670/python-tesserocr.changes
2026-02-11 18:48:51.993425340 +0100
@@ -1,0 +2,7 @@
+Wed Feb 11 04:17:47 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Do not call setup.py develop during the testsuite.
+- Use correct pytest macro.
+- List directories under python_sitearch explicitly.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tesserocr.spec ++++++
--- /var/tmp/diff_new_pack.Mckcdv/_old 2026-02-11 18:48:52.573449698 +0100
+++ /var/tmp/diff_new_pack.Mckcdv/_new 2026-02-11 18:48:52.577449866 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-tesserocr
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -64,17 +64,19 @@
%fdupes %{buildroot}
%check
+mv tesserocr tesserocr-do-not-use
export TESSDATA_PREFIX=%{_datadir}/tessdata
-%python_exec setup.py develop --user
# test_LSTM_choices failure: https://github.com/sirfz/tesserocr/issues/214
# https://github.com/sirfz/tesserocr/issues/295
donttest="test_LSTM_choices"
donttest+=" or test_detect_os"
donttest+=" or test_init"
-%pytest -k "not ($donttest)"
+%pytest_arch -k "not ($donttest)"
+mv tesserocr-do-not-use tesserocr
%files %{python_files}
%license LICENSE
%doc README.rst
-%{python_sitearch}/tesserocr*
+%{python_sitearch}/tesserocr
+%{python_sitearch}/tesserocr-%{version}.dist-info