Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BLD: limit scipy-openblas32 wheel to 0.3.23.293.2 #25085

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
python-version: 'pypy3.9-v7.3.12'
- name: Setup using scipy-openblas
run: |
python -m pip install scipy-openblas32 spin
python -m pip install "scipy-openblas32<=0.3.23.293.2" spin
spin config-openblas --with-scipy-openblas=32
- uses: ./.github/meson_actions

Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
set -xe
sudo apt update
sudo apt install gfortran libgfortran5
pip install scipy-openblas32
pip install "scipy-openblas32<=0.3.23.293.2"
spin config-openblas --with-scipy-openblas=32
- name: Build a wheel
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_compiler_sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install dependencies
run: |
pip install -r build_requirements.txt
pip install scipy-openblas32 spin
pip install "scipy-openblas32<=0.3.23.293.2" spin
- name: Build
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_musl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
python -m venv test_env
source test_env/bin/activate

pip install scipy-openblas64
pip install "scipy-openblas64<=0.3.23.293.2"

pip install -r build_requirements.txt -r test_requirements.txt

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
env:
PKG_CONFIG_PATH: ${{ github.workspace }}/.openblas
run: |
python -m pip install scipy-openblas32
python -m pip install "scipy-openblas32<=0.3.23.293.2"
spin build --with-scipy-openblas=32 -j2 -- --vsenv

- name: Install NumPy (Clang-cl)
Expand All @@ -60,7 +60,7 @@ jobs:
PKG_CONFIG_PATH: ${{ github.workspace }}/.openblas
run: |
"[binaries]","c = 'clang-cl'","cpp = 'clang-cl'","ar = 'llvm-lib'","c_ld = 'lld-link'","cpp_ld = 'lld-link'" | Out-File $PWD/clang-cl-build.ini -Encoding ascii
python -m pip install scipy-openblas32
python -m pip install "scipy-openblas32<=0.3.23.293.2"
spin build --with-scipy-openblas=32 -j2 -- --vsenv --native-file=$PWD/clang-cl-build.ini

- name: Meson Log
Expand Down
14 changes: 1 addition & 13 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,7 @@ stages:
# yum does not have a ninja package, so use the PyPI one
docker run -v $(pwd):/numpy -e CFLAGS="-msse2 -std=c99 -UNDEBUG" \
-e F77=gfortran-5 -e F90=gfortran-5 quay.io/pypa/manylinux2014_i686 \
/bin/bash -xc " \
git config --global --add safe.directory /numpy && \
cd /numpy && \
/opt/python/cp39-cp39/bin/python -mvenv venv && \
source venv/bin/activate && \
python3 -m pip install ninja scipy-openblas32 spin && \
python3 -m pip install -r test_requirements.txt && \
echo CFLAGS \$CFLAGS && \
spin config-openblas --with-scipy-openblas=32 && \
export PKG_CONFIG_PATH=/numpy/.openblas && \
python3 -m pip install . && \
cd tools && \
python3 -m pytest --pyargs numpy"
/bin/bash -xc "source /numpy/tools/ci/run_32_bit_linux_docker.sh"
displayName: 'Run 32-bit manylinux2014 Docker Build / Tests'

- job: Windows
Expand Down
4 changes: 2 additions & 2 deletions azure-steps-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ steps:
python -m pip install . -v -Csetup-args="--vsenv" -Csetup-args="-Dblas=none" -Csetup-args="-Dlapack=none" -Csetup-args="-Dallow-noblas=true"
}
elseif ( Test-Path env:_USE_BLAS_ILP64 ) {
python -m pip install scipy-openblas64 spin
python -m pip install "scipy-openblas64<=0.3.23.293.2" spin
spin config-openblas --with-scipy-openblas=64
$env:PKG_CONFIG_PATH="$pwd/.openblas"
python -m pip install . -v -Csetup-args="--vsenv" -Csetup-args="-Duse-ilp64=true"
} else {
python -m pip install scipy-openblas32 spin
python -m pip install "scipy-openblas32<=0.3.23.293.2" spin
spin config-openblas --with-scipy-openblas=32
$env:PKG_CONFIG_PATH="$pwd/.openblas"
python -m pip install . -v -Csetup-args="--vsenv"
Expand Down
14 changes: 14 additions & 0 deletions tools/ci/run_32_bit_linux_docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
set -xe

git config --global --add safe.directory /numpy
cd /numpy
/opt/python/cp39-cp39/bin/python -mvenv venv
source venv/bin/activate
python3 -m pip install ninja "scipy-openblas32<=0.3.23.293.2" spin
python3 -m pip install -r test_requirements.txt
echo CFLAGS \$CFLAGS
spin config-openblas --with-scipy-openblas=32
export PKG_CONFIG_PATH=/numpy/.openblas
python3 -m pip install .
cd tools
python3 -m pytest --pyargs numpy