Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-numcodecs for 
openSUSE:Factory checked in at 2026-02-26 18:52:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-numcodecs (Old)
 and      /work/SRC/openSUSE:Factory/.python-numcodecs.new.29461 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-numcodecs"

Thu Feb 26 18:52:06 2026 rev:12 rq:1335187 version:0.16.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-numcodecs/python-numcodecs.changes        
2025-03-04 18:33:38.108565229 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-numcodecs.new.29461/python-numcodecs.changes 
    2026-02-26 18:53:25.889469330 +0100
@@ -1,0 +2,35 @@
+Thu Feb 26 04:44:38 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 0.16.5:
+  ## Enhancements
+  * The Zstandard codec can now decode bytes containing multiple frames.
+  * Add streaming decompression for ZSTD_CONTENTSIZE_UNKNOWN case.
+  * In vlen, define and use const HEADER_LENGTH.
+  * All codecs are now pickleable.
+  * Add typesize argument to Blosc to allow for buffers that are passed to
+    encode use that information. zarr v3 currently has its Blosc codec as
+    bytes-to-bytes but does retain the size information so using it here
+    allows for massive compression ratio gains.
+  * Add support for the Linux aarch64 architecture.
+  * Preallocate output buffers and resize directly as needed.
+  * Checksum32 is now an abstract base clase, with checksum() as an abstract
+    method. This helps ensure that any subclasses implement the checksum()
+    method.
+  ## Fixes
+  * Fix Zstd decompression negative size issue on 32-bit platforms.
+  * Fix const discard warnings in fletcher32.
+  * Update license* metadata and include third-party licenses.
+  * Add #ifndef guard around PyBytes_RESIZE.
+  * Remove typesize from Blosc.get_config output.
+  ## Maintenance
+  * Improve CRC32C codec test skipping to properly report skipped tests using
+    pytest.skipif.
+- Refreshed patches:
+  * numcodecs-pr569-systemlibs.patch
+  * numcodecs-blosc-snappy-test.patch
+- Add patch support-numpy-2.4.patch:
+  * Ignore a VisibleDeprecationWarning raised with numpy 2.4.
+- No longer ignore zarr 3 tests, rely on upstream for CRC32C.
+- Inject multibuild due to requiring zarr 3 for the testsuite again.
+
+-------------------------------------------------------------------

Old:
----
  numcodecs-0.15.1.tar.gz

New:
----
  _multibuild
  numcodecs-0.16.5.tar.gz
  support-numpy-2.4.patch

----------(New B)----------
  New:  * numcodecs-blosc-snappy-test.patch
- Add patch support-numpy-2.4.patch:
  * Ignore a VisibleDeprecationWarning raised with numpy 2.4.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-numcodecs.spec ++++++
--- /var/tmp/diff_new_pack.DM8KZC/_old  2026-02-26 18:53:26.621499801 +0100
+++ /var/tmp/diff_new_pack.DM8KZC/_new  2026-02-26 18:53:26.621499801 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-numcodecs
 #
-# 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
@@ -17,8 +17,16 @@
 
 
 %{?sle15_python_module_pythons}
-Name:           python-numcodecs
-Version:        0.15.1
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name:           python-numcodecs%{psuffix}
+Version:        0.16.5
 Release:        0
 Summary:        Buffer compression and transformation codecs
 License:        MIT
@@ -28,8 +36,10 @@
 Patch0:         numcodecs-pr569-systemlibs.patch
 # PATCH-FIX-OPENSUSE numcodecs-blosc-snappy-test.patch [email protected] -- 
allow testing snappy from the systemlib c-blosc compressors
 Patch1:         numcodecs-blosc-snappy-test.patch
+# PATCH-FIX-OPENSUSE Ignore VisibleDeprecationWarning 
gh#zarr-developers/numcodecs#820
+Patch2:         support-numpy-2.4.patch
 BuildRequires:  %{python_module Cython}
-BuildRequires:  %{python_module base >= 3.10}
+BuildRequires:  %{python_module base >= 3.11}
 BuildRequires:  %{python_module numpy-devel >= 1.24}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pkgconfig}
@@ -46,16 +56,19 @@
 BuildRequires:  pkgconfig(liblz4) >= 1.9.3
 BuildRequires:  pkgconfig(libzstd) >= 1.5.5
 BuildRequires:  pkgconfig(zlib) >= 1.2.13
-Requires:       python-deprecated
 Requires:       python-numpy >= 1.24
+Requires:       python-typing_extensions
 Suggests:       python-msgpack
 Suggests:       python-pcodec
 Suggests:       (python-zfpy >= 1 with python-numpy < 2)
