From 8ad6ed9d30b60a2a77c4174b39ce04015ce3dba4 Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Wed, 14 Jan 2026 01:45:21 -0800 Subject: [PATCH 1/5] Add 'frombuffer' branch to CI workflow triggers --- .github/workflows/cibuildwheels.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cibuildwheels.yml b/.github/workflows/cibuildwheels.yml index 986af5c..9c7ff4a 100644 --- a/.github/workflows/cibuildwheels.yml +++ b/.github/workflows/cibuildwheels.yml @@ -3,6 +3,7 @@ name: Wheels on: push: branches: + - frombuffer - master - v[0-9]+.[0-9]+.x tags: From 73705ce99ebaa97fde32388bf7b796c1996c34df Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Wed, 14 Jan 2026 01:46:29 -0800 Subject: [PATCH 2/5] Replace fromstring with frombuffer --- blosc/toplevel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blosc/toplevel.py b/blosc/toplevel.py index 4d2d413..3ef2327 100644 --- a/blosc/toplevel.py +++ b/blosc/toplevel.py @@ -513,7 +513,7 @@ def compress_ptr(address, items, typesize=8, clevel=9, shuffle=blosc.SHUFFLE, >>> c = blosc.compress_ptr(np_array.__array_interface__['data'][0], \ items, np_array.dtype.itemsize) >>> d = blosc.decompress(c) - >>> np_ans = numpy.fromstring(d, dtype=np_array.dtype) + >>> np_ans = numpy.frombuffer(d, dtype=np_array.dtype) >>> bool((np_array == np_ans).all()) True From eb6d052ddee5dea0f9ebbb7e0209075258fb3e2f Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Wed, 14 Jan 2026 01:47:50 -0800 Subject: [PATCH 3/5] skip tag check --- .github/workflows/cibuildwheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cibuildwheels.yml b/.github/workflows/cibuildwheels.yml index 9c7ff4a..0cf822b 100644 --- a/.github/workflows/cibuildwheels.yml +++ b/.github/workflows/cibuildwheels.yml @@ -13,7 +13,7 @@ jobs: build_wheels: name: Build wheels for ${{ matrix.arch }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} # Only build wheels when tagging (typically a release) - if: startsWith(github.event.ref, 'refs/tags') + # if: startsWith(github.event.ref, 'refs/tags') strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] From 90599797d97746418e27ab95153137e2017f896f Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Wed, 14 Jan 2026 01:49:46 -0800 Subject: [PATCH 4/5] remove comma --- .github/workflows/cibuildwheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cibuildwheels.yml b/.github/workflows/cibuildwheels.yml index 0cf822b..ed95bd9 100644 --- a/.github/workflows/cibuildwheels.yml +++ b/.github/workflows/cibuildwheels.yml @@ -53,7 +53,7 @@ jobs: python -m pip install cibuildwheel python -m cibuildwheel --output-dir wheelhouse env: - CIBW_BUILD: 'cp39-win32 cp310-win32 cp311-win32 cp312-win32, cp313-win32' + CIBW_BUILD: 'cp39-win32 cp310-win32 cp311-win32 cp312-win32 cp313-win32' CIBW_BEFORE_BUILD: pip install -r requirements.txt CIBW_BEFORE_TEST: pip install numpy CIBW_TEST_COMMAND: python -m blosc.test From cd8c92eca0de798cc1e677c26e7af1cd27ed0256 Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Wed, 14 Jan 2026 10:41:12 -0800 Subject: [PATCH 5/5] revert workflow triggers and chacks --- .github/workflows/cibuildwheels.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cibuildwheels.yml b/.github/workflows/cibuildwheels.yml index ed95bd9..fa5a874 100644 --- a/.github/workflows/cibuildwheels.yml +++ b/.github/workflows/cibuildwheels.yml @@ -3,7 +3,6 @@ name: Wheels on: push: branches: - - frombuffer - master - v[0-9]+.[0-9]+.x tags: @@ -13,7 +12,7 @@ jobs: build_wheels: name: Build wheels for ${{ matrix.arch }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} # Only build wheels when tagging (typically a release) - # if: startsWith(github.event.ref, 'refs/tags') + if: startsWith(github.event.ref, 'refs/tags') strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest]