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 2025-12-26 14:37:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tesserocr (Old)
and /work/SRC/openSUSE:Factory/.python-tesserocr.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tesserocr"
Fri Dec 26 14:37:47 2025 rev:25 rq:1324423 version:2.9.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tesserocr/python-tesserocr.changes
2025-10-11 22:51:06.647462490 +0200
+++
/work/SRC/openSUSE:Factory/.python-tesserocr.new.1928/python-tesserocr.changes
2025-12-26 14:37:58.023577639 +0100
@@ -1,0 +2,7 @@
+Fri Dec 19 01:56:36 UTC 2025 - Mia Herkt <[email protected]>
+
+- Update to 2.9.2
+ * Make AnalyseLayout interruptible
+ gh#sirfz/tesserocr#382
+
+-------------------------------------------------------------------
Old:
----
tesserocr-2.9.1.tar.gz
New:
----
tesserocr-2.9.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tesserocr.spec ++++++
--- /var/tmp/diff_new_pack.o6STdF/_old 2025-12-26 14:37:59.047619733 +0100
+++ /var/tmp/diff_new_pack.o6STdF/_new 2025-12-26 14:37:59.047619733 +0100
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-tesserocr
-Version: 2.9.1
+Version: 2.9.2
Release: 0
Summary: A Python wrapper around tesseract-ocr
License: MIT
++++++ tesserocr-2.9.1.tar.gz -> tesserocr-2.9.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tesserocr-2.9.1/PKG-INFO new/tesserocr-2.9.2/PKG-INFO
--- old/tesserocr-2.9.1/PKG-INFO 2025-10-10 15:16:15.052038400 +0200
+++ new/tesserocr-2.9.2/PKG-INFO 2025-12-18 09:51:35.032224200 +0100
@@ -1,13 +1,12 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
Name: tesserocr
-Version: 2.9.1
+Version: 2.9.2
Summary: A simple, Pillow-friendly, Python wrapper around tesseract-ocr API
using Cython
Home-page: https://github.com/sirfz/tesserocr
Author: Fayez Zouheiry
Author-email: [email protected]
License: MIT
Keywords: Tesseract,tesseract-ocr,OCR,optical character
recognition,PIL,Pillow,Cython
-Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Multimedia :: Graphics :: Capture :: Scanners
@@ -28,6 +27,17 @@
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
+Dynamic: author
+Dynamic: author-email
+Dynamic: classifier
+Dynamic: description
+Dynamic: description-content-type
+Dynamic: home-page
+Dynamic: keywords
+Dynamic: license
+Dynamic: license-file
+Dynamic: requires-python
+Dynamic: summary
=========
tesserocr
@@ -304,5 +314,3 @@
print(f'{choice} conf: {c.Confidence()}')
indent = True
print('---------------------------------------------')
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tesserocr-2.9.1/tesserocr/tesserocr.pyx
new/tesserocr-2.9.2/tesserocr/tesserocr.pyx
--- old/tesserocr-2.9.1/tesserocr/tesserocr.pyx 2025-10-10 15:16:07.000000000
+0200
+++ new/tesserocr-2.9.2/tesserocr/tesserocr.pyx 2025-12-18 09:51:29.000000000
+0100
@@ -18,7 +18,7 @@
['eng', 'osd', 'equ'])
"""
-__version__ = '2.9.1'
+__version__ = '2.9.2'
import os
import logging
@@ -2121,7 +2121,8 @@
:class:`PyPageIterator`: Page iterator or `None` on error or an
empty page.
"""
cdef PageIterator *piter
- piter = self._baseapi.AnalyseLayout(merge_similar_words)
+ with nogil:
+ piter = self._baseapi.AnalyseLayout(merge_similar_words)
if piter == NULL:
return None
return PyPageIterator.createPageIterator(piter)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tesserocr-2.9.1/tesserocr.egg-info/PKG-INFO
new/tesserocr-2.9.2/tesserocr.egg-info/PKG-INFO
--- old/tesserocr-2.9.1/tesserocr.egg-info/PKG-INFO 2025-10-10
15:16:13.000000000 +0200
+++ new/tesserocr-2.9.2/tesserocr.egg-info/PKG-INFO 2025-12-18
09:51:33.000000000 +0100
@@ -1,13 +1,12 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
Name: tesserocr
-Version: 2.9.1
+Version: 2.9.2
Summary: A simple, Pillow-friendly, Python wrapper around tesseract-ocr API
using Cython
Home-page: https://github.com/sirfz/tesserocr
Author: Fayez Zouheiry
Author-email: [email protected]
License: MIT
Keywords: Tesseract,tesseract-ocr,OCR,optical character
recognition,PIL,Pillow,Cython
-Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Multimedia :: Graphics :: Capture :: Scanners
@@ -28,6 +27,17 @@
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
+Dynamic: author
+Dynamic: author-email
+Dynamic: classifier
+Dynamic: description
+Dynamic: description-content-type
+Dynamic: home-page
+Dynamic: keywords
+Dynamic: license
+Dynamic: license-file
+Dynamic: requires-python
+Dynamic: summary
=========
tesserocr
@@ -304,5 +314,3 @@
print(f'{choice} conf: {c.Confidence()}')
indent = True
print('---------------------------------------------')
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tesserocr-2.9.1/tests/test_api.py
new/tesserocr-2.9.2/tests/test_api.py
--- old/tesserocr-2.9.1/tests/test_api.py 2025-10-10 15:16:07.000000000
+0200
+++ new/tesserocr-2.9.2/tests/test_api.py 2025-12-18 09:51:29.000000000
+0100
@@ -198,7 +198,7 @@
for timestep in choice:
for alternative in timestep:
self.assertGreaterEqual(alternative[1], 0.0)
- self.assertLessEqual(alternative[1], 2.0)
+ # self.assertLessEqual(alternative[1], 2.0)
chosen_symbol = timestep[0][0]
if chosen_symbol != " ":
chosen_word += chosen_symbol