Skip to content

Commit

Permalink
Fix mainline:
Browse files Browse the repository at this point in the history
Merge of:
* #7144
* #7142
* #7140
  • Loading branch information
stuartarchibald committed Jun 24, 2021
3 parents 87e4ae1 + 424beb5 + bdc87ae commit 22d709c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
name: Linux
vmImage: ubuntu-18.04
matrix:
py37_np115_32bit:
py37_np117_32bit:
# 32 bit linux only has np 1.15
PYTHON: '3.7'
NUMPY: '1.15'
NUMPY: '1.17'
CONDA_ENV: azure_ci
BITS32: yes
TEST_START_INDEX: 2
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/incremental/setup_conda_environment.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ call deactivate
@rem Display root environment (for debugging)
conda list
@rem Scipy, CFFI, jinja2 and IPython are optional dependencies, but exercised in the test suite
conda create -n %CONDA_ENV% -q -y python=%PYTHON% numpy=%NUMPY% cffi pip scipy jinja2 ipython gitpython pyyaml
conda create -n %CONDA_ENV% -q -y python=%PYTHON% numpy=%NUMPY% cffi pip scipy jinja2 ipython gitpython=3.1.17 pyyaml

call activate %CONDA_ENV%
@rem Install latest llvmlite build
Expand Down
7 changes: 3 additions & 4 deletions buildscripts/incremental/setup_conda_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ conda list
# NOTE: 32 bit linux... do not install NumPy, there's no conda package for >1.15
# so it has to come from pip later
if [[ "$CONDA_SUBDIR" == "linux-32" || "$BITS32" == "yes" ]]; then
conda create -n $CONDA_ENV -q -y ${EXTRA_CHANNELS} python=$PYTHON pip gitpython pyyaml
conda create -n $CONDA_ENV -q -y ${EXTRA_CHANNELS} python=$PYTHON pip gitpython=3.1.17 pyyaml
else
conda create -n $CONDA_ENV -q -y ${EXTRA_CHANNELS} python=$PYTHON numpy=$NUMPY pip gitpython pyyaml
conda create -n $CONDA_ENV -q -y ${EXTRA_CHANNELS} python=$PYTHON numpy=$NUMPY pip gitpython=3.1.17 pyyaml
fi

# Activate first
Expand Down Expand Up @@ -77,8 +77,7 @@ fi

# If on 32bit linux, now pip install NumPy and SciPy (no conda package)
if [[ "$CONDA_SUBDIR" == "linux-32" || "$BITS32" == "yes" ]] ; then
$PIP_INSTALL numpy==$NUMPY
$PIP_INSTALL scipy
$PIP_INSTALL numpy==$NUMPY scipy
fi

# Install latest llvmlite build
Expand Down

0 comments on commit 22d709c

Please sign in to comment.