-# SECTION test requirements
-BuildRequires:  %{python_module numpy >= 1.24}
-BuildRequires:  %{python_module deprecated}
+%if %{with test}
 BuildRequires:  %{python_module msgpack}
+BuildRequires:  %{python_module numcodecs = %{version}}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pyzstd}
+BuildRequires:  %{python_module zarr >= 3}
+BuildRequires:  zstd
+%endif
 # /SECTION
 %python_subpackages
 
@@ -68,27 +81,32 @@
 # use system libraries instead of bundled ones
 rm -r c-blosc
 sed -i 's/--cov=numcodecs --cov-report xml//' pyproject.toml
-# keep python310 for now. This will fail with the enablement of zarr3 tests
-sed -i '/requires-python/ s/3.11/3.10/' pyproject.toml
 
 %build
+%if !%{with test}
 export CFLAGS="%{optflags}"
 export NUMCODECS_USE_SYSTEM_LIBS=1
 export DISABLE_NUMCODECS_AVX2=1
 %pyproject_wheel
+%endif
 
 %install
+%if !%{with test}
 %pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
+%endif
 
+%if %{with test}
 %check
-# zarr 3 is not released yet, no crc32c in the distribution yet
 # pcodec not in the distribution
-%pytest_arch --pyargs numcodecs -rsfE 
--ignore=%{buildroot}%{$python_sitearch}/numcodecs/{zarr3.py,tests/test_zarr3_import.py,tests/test_checksum32.py,pcodec.py}
+%pytest_arch --pyargs numcodecs -rsfE 
--ignore=%{$python_sitearch}/numcodecs/pcodec.py
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %doc README.rst
 %license LICENSE.txt
 %{python_sitearch}/numcodecs
 %{python_sitearch}/numcodecs-%{version}.dist-info
+%endif
 

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>

++++++ numcodecs-0.15.1.tar.gz -> numcodecs-0.16.5.tar.gz ++++++
++++ 16629 lines of diff (skipped)

++++++ numcodecs-blosc-snappy-test.patch ++++++
--- /var/tmp/diff_new_pack.DM8KZC/_old  2026-02-26 18:53:28.617582890 +0100
+++ /var/tmp/diff_new_pack.DM8KZC/_new  2026-02-26 18:53:28.621583057 +0100
@@ -1,7 +1,8 @@
-diff -ur numcodecs-0.13.0/numcodecs/tests/test_blosc.py 
numcodecs-0.13.0.p/numcodecs/tests/test_blosc.py
---- numcodecs-0.13.0/numcodecs/tests/test_blosc.py     2024-07-12 
19:46:32.000000000 +0200
-+++ numcodecs-0.13.0.p/numcodecs/tests/test_blosc.py   2024-09-25 
12:04:37.517629033 +0200
-@@ -155,6 +155,7 @@
+Index: numcodecs-0.16.5/numcodecs/tests/test_blosc.py
+===================================================================
+--- numcodecs-0.16.5.orig/numcodecs/tests/test_blosc.py
++++ numcodecs-0.16.5/numcodecs/tests/test_blosc.py
+@@ -138,6 +138,7 @@ def test_compress_complib(use_threads):
          'blosclz': 'BloscLZ',
          'zlib': 'Zlib',
          'zstd': 'Zstd',

++++++ numcodecs-pr569-systemlibs.patch ++++++
--- /var/tmp/diff_new_pack.DM8KZC/_old  2026-02-26 18:53:28.645584056 +0100
+++ /var/tmp/diff_new_pack.DM8KZC/_new  2026-02-26 18:53:28.657584555 +0100
@@ -1,7 +1,7 @@
-Index: numcodecs-0.15.1/README.rst
+Index: numcodecs-0.16.5/README.rst
 ===================================================================
---- numcodecs-0.15.1.orig/README.rst
-+++ numcodecs-0.15.1/README.rst
+--- numcodecs-0.16.5.orig/README.rst
++++ numcodecs-0.16.5/README.rst
 @@ -18,3 +18,12 @@ codecs for use in data storage and commu
  
  .. image:: 
https://codecov.io/gh/zarr-developers/numcodecs/branch/main/graph/badge.svg
@@ -16,10 +16,10 @@
 +Blosc, Zstd, and LZ4 are found via the `pkg-config` utility. Moreover, you 
must build all 3 `blosc`, `libzstd`, and `liblz4`
 +components. C-Blosc comes with full sources for LZ4, LZ4HC, Snappy, Zlib and 
