14
0

Accepting request 1060173 from home:bnavigator:branches:devel:languages:python

- Update to 2022.12.24
  * Pass 6512 tests.
  * Fix PNG codec error handling.
  * Fix truncated transferfunctions in cms_profile (#57).
  * Fix exceptions not raised in cdef functions not returning
    Python object.
- Release 2022.12.22
  * Require libtiff 4.5 (breaking).
  * Require libavif 0.11 (breaking).
  * Change jpegxl_encode level parameter to resemble libjpeg
    quality (breaking).
  * Add LZFSE codec via lzfse library.
  * Add LZHAM codec via lzham library.
  * Fix AttributeError in cms_profile (#52).
  * Support gamma argument in cms_profile (#53).
  * Raise limit of TIFF pages to 1048576.
  * Use libtiff thread-safe error/warning handlers.
  * Add option to specify filters and strategy in png_encode.
  * Add option to specify integrity check type in lzma_encode.
  * Fix DeprecationWarning with NumPy 1.24.

OBS-URL: https://build.opensuse.org/request/show/1060173
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imagecodecs?expand=0&rev=19
This commit is contained in:
2023-01-23 12:54:52 +00:00
committed by Git OBS Bridge
parent ca587188c8
commit 3468cf65fd
6 changed files with 75 additions and 40 deletions

View File

@@ -1,19 +1,19 @@
Index: imagecodecs-2022.9.26/setup.py
Index: imagecodecs-2022.12.24/setup.py
===================================================================
--- imagecodecs-2022.9.26.orig/setup.py
+++ imagecodecs-2022.9.26/setup.py
@@ -94,7 +94,7 @@ def ext(**kwargs):
extra_compile_args=[],
--- imagecodecs-2022.12.24.orig/setup.py
+++ imagecodecs-2022.12.24/setup.py
@@ -85,7 +85,7 @@ def ext(**kwargs):
extra_link_args=[],
depends=[],
cython_compile_time_env={},
- cythonize=False,
+ cythonize=True,
)
d.update(kwargs)
return d
@@ -114,13 +114,13 @@ OPTIONS = {
'extra_compile_args': [],
@@ -106,13 +106,13 @@ OPTIONS = {
'extra_link_args': [],
'depends': ['imagecodecs/_shared.pxd'],
'cython_compile_time_env': {},
- 'cythonize': False, # sys.version_info >= (3, 11)
+ 'cythonize': True, # sys.version_info >= (3, 11)