Avoid Numpy 2.1.0 (#4798)

Avoid numpy 2.1.0 due to np.set_printoptions() regression

See numpy bug 27254
This commit is contained in:
Peter Cock
2024-08-21 10:37:23 +01:00
committed by GitHub
parent 64905af284
commit c0b029af66
3 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ build_script:
- SET PATH=C:\Py;C:\Py\Scripts;C:\Py\Library\bin;%PATH%
- conda config --set always_yes yes
- conda update conda
- python -m pip install --upgrade coverage setuptools numpy
- python -m pip install --upgrade coverage setuptools "numpy!=2.1.0"
- python -m pip install .
test_script:

View File

@ -20,7 +20,7 @@ jobs:
command: |
python --version
pip install -r .circleci/requirements-sphinx.txt
pip install coverage numpy scipy mmtf-python mysqlclient mysql-connector-python rdflib networkx matplotlib
pip install coverage "numpy!=2.1.0" scipy mmtf-python mysqlclient mysql-connector-python rdflib networkx matplotlib
echo "Python dependencies installed"
- run:
name: Installation

View File

@ -228,7 +228,7 @@ jobs:
- name: Install minimal Python dependencies
run: |
python -m pip install numpy
python -m pip install "numpy!=2.1.0"
- name: Debug Info
run: |
@ -266,7 +266,7 @@ jobs:
- name: Install minimal Python dependencies
run: |
python -m pip install numpy
python -m pip install "numpy!=2.1.0"
- name: Debug Info
run: |
@ -302,7 +302,7 @@ jobs:
- name: Install minimal Python dependencies
run: |
python -m pip install numpy
python -m pip install "numpy!=2.1.0"
- name: Debug Info
run: |