Merge pull request #1081 from SheffieldML/1076-gpy-will-not-install-against-numpy-20

set upper bound on numpy dependency
This commit is contained in:
Martin Bubel 2024-07-21 16:42:27 +02:00 committed by GitHub
commit 96e4154d68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 24124 additions and 17711 deletions

View file

@ -28,15 +28,18 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
- name: Install build dependencies
run: |
pip install setuptools
pip install matplotlib
pip install pytest
- name: Install lib
run: |
python setup.py develop
- name: Install test dependencies
run: |
pip install matplotlib
pip install pytest
- name: pytest
run: |
@ -57,16 +60,19 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
- name: Install build dependencies
run: |
pip install setuptools
pip install matplotlib
pip install pytest
- name: Install lib
run: |
python setup.py develop
- name: Install test dependencies
run: |
pip install matplotlib
pip install pytest
- name: pytest
run: |
pytest GPy/testing
@ -88,13 +94,16 @@ jobs:
- name: Install dependencies
run: |
pip install setuptools
pip install matplotlib
pip install pytest
- name: Install lib
run: |
python setup.py develop
- name: Install test dependencies
run: |
pip install matplotlib
pip install pytest
- name: pytest
run: |
pytest GPy/testing

View file

@ -2,6 +2,8 @@
## Unreleased
* update dependencies to `numpy>=1.7.0,<2.0.0`
* update import in `.plotting.matplot_dep.defaults` due to change in matplotlib
* Correct dl_dm term in student t inference #1065

File diff suppressed because it is too large Load diff

View file

@ -140,7 +140,7 @@ except ModuleNotFoundError:
ext_mods = []
install_requirements = [
"numpy>=1.7",
"numpy>=1.7,<2.0.0",
"six",
"paramz>=0.9.6",
"cython>=0.29",
@ -197,7 +197,7 @@ setup(
include_package_data=True,
py_modules=["GPy.__init__"],
test_suite="GPy.testing",
setup_requires=["numpy>=1.7"],
setup_requires=["numpy>=1.7,<2.0.0"],
install_requires=install_requirements,
extras_require={
"docs": ["sphinx"],