From bd1751fabcada2051738dca2540992868f1c7417 Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 3 May 2026 13:30:05 +0300 Subject: [PATCH 01/14] OpenBLAS 0.3.33 was released --- openblas_commit.txt | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openblas_commit.txt b/openblas_commit.txt index e8c91502..42bae871 100644 --- a/openblas_commit.txt +++ b/openblas_commit.txt @@ -1 +1 @@ -v0.3.31-188-g4956446c +v0.3.33 diff --git a/pyproject.toml b/pyproject.toml index 44c7ac9a..d93ec5eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,8 +8,8 @@ build-backend = "setuptools.build_meta" [project] name = "scipy-openblas64" -# v0.3.31-188-g4956446c -version = "0.3.31.188.1" +# v0.3.33 +version = "0.3.33.0.0" requires-python = ">=3.7" description = "Provides OpenBLAS for python packaging" readme = "README.md" From d4c58c8ab67c91aea83f1393f9b8b16083b70e9d Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 3 May 2026 13:33:09 +0300 Subject: [PATCH 02/14] update changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ac2464b..89371dae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## OpenBLAS v0.3.33 + +### 0.3.33 (2026-05-03) +- Update to OpenBLAS 0.3.33 + ## OpenBLAS v0.3.31.188 (v0.3.31-188-g4956446c) ### 0.3.31.188.1 (2026-03-23) From 1114797785c49c981b38c0632161f592383010fe Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 3 May 2026 13:33:40 +0300 Subject: [PATCH 03/14] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89371dae..8eee17f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## OpenBLAS v0.3.33 -### 0.3.33 (2026-05-03) +### 0.3.33.0.0 (2026-05-03) - Update to OpenBLAS 0.3.33 ## OpenBLAS v0.3.31.188 (v0.3.31-188-g4956446c) From fe1fc7e05a0454ae343fd9877d76f9fb380c2b88 Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 3 May 2026 13:58:49 +0300 Subject: [PATCH 04/14] handle pure tags in version comparison --- ci-before-build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ci-before-build.sh b/ci-before-build.sh index d1382e7f..4aa9aa88 100755 --- a/ci-before-build.sh +++ b/ci-before-build.sh @@ -15,8 +15,13 @@ else version=$(grep "^version =" pyproject.toml | sed 's/version = "//;s/"//') fi -# Sanity check, strip off the last (build) number from version, convert - to . in OPENBLAS_COMMIT -if [[ "${OPENBLAS_COMMIT//-/.}" != *"${version%.*}"* ]]; then +obcommit=$OPENBLAS_COMMIT +# add .0 if OPENBLAS_COMMIT is an actual tag +[[ "$obcommit" == *-* ]] || obcommit="$obcommit.0" + +# convert - to . in OPENBLAS_COMMIT +# strip off the last (build) number from version +if [[ "${obcommit//-/.}" == *"${version%.*}"* ]]; then echo "OPENBLAS_COMMIT $OPENBLAS_COMMIT does not match the pyproject.toml version $version" exit -1 fi From 70ac2b57eeaefe3518c5ac5decbc919581759257 Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 3 May 2026 14:24:24 +0300 Subject: [PATCH 05/14] handle pure tags in version comparison Signed-off-by: mattip --- ci-before-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-before-build.sh b/ci-before-build.sh index 4aa9aa88..9c504573 100755 --- a/ci-before-build.sh +++ b/ci-before-build.sh @@ -21,7 +21,7 @@ obcommit=$OPENBLAS_COMMIT # convert - to . in OPENBLAS_COMMIT # strip off the last (build) number from version -if [[ "${obcommit//-/.}" == *"${version%.*}"* ]]; then +if [[ "${obcommit//-/.}" != *"${version%.*}"* ]]; then echo "OPENBLAS_COMMIT $OPENBLAS_COMMIT does not match the pyproject.toml version $version" exit -1 fi From 69182a271a553997f25f637a75906788275bacd4 Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 3 May 2026 15:08:22 +0300 Subject: [PATCH 06/14] move version override --- build-openblas.sh | 1 + ci-before-build.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build-openblas.sh b/build-openblas.sh index 427f6d3f..20145b33 100755 --- a/build-openblas.sh +++ b/build-openblas.sh @@ -7,5 +7,6 @@ before_build echo "------ CLEAN CODE --------" clean_code $OPENBLAS_COMMIT +sed -e "s/^VERSION = .*/VERSION = ${OPENBLAS_VERSION}/" -i.bak OpenBLAS/Makefile.rule echo "------ BUILD LIB --------" build_lib "$PLAT" "$INTERFACE64" diff --git a/ci-before-build.sh b/ci-before-build.sh index 9c504573..83ee94e5 100755 --- a/ci-before-build.sh +++ b/ci-before-build.sh @@ -26,7 +26,7 @@ if [[ "${obcommit//-/.}" != *"${version%.*}"* ]]; then exit -1 fi -sed -e "s/^VERSION = .*/VERSION = ${version}/" -i.bak OpenBLAS/Makefile.rule +export OPENBLAS_VERSION=version echo "creating wheel from $OPENBLAS_COMMIT (NIGHTLY is $NIGHTLY)" case "$PLAT" in From b3ffd3a9771f91be57acbe182a06817bbae1afdf Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 3 May 2026 16:29:39 +0300 Subject: [PATCH 07/14] debug scipy-openblas.pc version --- tools/build_prepare_wheel.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/build_prepare_wheel.sh b/tools/build_prepare_wheel.sh index a6ef2604..c25fedeb 100644 --- a/tools/build_prepare_wheel.sh +++ b/tools/build_prepare_wheel.sh @@ -18,6 +18,9 @@ tar -C local/scipy_openblas64 --strip-components=2 -xf libs/openblas.tar.gz find local/scipy_openblas64/lib -maxdepth 1 -type l -delete rm local/scipy_openblas64/lib/*.a # Check that the pyproject.toml and the pkgconfig versions agree. +echo "============ scipy-openblas.pc =======================" +cat ./local/scipy_openblas64/lib/pkgconfig/scipy-openblas*.pc +echo "============ scipy-openblas.pc =======================" py_version=$(grep "^version" pyproject.toml | sed -e "s/version = \"//") pkg_version=$(grep "version=" ./local/scipy_openblas64/lib/pkgconfig/scipy-openblas*.pc | sed -e "s/version=//" | sed -e "s/dev//") if [[ -z "$pkg_version" ]]; then From f226cdb0ff25aad6c5ab835d0879b2c834aca795 Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 3 May 2026 19:43:26 +0300 Subject: [PATCH 08/14] typo --- ci-before-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-before-build.sh b/ci-before-build.sh index 83ee94e5..8d063057 100755 --- a/ci-before-build.sh +++ b/ci-before-build.sh @@ -26,7 +26,7 @@ if [[ "${obcommit//-/.}" != *"${version%.*}"* ]]; then exit -1 fi -export OPENBLAS_VERSION=version +export OPENBLAS_VERSION=$version echo "creating wheel from $OPENBLAS_COMMIT (NIGHTLY is $NIGHTLY)" case "$PLAT" in From 553c5c8dd03f0b775a668753e7a458f05863b4c5 Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 3 May 2026 22:21:21 +0300 Subject: [PATCH 09/14] update action --- .github/workflows/posix.yml | 2 +- .github/workflows/windows.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 871f87d5..b06b6eb8 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -124,7 +124,7 @@ jobs: path: dist/scipy_openblas*.whl - - uses: conda-incubator/setup-miniconda@v3.3.0 + - uses: conda-incubator/setup-miniconda@v4.0.1 with: channels: conda-forge channel-priority: true diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index b8034e2c..cf86222d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -170,7 +170,7 @@ jobs: python -m pip install pkgconf python -m pkgconf scipy-openblas --cflags - - uses: conda-incubator/setup-miniconda@v3.1.1 + - uses: conda-incubator/setup-miniconda@v4.0.1 with: channels: conda-forge channel-priority: true From a90f692229c7bec04422f4987b968147b9057632 Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 3 May 2026 22:42:25 +0300 Subject: [PATCH 10/14] update workflow --- .github/workflows/posix.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index b06b6eb8..d2c25598 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -70,12 +70,12 @@ jobs: submodules: recursive fetch-depth: 0 - - uses: maxim-lobanov/setup-xcode@v1.6.0 + - uses: maxim-lobanov/setup-xcode@v1.7.0 if: ${{ matrix.os == 'macos-latest' }} with: xcode-version: '16.0' - - uses: maxim-lobanov/setup-xcode@v1.6.0 + - uses: maxim-lobanov/setup-xcode@v1.7.0 if: ${{ matrix.os == 'macos-14' }} with: xcode-version: '15.4' From 4c2cf7a68a0686c0b6dae59322744d28f06cdcfd Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 3 May 2026 23:18:33 +0300 Subject: [PATCH 11/14] use scientific-python action to upload to ananconda.org --- .github/workflows/posix.yml | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index d2c25598..2e1e46ff 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -123,22 +123,8 @@ jobs: name: wheels-${{ matrix.os }}-${{ matrix.PLAT }}-${{ matrix.INTERFACE64 }}-${{ matrix.MB_ML_LIBC }}-${{ matrix.MB_ML_VER }} path: dist/scipy_openblas*.whl - - - uses: conda-incubator/setup-miniconda@v4.0.1 + - name: Upload to ananconda.org + uses: scientific-python/upload-nightly-action@0.6.4 with: - channels: conda-forge - channel-priority: true - activate-environment: upload - miniforge-version: latest - conda-remove-defaults: "true" - - - name: Upload - # see https://github.com/marketplace/actions/setup-miniconda for why - # `-el {0}` is required. - shell: bash -el {0} - env: - ANACONDA_SCIENTIFIC_PYTHON_UPLOAD: ${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }} - run: | - conda install -y anaconda-client - source tools/upload_to_anaconda_staging.sh - upload_wheels + artifacts_path: dist + anaconda_nightly_upload_token: ${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }} From 53662eb7823b47459a431f8ec5c752d33a859b20 Mon Sep 17 00:00:00 2001 From: mattip Date: Mon, 4 May 2026 00:22:51 +0300 Subject: [PATCH 12/14] use scientific-python action to upload to ananconda.org --- .github/workflows/posix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 2e1e46ff..779ce769 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -127,4 +127,4 @@ jobs: uses: scientific-python/upload-nightly-action@0.6.4 with: artifacts_path: dist - anaconda_nightly_upload_token: ${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }} + anaconda_nightly_upload_token: ${{secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD}} From 36eb934dbc416a78a0077808f9cb4590d9a8a2b5 Mon Sep 17 00:00:00 2001 From: mattip Date: Mon, 4 May 2026 13:39:57 +0300 Subject: [PATCH 13/14] conditionally upload to anaconda.org --- .github/workflows/posix.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 779ce769..57fadff2 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -124,6 +124,7 @@ jobs: path: dist/scipy_openblas*.whl - name: Upload to ananconda.org + if: ${{ inputs.publish == false && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }} uses: scientific-python/upload-nightly-action@0.6.4 with: artifacts_path: dist From c53ca3a07200e44289bf4c5c93d9b75bf1a97282 Mon Sep 17 00:00:00 2001 From: mattip Date: Mon, 4 May 2026 14:39:25 +0300 Subject: [PATCH 14/14] updat docker action --- .github/workflows/posix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 57fadff2..ac3f30af 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -82,7 +82,7 @@ jobs: - name: Set up QEMU if: matrix.PLAT == 'ppc64le' || matrix.PLAT == 's390x' || matrix.PLAT == 'riscv64' - uses: docker/setup-qemu-action@v3.7.0 + uses: docker/setup-qemu-action@v4.0.0 with: platforms: all