Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cmapfile for openSUSE:Factory
checked in at 2026-09-28 10:46:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cmapfile (Old)
and /work/SRC/openSUSE:Factory/.python-cmapfile.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cmapfile"
Mon Sep 28 10:46:32 2026 rev:11 rq:1380841 version:2026.7.25
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cmapfile/python-cmapfile.changes
2026-05-12 19:32:37.405892078 +0200
+++
/work/SRC/openSUSE:Factory/.python-cmapfile.new.383539/python-cmapfile.changes
2026-09-28 10:47:14.887952261 +0200
@@ -1,0 +2,8 @@
+Sat Sep 26 21:23:32 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2026.7.25:
+ * Require tifffile >= 2026.5.2.
+ * Drop support for Python 3.11 and numpy 2.0 (SPEC0).
+ * Support Python 3.15.
+
+-------------------------------------------------------------------
Old:
----
cmapfile-2026.1.8.tar.gz
New:
----
cmapfile-2026.7.25.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cmapfile.spec ++++++
--- /var/tmp/diff_new_pack.rQcmrd/_old 2026-09-28 10:47:15.587981590 +0200
+++ /var/tmp/diff_new_pack.rQcmrd/_new 2026-09-28 10:47:15.589981673 +0200
@@ -16,10 +16,9 @@
#
-%global skip_python311 1
%{?sle15_python_module_pythons}
Name: python-cmapfile
-Version: 2026.1.8
+Version: 2026.7.25
Release: 0
Summary: Write Chimera Map (CMAP) files
License: BSD-3-Clause
@@ -33,7 +32,7 @@
BuildRequires: %{python_module pip}
BuildRequires: %{python_module scipy >= 1.14.1}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module tifffile >= 2024.5.24}
+BuildRequires: %{python_module tifffile >= 2026.5.2}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -41,7 +40,7 @@
Requires: python-numpy >= 2.1.0
Requires: python-oiffile >= 2021.6.6
Requires: python-scipy >= 1.5
-Requires: python-tifffile >= 2024.5.24
+Requires: python-tifffile >= 2026.5.2
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
++++++ cmapfile-2026.1.8.tar.gz -> cmapfile-2026.7.25.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cmapfile-2026.1.8/CHANGES.rst
new/cmapfile-2026.7.25/CHANGES.rst
--- old/cmapfile-2026.1.8/CHANGES.rst 2026-01-09 00:59:44.000000000 +0100
+++ new/cmapfile-2026.7.25/CHANGES.rst 2026-07-25 21:13:34.000000000 +0200
@@ -1,6 +1,12 @@
Revisions
---------
+2026.7.25
+
+- Require tifffile >= 2026.5.2.
+- Drop support for Python 3.11 and numpy 2.0 (SPEC0).
+- Support Python 3.15.
+
2026.1.8
- Improve code quality.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cmapfile-2026.1.8/MANIFEST.in
new/cmapfile-2026.7.25/MANIFEST.in
--- old/cmapfile-2026.1.8/MANIFEST.in 2026-01-09 00:59:44.000000000 +0100
+++ new/cmapfile-2026.7.25/MANIFEST.in 2026-07-25 21:13:34.000000000 +0200
@@ -7,14 +7,19 @@
include cmapfile/py.typed
exclude .env
+exclude .gitignore
exclude *.cmd
exclude *.yaml
+exclude *.code-workspace
exclude mypy.ini
exclude ruff.toml
+exclude typos.toml
+recursive-exclude .vscode *
recursive-exclude doc *
recursive-exclude docs *
recursive-exclude test *
recursive-exclude tests *
+recursive-exclude examples *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cmapfile-2026.1.8/README.rst
new/cmapfile-2026.7.25/README.rst
--- old/cmapfile-2026.1.8/README.rst 2026-01-09 00:59:44.000000000 +0100
+++ new/cmapfile-2026.7.25/README.rst 2026-07-25 21:13:34.000000000 +0200
@@ -15,7 +15,7 @@
:Author: `Christoph Gohlke <https://www.cgohlke.com>`_
:License: BSD-3-Clause
-:Version: 2026.1.8
+:Version: 2026.7.25
:DOI: `10.5281/zenodo.17979877 <https://doi.org/10.5281/zenodo.17979877>`_
Quickstart
@@ -41,16 +41,22 @@
This revision was tested with the following requirements and dependencies
(other versions may work):
-- `CPython <https://www.python.org>`_ 3.11.9, 3.12.10, 3.13.11, 3.14.2 64-bit
-- `NumPy <https://pypi.org/project/numpy/>`_ 2.4.0
-- `Scipy <https://pypi.org/project/scipy/>`_ 1.16.3
-- `H5py <https://pypi.org/project/h5py/>`_ 3.15.1
-- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.12.20
-- `Oiffile <https://pypi.org/project/oiffile/>`_ 2026.1.8
+- `CPython <https://www.python.org>`_ 3.12.10, 3.13.14, 3.14.6, 3.15.0b4 64-bit
+- `Numpy <https://pypi.org/project/numpy>`_ 2.5.1
+- `Scipy <https://pypi.org/project/scipy/>`_ 1.18.0
+- `H5py <https://pypi.org/project/h5py/>`_ 3.16.0
+- `Tifffile <https://pypi.org/project/tifffile/>`_ 2026.7.14
+- `Oiffile <https://pypi.org/project/oiffile/>`_ 2026.2.8
Revisions
---------
+2026.7.25
+
+- Require tifffile >= 2026.5.2.
+- Drop support for Python 3.11 and numpy 2.0 (SPEC0).
+- Support Python 3.15.
+
2026.1.8
- Improve code quality.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cmapfile-2026.1.8/cmapfile/cmapfile.py
new/cmapfile-2026.7.25/cmapfile/cmapfile.py
--- old/cmapfile-2026.1.8/cmapfile/cmapfile.py 2026-01-09 00:59:44.000000000
+0100
+++ new/cmapfile-2026.7.25/cmapfile/cmapfile.py 2026-07-25 21:13:34.000000000
+0200
@@ -42,7 +42,7 @@
:Author: `Christoph Gohlke <https://www.cgohlke.com>`_
:License: BSD-3-Clause
-:Version: 2026.1.8
+:Version: 2026.7.25
:DOI: `10.5281/zenodo.17979877 <https://doi.org/10.5281/zenodo.17979877>`_
Quickstart
@@ -68,16 +68,22 @@
This revision was tested with the following requirements and dependencies
(other versions may work):
-- `CPython <https://www.python.org>`_ 3.11.9, 3.12.10, 3.13.11, 3.14.2 64-bit
-- `NumPy <https://pypi.org/project/numpy/>`_ 2.4.0
-- `Scipy <https://pypi.org/project/scipy/>`_ 1.16.3
-- `H5py <https://pypi.org/project/h5py/>`_ 3.15.1
-- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.12.20
-- `Oiffile <https://pypi.org/project/oiffile/>`_ 2026.1.8
+- `CPython <https://www.python.org>`_ 3.12.10, 3.13.14, 3.14.6, 3.15.0b4 64-bit
+- `Numpy <https://pypi.org/project/numpy>`_ 2.5.1
+- `Scipy <https://pypi.org/project/scipy/>`_ 1.18.0
+- `H5py <https://pypi.org/project/h5py/>`_ 3.16.0
+- `Tifffile <https://pypi.org/project/tifffile/>`_ 2026.7.14
+- `Oiffile <https://pypi.org/project/oiffile/>`_ 2026.2.8
Revisions
---------
+2026.7.25
+
+- Require tifffile >= 2026.5.2.
+- Drop support for Python 3.11 and numpy 2.0 (SPEC0).
+- Support Python 3.15.
+
2026.1.8
- Improve code quality.
@@ -179,7 +185,7 @@
from __future__ import annotations
-__version__ = '2026.1.8'
+__version__ = '2026.7.25'
__all__ = [
'CmapFile',
@@ -435,8 +441,7 @@
with open(binfile, 'rb') as fh:
fh.seek(offset)
data = numpy.fromfile(fh, dtype=dtype, count=count)
- data.shape = shape
- shape = data.shape
+ data = data.reshape(shape)
except Exception:
if fail:
raise
@@ -532,17 +537,13 @@
lsm = None
# open LSM file
lsm = TiffFile(lsmfile)
- series = lsm.series[0] # first series contains the image data
- if hasattr(series, 'get_shape'):
- # tifffile > 2020.2.25 return squeezed shape and axes
- shape = series.get_shape(squeeze=False)
- axes = series.get_axes(squeeze=False)
- if axes[:2] == 'MP' and shape[:2] == (1, 1):
- axes = axes[2:]
- shape = shape[2:]
- else:
- shape = series.shape
- axes = series.axes
+ # first series contains the image data
+ series = lsm.series(squeeze=False)[0]
+ shape = series.shape
+ axes = series.axes
+ if axes[:2] == 'MP' and shape[:2] == (1, 1):
+ axes = axes[2:]
+ shape = shape[2:]
if axes != 'TZCYX':
if axes == 'ZCYX':
axes = 'TZCYX'
@@ -572,7 +573,7 @@
except Exception:
pass
# iterate over Tiff pages containing data
- pages = iter(series.pages)
+ pages = iter(series)
for t in range(shape[0]): # iterate over time axis
datalist = []
for _ in range(shape[1]): # iterate over z slices
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cmapfile-2026.1.8/pyproject.toml
new/cmapfile-2026.7.25/pyproject.toml
--- old/cmapfile-2026.1.8/pyproject.toml 2026-01-09 00:59:44.000000000
+0100
+++ new/cmapfile-2026.7.25/pyproject.toml 2026-07-25 21:13:34.000000000
+0200
@@ -4,7 +4,7 @@
[tool.black]
line-length = 79
-target-version = ["py311", "py312", "py313"]
+target-version = ["py312", "py313", "py314"]
skip-string-normalization = true
[tool.isort]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cmapfile-2026.1.8/setup.py
new/cmapfile-2026.7.25/setup.py
--- old/cmapfile-2026.1.8/setup.py 2026-01-09 00:59:44.000000000 +0100
+++ new/cmapfile-2026.7.25/setup.py 2026-07-25 21:13:34.000000000 +0200
@@ -96,20 +96,20 @@
project_urls={
'Bug Tracker': 'https://github.com/cgohlke/cmapfile/issues',
'Source Code': 'https://github.com/cgohlke/cmapfile',
- # 'Documentation': 'https://',
+ # 'Documentation': 'https://www.cgohlke.com/docs/cmapfile',
},
packages=['cmapfile'],
package_data={'cmapfile': ['py.typed']},
- python_requires='>=3.11',
+ python_requires='>=3.12',
install_requires=[
- 'numpy',
+ 'numpy>=2.1',
'scipy',
'h5py',
- 'tifffile',
+ 'tifffile>=2026.5.2',
'oiffile',
],
extras_require={'all': ['imagecodecs']},
- entry_points={'console_scripts': ['cmapfile = cmapfile:main']},
+ entry_points={'console_scripts': ['cmapfile = cmapfile.cmapfile:main']},
platforms=['any'],
classifiers=[
'Development Status :: 4 - Beta',
@@ -117,9 +117,9 @@
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
- 'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
+ 'Programming Language :: Python :: 3.15',
],
)