Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-blosc2 for openSUSE:Factory 
checked in at 2026-04-25 21:37:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-blosc2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-blosc2.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-blosc2"

Sat Apr 25 21:37:43 2026 rev:15 rq:1349145 version:4.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-blosc2/python-blosc2.changes      
2026-04-23 17:14:31.829166359 +0200
+++ /work/SRC/openSUSE:Factory/.python-blosc2.new.11940/python-blosc2.changes   
2026-04-25 21:38:38.308873892 +0200
@@ -1,0 +2,42 @@
+Thu Apr 23 18:01:17 UTC 2026 - Ben Greiner <[email protected]>
+
+- Update to 4.1.2
+  * Updated c-blosc2 for memory leak and other bug fixes
+- Blosc2 v4.1.0
+  * Add DSL kernel functionality for faster, compiled, user-defined
+    functions which broadly respect python syntax and implement the
+    LazyArray interface. See the introductory tutorial at:
+    
https://blosc.org/python-blosc2/getting_started/tutorials/03.lazyarray-udf-kernels.html
+  * Add read-only mmap support for store containers:
+  * DictStore, TreeStore, and EmbedStore now accept mmap_mode="r"
+  * when opened with mode="r" (including via blosc2.open for .b2d,
+  * .b2z, and .b2e).
+  * New .meta entry for store containers, allowing better store
+    recognition at blosc2.open() time. Fixes #546.
+  * Add cumulative_sum and cumulative_prod functions for Array API
+    compliance.
+  * Add Unicode string arrays, support comparison operations with
+    them, and optimised compression path.
+  * Add endswith and startswith and extend contains to support
+    strings and offer miniexpr multithreaded computation when
+    possible.
+  * Use DSL kernels to accelerate arange/linspace constructors by
+    6-10x.
+  * Improve documentation for filters and filters_meta.
+  * Fix edge case issues with resize and constructors so that
+    chunks may be set independently of shape, and arrays may be
+    extended from empty consistently.
+  * Continued work on miniexpr integration, interface, and support.
+  * Ruff fixes and implementation of PEP recommendations.
+- Blosc2 4.0.0
+  * The main change is hyperfast fully multithreaded computation
+    with miniexpr
+- Many versions in between. See RELEASE_NOTES.md
+- Disable TCC_JIT for the bundle miniexpr, because it installs a
+  shared library and header files into the python platlib at a
+  very unorthodox place
+- Add miniexpr-no-license-install.patch, we put the LICNESES into
+  the correct place
+- Drop 0001-Add-squeeze-as-view.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-Add-squeeze-as-view.patch
  blosc2-2.7.1.tar.gz

New:
----
  blosc2-4.1.2.tar.gz
  miniexpr-37bf6982bf9619036b47f095b7005bc3c87a7447.tar.gz
  miniexpr-no-license-install.patch

----------(Old B)----------
  Old:  the correct place
- Drop 0001-Add-squeeze-as-view.patch
----------(Old E)----------

----------(New B)----------
  New:  very unorthodox place
- Add miniexpr-no-license-install.patch, we put the LICNESES into
  the correct place
----------(New E)----------

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

Other differences:
------------------
++++++ python-blosc2.spec ++++++
--- /var/tmp/diff_new_pack.KfESXb/_old  2026-04-25 21:38:39.040903769 +0200
+++ /var/tmp/diff_new_pack.KfESXb/_new  2026-04-25 21:38:39.044903932 +0200
@@ -17,40 +17,43 @@
 
 
 %{?sle15_python_module_pythons}
+# See CMakeLists.txt
+%define miniexpr_commit 37bf6982bf9619036b47f095b7005bc3c87a7447
+%define minicc_commit 41208bdc85612042f363f425cda4601b3ed90d64
 Name:           python-blosc2
-Version:        2.7.1
+Version:        4.1.2
 Release:        0
 Summary:        Python wrapper for the C-Blosc2 library
 License:        BSD-3-Clause
 URL:            https://github.com/Blosc/python-blosc2
 Source:         
https://files.pythonhosted.org/packages/source/b/blosc2/blosc2-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM backported from gh#Blosc/python-blosc2@f91bae77b
-Patch0:         0001-Add-squeeze-as-view.patch
+Source1:        
https://github.com/Blosc/miniexpr/archive/%{miniexpr_commit}.tar.gz#/miniexpr-%{miniexpr_commit}.tar.gz
+# PATCH-FIX-OPENSUSE miniexpr-no-license-install.patch [email protected] -- 
Don't the license files into python platlib
+Patch0:         miniexpr-no-license-install.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel >= 3.10}
-BuildRequires:  %{python_module numpy-devel >= 1.20.3}
+BuildRequires:  %{python_module numpy-devel >= 1.26}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module scikit-build}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module wheel}
+BuildRequires:  %{python_module scikit-build-core}
 BuildRequires:  c++_compiler
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
-BuildRequires:  pkgconfig(blosc2) >= 2.14.4
+BuildRequires:  pkgconfig(blosc2) >= 2.14.1
 Requires:       python-msgpack
