Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package blosc2 for openSUSE:Factory checked 
in at 2023-12-01 21:26:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/blosc2 (Old)
 and      /work/SRC/openSUSE:Factory/.blosc2.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "blosc2"

Fri Dec  1 21:26:51 2023 rev:10 rq:1130255 version:2.11.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/blosc2/blosc2.changes    2023-11-30 
22:02:08.070857347 +0100
+++ /work/SRC/openSUSE:Factory/.blosc2.new.25432/blosc2.changes 2023-12-01 
21:27:18.890168171 +0100
@@ -1,0 +2,11 @@
+Fri Dec  1 13:37:53 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 2.11.3
+  * Frames accept now typesizes that are larger than 255 (and up to
+    2**31). See PyTables/PyTables#1086. Thanks to @chris-allan for
+    the report.
+  * AVX512 runtime dispatching has been fixed (basically disabled)
+    for GCC versions <= 10.
+  * Use typedef for blosc_timestamp_t. Thanks to Magnus Ulimoen.
+
+-------------------------------------------------------------------

Old:
----
  c-blosc2-2.11.2.tar.gz

New:
----
  c-blosc2-2.11.3.tar.gz

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

Other differences:
------------------
++++++ blosc2.spec ++++++
--- /var/tmp/diff_new_pack.XoVr96/_old  2023-12-01 21:27:20.658233237 +0100
+++ /var/tmp/diff_new_pack.XoVr96/_new  2023-12-01 21:27:20.674233826 +0100
@@ -20,7 +20,7 @@
 %define major 2
 %define libname lib%{name}-%{major}
 Name:           blosc2
-Version:        2.11.2
+Version:        2.11.3
 Release:        0
 Summary:        A fast, compressed, persistent binary data store library for C
 License:        BSD-2-Clause AND BSD-3-Clause AND MIT

++++++ c-blosc2-2.11.2.tar.gz -> c-blosc2-2.11.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/c-blosc2-2.11.2/ANNOUNCE.md 
new/c-blosc2-2.11.3/ANNOUNCE.md
--- old/c-blosc2-2.11.2/ANNOUNCE.md     2023-11-07 18:58:15.000000000 +0100
+++ new/c-blosc2-2.11.3/ANNOUNCE.md     2023-11-30 18:59:08.000000000 +0100
@@ -1,10 +1,10 @@
-# Announcing C-Blosc2 2.11.2
+# Announcing C-Blosc2 2.11.3
 A fast, compressed and persistent binary data store library for C.
 
 ## What is new?
 
-This is a maintenance release for fixing compilation on Raspberry Pi (4).
-Only affects to ARM non-64bit builds.
+This is a maintenance release for allowing typesizes > 255 in frames
+and other small fixes.
 
 For more info, please see the release notes in:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/c-blosc2-2.11.2/CMakeLists.txt 
new/c-blosc2-2.11.3/CMakeLists.txt
--- old/c-blosc2-2.11.2/CMakeLists.txt  2023-11-07 18:58:15.000000000 +0100
+++ new/c-blosc2-2.11.3/CMakeLists.txt  2023-11-30 18:59:08.000000000 +0100
@@ -285,7 +285,10 @@
         else()
             set(COMPILER_SUPPORT_AVX2 FALSE)
         endif()
-        if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.9 OR 
CMAKE_C_COMPILER_VERSION VERSION_EQUAL 4.9)
+        # GCC 10.3.2 (the version in manylinux_2014) seems to have issues 
supporting dynamic dispatching
+        # of AVX512.  GCC 11.4 is the first minimal version that works well 
here.
+        # That means that Linux wheels will have AVX512 disabled, but that's 
life.
+        if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 11.4 OR 
CMAKE_C_COMPILER_VERSION VERSION_EQUAL 11.4)
             set(COMPILER_SUPPORT_AVX512 TRUE)
         else()
             set(COMPILER_SUPPORT_AVX512 FALSE)
@@ -297,7 +300,9 @@
         else()
             set(COMPILER_SUPPORT_AVX2 FALSE)
         endif()
