Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-czifile for openSUSE:Factory checked in at 2026-03-07 20:09:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-czifile (Old) and /work/SRC/openSUSE:Factory/.python-czifile.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-czifile" Sat Mar 7 20:09:25 2026 rev:5 rq:1337355 version:2019.7.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-czifile/python-czifile.changes 2025-05-05 22:59:17.139758879 +0200 +++ /work/SRC/openSUSE:Factory/.python-czifile.new.8177/python-czifile.changes 2026-03-07 20:14:15.014589629 +0100 @@ -1,0 +2,7 @@ +Fri Mar 6 16:47:41 UTC 2026 - Dirk Müller <[email protected]> + +- update to 2019.7.2.3: + * Replace deprecated imagecodecs.jxr codec. + * Replace deprecated tifffile.stripnull function. + +------------------------------------------------------------------- Old: ---- czifile-2019.7.2.1.tar.gz New: ---- czifile-2019.7.2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-czifile.spec ++++++ --- /var/tmp/diff_new_pack.HPLWUM/_old 2026-03-07 20:14:15.646615774 +0100 +++ /var/tmp/diff_new_pack.HPLWUM/_new 2026-03-07 20:14:15.646615774 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-czifile # -# Copyright (c) 2025 SUSE LLC +# 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 @@ -18,7 +18,7 @@ %define packagename czifile Name: python-czifile -Version: 2019.7.2.1 +Version: 2019.7.2.3 Release: 0 Summary: Read Carl Zeiss(r) Image (CZI) files License: BSD-3-Clause ++++++ czifile-2019.7.2.1.tar.gz -> czifile-2019.7.2.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/czifile-2019.7.2.1/LICENSE new/czifile-2019.7.2.3/LICENSE --- old/czifile-2019.7.2.1/LICENSE 2025-02-19 01:08:23.000000000 +0100 +++ new/czifile-2019.7.2.3/LICENSE 2026-03-03 19:32:20.000000000 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2013-2025, Christoph Gohlke +Copyright (c) 2013-2026, Christoph Gohlke All rights reserved. Redistribution and use in source and binary forms, with or without diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/czifile-2019.7.2.1/MANIFEST.in new/czifile-2019.7.2.3/MANIFEST.in --- old/czifile-2019.7.2.1/MANIFEST.in 2025-02-19 01:08:23.000000000 +0100 +++ new/czifile-2019.7.2.3/MANIFEST.in 2026-03-03 19:32:20.000000000 +0100 @@ -1,5 +1,6 @@ include LICENSE include README.rst +include pyproject.toml include zisraw.py include setup_zisraw.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/czifile-2019.7.2.1/README.rst new/czifile-2019.7.2.3/README.rst --- old/czifile-2019.7.2.1/README.rst 2025-02-19 01:08:23.000000000 +0100 +++ new/czifile-2019.7.2.3/README.rst 2026-03-03 19:32:20.000000000 +0100 @@ -6,8 +6,8 @@ contain multidimensional images and metadata from microscopy experiments. :Author: `Christoph Gohlke <https://www.cgohlke.com>`_ -:License: BSD 3-Clause -:Version: 2019.7.2.1 +:License: BSD-3-Clause +:Version: 2019.7.2.3 Requirements ------------ @@ -19,6 +19,14 @@ Revisions --------- +2019.7.2.3 + +- Replace deprecated imagecodecs.jxr codec. + +2019.7.2.2 + +- Replace deprecated tifffile.stripnull function. + 2019.7.2.1 - Fix broken and deprecated imports. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/czifile-2019.7.2.1/czifile/__init__.py new/czifile-2019.7.2.3/czifile/__init__.py --- old/czifile-2019.7.2.1/czifile/__init__.py 2025-02-19 01:08:23.000000000 +0100 +++ new/czifile-2019.7.2.3/czifile/__init__.py 2026-03-03 19:32:20.000000000 +0100 @@ -1,5 +1,18 @@ # -*- coding: utf-8 -*- # czifile/__init__.py -from .czifile import __doc__, __all__, __version__ from .czifile import * +from .czifile import __all__, __doc__, __version__ + + +def _set_module(): + """Set __module__ attribute for all public objects.""" + globs = globals() + module = globs['__name__'] + for item in __all__: + obj = globs[item] + if hasattr(obj, '__module__'): + obj.__module__ = module + + +_set_module() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/czifile-2019.7.2.1/czifile/czifile.py new/czifile-2019.7.2.3/czifile/czifile.py --- old/czifile-2019.7.2.1/czifile/czifile.py 2025-02-19 01:08:23.000000000 +0100 +++ new/czifile-2019.7.2.3/czifile/czifile.py 2026-03-03 19:32:20.000000000 +0100 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # czifile.py -# Copyright (c) 2013-2025, Christoph Gohlke +# Copyright (c) 2013-2026, Christoph Gohlke # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -37,8 +37,8 @@ contain multidimensional images and metadata from microscopy experiments. :Author: `Christoph Gohlke <https://www.cgohlke.com>`_ -:License: BSD 3-Clause -:Version: 2019.7.2.1 +:License: BSD-3-Clause +:Version: 2019.7.2.3 Requirements ------------ @@ -50,6 +50,14 @@ Revisions --------- +2019.7.2.3 + +- Replace deprecated imagecodecs.jxr codec. + +2019.7.2.2 + +- Replace deprecated tifffile.stripnull function. + 2019.7.2.1 - Fix broken and deprecated imports. @@ -176,7 +184,7 @@ from __future__ import division, print_function -__version__ = '2019.7.2.1' +__version__ = '2019.7.2.3' __docformat__ = 'restructuredtext en' __all__ = ( '__version__', @@ -229,7 +237,7 @@ imagecodecs = None from tifffile import ( - FileHandle, memmap, repeat_nd, product, stripnull, format_size, + FileHandle, memmap, repeat_nd, product, format_size, create_output, xml2dict, pformat, imshow, askopenfilename, nullfunc, Timer) @@ -1275,9 +1283,23 @@ if imagecodecs is not None: DECOMPRESS[2] = imagecodecs.lzw_decode - if hasattr(imagecodecs, 'jpeg_decode'): - DECOMPRESS[1] = imagecodecs.jpeg_decode - DECOMPRESS[4] = imagecodecs.jxr_decode + DECOMPRESS[1] = imagecodecs.jpeg8_decode + DECOMPRESS[4] = imagecodecs.jpegxr_decode + + +def stripnull(string, null=b'\x00'): + """Return string truncated at first null character. + + Clean NULL terminated C strings. For unicode strings use null='\\0'. + + >>> stripnull(b'string\\x00') + b'string' + >>> stripnull('string\\x00', null='\\0') + 'string' + + """ + i = string.find(null) + return string if (i < 0) else string[:i] def squeeze_axes(shape, axes, skip=None): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/czifile-2019.7.2.1/pyproject.toml new/czifile-2019.7.2.3/pyproject.toml --- old/czifile-2019.7.2.1/pyproject.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/czifile-2019.7.2.3/pyproject.toml 2026-03-03 19:32:20.000000000 +0100 @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/czifile-2019.7.2.1/setup.py new/czifile-2019.7.2.3/setup.py --- old/czifile-2019.7.2.1/setup.py 2025-02-19 01:08:23.000000000 +0100 +++ new/czifile-2019.7.2.3/setup.py 2026-03-03 19:32:20.000000000 +0100 @@ -50,14 +50,14 @@ 'Source Code': 'https://github.com/cgohlke/czifile', # 'Documentation': 'https://', }, - license='BSD', + license='BSD-3-Clause', packages=['czifile'], - python_requires='>=2.7', + python_requires='>=3.11', install_requires=[ 'numpy>=1.11.3', # 'scipy>=1.1', 'tifffile>=2019.7.2', - 'imagecodecs>=2019.5.22;platform_system=="Windows"', + 'imagecodecs>=2019.12.16;platform_system=="Windows"', ], entry_points={ 'console_scripts': [ @@ -67,7 +67,6 @@ platforms=['any'], classifiers=[ 'Development Status :: 3 - Alpha', - 'License :: OSI Approved :: BSD License', 'Intended Audience :: Science/Research', 'Intended Audience :: Developers', 'Operating System :: OS Independent',