-Requires:       python-ndindex >= 1.4
-Requires:       python-numexpr
-Requires:       python-numpy >= 1.20.3
-Requires:       python-py-cpuinfo
+Requires:       python-ndindex
+Requires:       python-numexpr >= 2.14.1
+Requires:       python-numpy >= 1.26
+Requires:       python-requests
 # SECTION test requirements
 BuildRequires:  %{python_module msgpack}
-BuildRequires:  %{python_module ndindex >= 1.4}
-BuildRequires:  %{python_module numexpr}
+BuildRequires:  %{python_module ndindex}
+BuildRequires:  %{python_module numexpr >= 2.14.1}
 BuildRequires:  %{python_module psutil}
-BuildRequires:  %{python_module py-cpuinfo}
+BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module requests}
 # /SECTION
 %python_subpackages
 
@@ -70,13 +73,19 @@
 for the later.
 
 %prep
-%autosetup -p1 -n blosc2-%{version}
+%autosetup -p1 -n blosc2-%{version} -a1
 
 %build
 export CFLAGS="%{optflags}"
 export CPPFLAGS="%{optflags}"
 # debundle c-blosc2
-export SKBUILD_CONFIGURE_OPTIONS="-DUSE_SYSTEM_BLOSC2:BOOL=ON"
+export USE_SYSTEM_BLOSC2=1
+# See the CMakeLists.txt files for the repos and their commit hashes
+SKBUILD_CMAKE_DEFINE="FETCHCONTENT_SOURCE_DIR_MINIEXPR=$PWD/miniexpr-%{miniexpr_commit}"
+# This bundles libtcc.so and .h weirdly into python platlib. See also the PyPI 
wheels. Don't do that.
+SKBUILD_CMAKE_DEFINE="${SKBUILD_CMAKE_DEFINE};MINIEXPR_ENABLE_TCC_JIT=OFF"
+SKBUILD_CMAKE_DEFINE="${SKBUILD_CMAKE_DEFINE};MINIEXPR_USE_SLEEF=OFF"
+export SKBUILD_CMAKE_DEFINE
 %pyproject_wheel
 
 %install
@@ -84,19 +93,20 @@
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-mv blosc2 blosc2-src
-donttest="dummyprefix"
+# segfault without TCC_JIT
+donttest="test_dsl_save_clamp"
 %ifarch %ix86 %arm32
 # too large for address memory
 donttest="$donttest or (test_pack and int64)"
 %endif
-# test failing because Fatal Python error: Floating point exception
-donttest+=" or test_prefilters"
-%pytest_arch -k "not ($donttest)"
+# 
https://lists.opensuse.org/archives/list/[email protected]/thread/WZC3YN2NFHGJJPUTFBF4LFYXDM7MJEZT
+# Don't test on Python 3.14, it crashes on OBS, disable and test locally to be 
sure it works for users.
+python314_donttest="--setup-only"
+%pytest_arch -k "not ($donttest)" ${$python_donttest}
 
 %files %{python_files}
 %doc README.rst
-%license LICENSE.txt
+%license LICENSE.txt miniexpr-%{miniexpr_commit}/LICENSE 
miniexpr-%{miniexpr_commit}/LICENSE-TINYEXPR 
miniexpr-%{miniexpr_commit}/THIRD_PARTY_NOTICES.md
 %{python_sitearch}/blosc2
 %{python_sitearch}/blosc2-%{version}.dist-info
 

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.KfESXb/_old  2026-04-25 21:38:39.092905892 +0200
+++ /var/tmp/diff_new_pack.KfESXb/_new  2026-04-25 21:38:39.096906054 +0200
@@ -8,4 +8,5 @@
       </disk>
     </hardware>
 </constraints>
+(No newline at EOF)
 

++++++ blosc2-2.7.1.tar.gz -> blosc2-4.1.2.tar.gz ++++++
++++ 296744 lines of diff (skipped)

++++++ miniexpr-no-license-install.patch ++++++
Index: miniexpr-37bf6982bf9619036b47f095b7005bc3c87a7447/CMakeLists.txt
===================================================================
--- a/miniexpr-37bf6982bf9619036b47f095b7005bc3c87a7447/CMakeLists.txt
+++ b/miniexpr-37bf6982bf9619036b47f095b7005bc3c87a7447/CMakeLists.txt
@@ -404,13 +404,6 @@ if(MINIEXPR_BUILD_STATIC)
   set_target_properties(miniexpr_static PROPERTIES OUTPUT_NAME miniexpr)
 endif()
 
-install(FILES
-  "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE"
-  "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE-TINYEXPR"
-  "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE-SLEEF"
-  "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE-LIBTCC"
-  "${CMAKE_CURRENT_SOURCE_DIR}/THIRD_PARTY_NOTICES.md"
-  DESTINATION "${CMAKE_INSTALL_DATADIR}/miniexpr/licenses")
 
 find_package(Threads)
 if(Threads_FOUND)

Reply via email to