Zstd and in general, you should not worry about not having (or CMake not 
finding) the libraries in your system because by default the included sources 
will be automatically compiled and included in the C-Blosc library. This 
effectively means that you can be confident in having a complete support for 
all the codecs in all the Blosc deployments (unless you are explicitly 
excluding support for some of them). To compile blosc, see these 
[instructions](https://github.com/Blosc/c-blosc?tab=readme-ov-file#compiling-the-blosc-library).
 \ No newline at end of file
-Index: numcodecs-0.15.1/pyproject.toml
+Index: numcodecs-0.16.5/pyproject.toml
 ===================================================================
---- numcodecs-0.15.1.orig/pyproject.toml
-+++ numcodecs-0.15.1/pyproject.toml
+--- numcodecs-0.16.5.orig/pyproject.toml
++++ numcodecs-0.16.5/pyproject.toml
 @@ -5,6 +5,7 @@ requires = [
      "Cython",
      "py-cpuinfo",
@@ -28,10 +28,10 @@
  ]
  build-backend = "setuptools.build_meta"
  
-Index: numcodecs-0.15.1/setup.py
+Index: numcodecs-0.16.5/setup.py
 ===================================================================
---- numcodecs-0.15.1.orig/setup.py
-+++ numcodecs-0.15.1/setup.py
+--- numcodecs-0.16.5.orig/setup.py
++++ numcodecs-0.16.5/setup.py
 @@ -1,14 +1,15 @@
  import os
  import sys
@@ -51,15 +51,15 @@
  
  # determine CPU support for SSE2 and AVX2
  cpu_info = cpuinfo.get_cpu_info()
-@@ -17,6 +18,7 @@ have_sse2 = 'sse2' in flags
- have_avx2 = 'avx2' in flags
+@@ -24,6 +25,7 @@ if machine == 'x86_64':
+ 
  disable_sse2 = 'DISABLE_NUMCODECS_SSE2' in os.environ
  disable_avx2 = 'DISABLE_NUMCODECS_AVX2' in os.environ
 +use_system_libraries = 'NUMCODECS_USE_SYSTEM_LIBS' in os.environ
  
  # setup common compile arguments
  have_cflags = 'CFLAGS' in os.environ
-@@ -49,8 +51,8 @@ def error(*msg):
+@@ -56,8 +58,8 @@ def error(*msg):
      print('[numcodecs]', *msg, **kwargs)
  
  
@@ -69,8 +69,8 @@
 +    info('setting up Blosc extension from vendored sources')
  
      extra_compile_args = base_compile_args.copy()
-     define_macros = []
-@@ -123,8 +125,68 @@ def blosc_extension():
+     extra_link_args = []
+@@ -137,8 +139,68 @@ def blosc_extension():
      ]
  
  
@@ -141,7 +141,7 @@
  
      zstd_sources = []
      extra_compile_args = base_compile_args.copy()
-@@ -163,8 +225,46 @@ def zstd_extension():
+@@ -177,8 +239,46 @@ def zstd_extension():
      ]
  
  
@@ -190,7 +190,7 @@
  
      extra_compile_args = base_compile_args.copy()
      define_macros = []
-@@ -189,6 +289,45 @@ def lz4_extension():
+@@ -203,6 +303,45 @@ def lz4_extension():
      ]
  
  
@@ -236,7 +236,7 @@
  def vlen_extension():
      info('setting up vlen extension')
      import numpy
-@@ -317,14 +456,14 @@ class ve_build_ext(build_ext):
+@@ -333,14 +472,14 @@ class ve_build_ext(build_ext):
              build_ext.run(self)
          except PlatformError as e:
              error(e)
@@ -253,7 +253,7 @@
  
  
  class Sclean(clean):
-@@ -352,7 +491,10 @@ def run_setup(with_extensions):
+@@ -368,7 +507,10 @@ def run_setup(with_extensions):
              + jenkins_extension()
          )
  

++++++ support-numpy-2.4.patch ++++++
Index: numcodecs-0.16.5/pyproject.toml
===================================================================
--- numcodecs-0.16.5.orig/pyproject.toml
+++ numcodecs-0.16.5/pyproject.toml
@@ -156,6 +156,7 @@ xfail_strict = true
 filterwarnings = [
     "error",
     "ignore:As the c extension couldn't be imported:RuntimeWarning", # Ignore 
warning about pure python google_crc32c (on Python 3.14)
+    "ignore:.*align should be 
passed:numpy.exceptions.VisibleDeprecationWarning",
 ]
 
 [tool.cibuildwheel]

Reply via email to