-        if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 10.0 OR 
CMAKE_C_COMPILER_VERSION VERSION_EQUAL 10.0)
+        # Clang 13 is the minimum version that we know that works with AVX512 
dynamic dispatch.
+        # Perhaps lesser versions work too, better to err on the safe side.
+        if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 13.0 OR 
CMAKE_C_COMPILER_VERSION VERSION_EQUAL 13.0)
             set(COMPILER_SUPPORT_AVX512 TRUE)
         else()
             set(COMPILER_SUPPORT_AVX512 FALSE)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/c-blosc2-2.11.2/RELEASE_NOTES.md 
new/c-blosc2-2.11.3/RELEASE_NOTES.md
--- old/c-blosc2-2.11.2/RELEASE_NOTES.md        2023-11-07 18:58:15.000000000 
+0100
+++ new/c-blosc2-2.11.3/RELEASE_NOTES.md        2023-11-30 18:59:08.000000000 
+0100
@@ -1,6 +1,19 @@
 Release notes for C-Blosc2
 ==========================
 
+Changes from 2.11.2 to 2.11.3
+=============================
+
+* Frames accept now typesizes that are larger than 255 (and up to 2**31).
+  See https://github.com/PyTables/PyTables/issues/1086.  Thanks to
+  @chris-allan for the report.
+
+* AVX512 runtime dispatching has been fixed (basically disabled) for GCC
+  versions <= 10.
+
+* Use typedef for blosc_timestamp_t.  Thanks to Magnus Ulimoen.
+
+
 Changes from 2.11.1 to 2.11.2
 =============================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/c-blosc2-2.11.2/blosc/frame.c 
new/c-blosc2-2.11.3/blosc/frame.c
--- old/c-blosc2-2.11.2/blosc/frame.c   2023-11-07 18:58:15.000000000 +0100
+++ new/c-blosc2-2.11.3/blosc/frame.c   2023-11-30 18:59:08.000000000 +0100
@@ -428,8 +428,8 @@
   }
   if (typesize != NULL) {
     from_big(typesize, framep + FRAME_TYPESIZE, sizeof(*typesize));
-    if (*typesize <= 0 || *typesize > BLOSC_MAX_TYPESIZE) {
-      BLOSC_TRACE_ERROR("`typesize` is zero or greater than max allowed.");
+    if (*typesize <= 0) {
+      BLOSC_TRACE_ERROR("`typesize` cannot be zero or negative.");
       return BLOSC2_ERROR_INVALID_HEADER;
     }
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/c-blosc2-2.11.2/include/blosc2.h 
new/c-blosc2-2.11.3/include/blosc2.h
--- old/c-blosc2-2.11.2/include/blosc2.h        2023-11-07 18:58:15.000000000 
+0100
+++ new/c-blosc2-2.11.3/include/blosc2.h        2023-11-30 18:59:08.000000000 
+0100
@@ -83,10 +83,10 @@
 /* Version numbers */
 #define BLOSC2_VERSION_MAJOR    2    /* for major interface/format changes  */
 #define BLOSC2_VERSION_MINOR    11   /* for minor interface/format changes  */
-#define BLOSC2_VERSION_RELEASE  2    /* for tweaks, bug-fixes, or development 
*/
+#define BLOSC2_VERSION_RELEASE  3    /* for tweaks, bug-fixes, or development 
*/
 
-#define BLOSC2_VERSION_STRING   "2.11.2"  /* string version.  Sync with above! 
*/
-#define BLOSC2_VERSION_DATE     "$Date:: 2023-11-07 #$"    /* date version */
+#define BLOSC2_VERSION_STRING   "2.11.3"  /* string version.  Sync with above! 
*/
+#define BLOSC2_VERSION_DATE     "$Date:: 2023-11-30 #$"    /* date version */
 
 
 /* The maximum number of dimensions for Blosc2 NDim arrays */
@@ -2306,9 +2306,9 @@
 
 /* The type of timestamp used on this system. */
 #if defined(_WIN32)
-#define blosc_timestamp_t LARGE_INTEGER
+typedef LARGE_INTEGER blosc_timestamp_t;
 #else
-#define blosc_timestamp_t struct timespec
+typedef struct timespec blosc_timestamp_t;
 #endif
 
 /*

Reply via email to