public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Packit <hello@packit.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/python-numcodecs] f44: Update to 0.17.1 upstream release
Date: Wed, 21 Oct 2026 00:57:02 GMT	[thread overview]
Message-ID: <179254422244.1.2830630444357336892.rpms-python-numcodecs-e8e906089912@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-numcodecs
            Branch : f44
            Commit : e8e9060899124e5e1e86054fe472c92fd14b62d6
            Author : Packit <hello@packit.dev>
            Date   : 2026-10-20T19:33:02-04:00
            Stats  : +38/-146 in 8 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-numcodecs/c/e8e9060899124e5e1e86054fe472c92fd14b62d6?branch=f44

            Log:
            Update to 0.17.1 upstream release

- Resolves: rhbz#2556639

Commit authored by Packit automation (https://packit.dev/)

---
diff --git a/.gitignore b/.gitignore
index e5ba081..119341f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@
 /numcodecs-0.16.3.tar.gz
 /numcodecs-0.16.5.tar.gz
 /numcodecs-0.17.0.tar.gz
+/numcodecs-0.17.1.tar.gz

diff --git a/0001-Allow-building-against-a-system-Zlib.patch b/0001-Allow-building-against-a-system-Zlib.patch
deleted file mode 100644
index ff6ec35..0000000
--- a/0001-Allow-building-against-a-system-Zlib.patch
+++ /dev/null
@@ -1,137 +0,0 @@
-From 1caddd4f6edd3342f349c5cbf6b8185bca4d54b5 Mon Sep 17 00:00:00 2001
-From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
-Date: Fri, 18 Sep 2026 02:41:03 -0400
-Subject: [PATCH 1/3] Allow building against a system Zlib
-
-Also, don't build vendored Zlib internally if not using vendored blosc,
-as it isn't necessary.
-
-And drop the extra licenses.
-
-Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
----
- meson.options             |  6 ++--
- pyproject.toml            |  2 --
- src/numcodecs/meson.build | 64 +++++++++++++++++++++------------------
- 3 files changed, 38 insertions(+), 34 deletions(-)
-
-diff --git a/meson.options b/meson.options
-index 26a2414..f055af8 100644
---- a/meson.options
-+++ b/meson.options
-@@ -1,9 +1,11 @@
- option('system_blosc', type: 'feature', value: 'disabled',
-        description: 'Use system-installed Blosc library')
--option('system_zstd', type: 'feature', value: 'disabled',
--       description: 'Use system-installed Zstandard library')
- option('system_lz4', type: 'feature', value: 'disabled',
-        description: 'Use system-installed LZ4 library')
-+option('system_zlib', type: 'feature', value: 'disabled',
-+       description: 'Use system-installed Zlib library')
-+option('system_zstd', type: 'feature', value: 'disabled',
-+       description: 'Use system-installed Zstandard library')
- option('sse2', type: 'feature', value: 'auto',
-        description: 'Enable SSE2 SIMD optimizations')
- option('avx2', type: 'feature', value: 'auto',
-diff --git a/pyproject.toml b/pyproject.toml
-index 185ecc3..192df28 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -36,8 +36,6 @@ maintainers = [
- license = "MIT"
- license-files = [
-     "LICENSE.txt",
--    "c-blosc/LICENSE.txt",
--    "c-blosc/LICENSES/*",
- ]
- 
- [project.urls]
-diff --git a/src/numcodecs/meson.build b/src/numcodecs/meson.build
-index eca2b2c..41a3a7a 100644
---- a/src/numcodecs/meson.build
-+++ b/src/numcodecs/meson.build
-@@ -123,39 +123,43 @@ if not lz4_dep.found()
-   )
- endif
- 
--# --- Vendored zlib (always vendored, used by blosc) ---
--zlib_sources = files(
--  '../../c-blosc/internal-complibs/zlib-1.3.1/adler32.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/compress.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/crc32.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/deflate.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/gzclose.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/gzlib.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/gzread.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/gzwrite.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/infback.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/inffast.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/inflate.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/inftrees.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/trees.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/uncompr.c',
--  '../../c-blosc/internal-complibs/zlib-1.3.1/zutil.c',
--)
--zlib_inc = include_directories('../../c-blosc/internal-complibs/zlib-1.3.1')
--
--zlib_lib = static_library('zlib_vendored', zlib_sources,
--  include_directories: zlib_inc,
--  c_args: c_args,
--)
--zlib_dep = declare_dependency(
--  link_with: zlib_lib,
--  include_directories: zlib_inc,
--)
--
- # --- Vendored blosc ---
- blosc_dep = dependency('blosc', required: get_option('system_blosc'))
- 
- if not blosc_dep.found()
-+  # --- Vendored zlib ---
-+  zlib_dep = dependency('zlib', required: get_option('system_zlib'))
-+
-+  if not zlib_dep.found()
-+    zlib_sources = files(
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/adler32.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/compress.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/crc32.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/deflate.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/gzclose.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/gzlib.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/gzread.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/gzwrite.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/infback.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/inffast.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/inflate.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/inftrees.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/trees.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/uncompr.c',
-+      '../../c-blosc/internal-complibs/zlib-1.3.1/zutil.c',
-+    )
-+    zlib_inc = include_directories('../../c-blosc/internal-complibs/zlib-1.3.1')
-+
-+    zlib_lib = static_library('zlib_vendored', zlib_sources,
-+      include_directories: zlib_inc,
-+      c_args: c_args,
-+    )
-+    zlib_dep = declare_dependency(
-+      link_with: zlib_lib,
-+      include_directories: zlib_inc,
-+    )
-+  endif
-+
-   blosc_sources = files(
-     '../../c-blosc/blosc/blosc.c',
-     '../../c-blosc/blosc/blosclz.c',
-@@ -207,7 +211,7 @@ endif
- # Extensions with C library dependencies
- py.extension_module('blosc',
-   'blosc.pyx',
--  dependencies: [blosc_dep, lz4_dep, zlib_dep, zstd_dep],
-+  dependencies: [blosc_dep],
-   c_args: c_args,
-   link_args: link_args,
-   install: true,
--- 
-2.54.0
-

diff --git a/0001-Drop-the-extra-licenses.patch b/0001-Drop-the-extra-licenses.patch
new file mode 100644
index 0000000..0983934
--- /dev/null
+++ b/0001-Drop-the-extra-licenses.patch
@@ -0,0 +1,28 @@
+From c06d4ef19afca68537cc233004edde39309c6dc3 Mon Sep 17 00:00:00 2001
+From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+Date: Fri, 18 Sep 2026 02:41:03 -0400
+Subject: [PATCH 1/3] Drop the extra licenses
+
+We don't bundle c-blosc, so its license is not required.
+
+Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+---
+ pyproject.toml | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 185ecc3..192df28 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -36,8 +36,6 @@ maintainers = [
+ license = "MIT"
+ license-files = [
+     "LICENSE.txt",
+-    "c-blosc/LICENSE.txt",
+-    "c-blosc/LICENSES/*",
+ ]
+ 
+ [project.urls]
+-- 
+2.56.0
+

diff --git a/0002-Re-add-Snappy-to-tests.patch b/0002-Re-add-Snappy-to-tests.patch
index 0cbd9a0..4dfe92b 100644
--- a/0002-Re-add-Snappy-to-tests.patch
+++ b/0002-Re-add-Snappy-to-tests.patch
@@ -1,4 +1,4 @@
-From 8fc87a3a9ce304398b8191644eab66c8079faee5 Mon Sep 17 00:00:00 2001
+From 28da42b6a519c9b9ff6f12f759e33bfea7cd2e0e Mon Sep 17 00:00:00 2001
 From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
 Date: Fri, 20 Aug 2021 04:22:34 -0400
 Subject: [PATCH 2/3] Re-add Snappy to tests
@@ -32,5 +32,5 @@ index b920f03..d0011c1 100644
          'zstd': 'Zstd',
      }
 -- 
-2.54.0
+2.56.0
 

diff --git a/0003-Fix-testing-setup-for-Fedora.patch b/0003-Fix-testing-setup-for-Fedora.patch
index 807b8bc..e8a39c8 100644
--- a/0003-Fix-testing-setup-for-Fedora.patch
+++ b/0003-Fix-testing-setup-for-Fedora.patch
@@ -1,4 +1,4 @@
-From 3ab7a2ddb558465fafe5622f40c41f0c396f72bb Mon Sep 17 00:00:00 2001
+From aab2ff4a7dcba44e04c28880b8e1414bb24d5dda Mon Sep 17 00:00:00 2001
 From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
 Date: Sun, 17 Nov 2024 03:23:22 -0500
 Subject: [PATCH 3/3] Fix testing setup for Fedora
@@ -34,5 +34,5 @@ index 192df28..0e70e5e 100644
      "NORMALIZE_WHITESPACE",
      "ELLIPSIS",
 -- 
-2.54.0
+2.56.0
 

diff --git a/README.packit b/README.packit
index 5fae86e..55f1550 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
 This repository is maintained by packit.
 https://packit.dev/
-The file was generated using packit 1.16.3.post1.dev4+gbf42df0bb.
+The file was generated using packit 1.17.0.

diff --git a/python-numcodecs.spec b/python-numcodecs.spec
index d72667e..3c7d058 100644
--- a/python-numcodecs.spec
+++ b/python-numcodecs.spec
@@ -7,15 +7,15 @@
 }
 
 Name:           python-%{srcname}
-Version:        0.17.0
+Version:        0.17.1
 Release:        %autorelease
 Summary:        Buffer compression and transformation for data storage and communication
 
 License:        MIT
 URL:            https://github.com/zarr-developers/numcodecs
 Source:         %pypi_source %{srcname}
-# https://github.com/zarr-developers/numcodecs/pull/860
-Patch:          0001-Allow-building-against-a-system-Zlib.patch
+# Fedora does not build with bundled c-blosc.
+Patch:          0001-Drop-the-extra-licenses.patch
 # Fedora is not missing Snappy support in Blosc.
 Patch:          0002-Re-add-Snappy-to-tests.patch
 # We don't need coverage reports, and don't want to test the current directory.

diff --git a/sources b/sources
index 1e19a95..53b8ecd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (numcodecs-0.17.0.tar.gz) = 1a7d66c2aaeb84a33ef6d7d709eb4234d50cc418d0c76d7986810d3b141c4bc31e3b327cd11be64d4b7dd8eb8e5a5ad1ca8bd756527d8e01db39a14a6a145598
+SHA512 (numcodecs-0.17.1.tar.gz) = dc001eac851c3e79e6f8def5171a9109d3fc169916309ee36018bf15fd20cb307bc52223ff6eb8bbf78b4565c7737354324c2788633ec221d3a14a0276799e07

                 reply	other threads:[~2026-10-21  0:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179254422244.1.2830630444357336892.rpms-python-numcodecs-e8e906089912@fedoraproject.org \
    --to=hello@packit.dev \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox