File always-cythonize.patch of Package failed_python-imagecodecs

Index: imagecodecs-2023.3.16/setup.py
===================================================================
--- imagecodecs-2023.3.16.orig/setup.py
+++ imagecodecs-2023.3.16/setup.py
@@ -84,7 +84,7 @@ def ext(**kwargs):
         extra_link_args=[],
         depends=[],
         cython_compile_time_env={},
-        cythonize=False,
+        cythonize=True,
     )
     d.update(kwargs)
     return d
@@ -105,13 +105,13 @@ OPTIONS = {
     'extra_link_args': [],  # ['-debug:full']
     'depends': ['imagecodecs/_shared.pxd'],
     'cython_compile_time_env': {},
-    'cythonize': False,  # sys.version_info >= (3, 11)
+    'cythonize': True,  # sys.version_info >= (3, 11)
 }
 
 EXTENSIONS = {
     'shared': ext(
         cython_compile_time_env={'IS_PYPY': 'PyPy' in sys.version},
-        cythonize='PyPy' in sys.version,
+        cythonize=True,  #'PyPy' in sys.version,
     ),
     'imcd': ext(sources=['imagecodecs/imcd.c']),
     'aec': ext(libraries=['aec']),
openSUSE Build Service is sponsored by