mirror of
https://github.com/biopython/biopython.git
synced 2025-10-20 13:43:47 +08:00
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:
@ -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:
|
||||
|
@ -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
|
||||
|
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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: |
|
||||
|
Reference in New Issue
Block a user