mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-25 12:56:22 +02:00
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:
commit
96e4154d68
4 changed files with 24124 additions and 17711 deletions
25
.github/workflows/test-and-deploy.yml
vendored
25
.github/workflows/test-and-deploy.yml
vendored
|
|
@ -28,16 +28,19 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install build dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install setuptools
|
pip install setuptools
|
||||||
pip install matplotlib
|
|
||||||
pip install pytest
|
|
||||||
|
|
||||||
- name: Install lib
|
- name: Install lib
|
||||||
run: |
|
run: |
|
||||||
python setup.py develop
|
python setup.py develop
|
||||||
|
|
||||||
|
- name: Install test dependencies
|
||||||
|
run: |
|
||||||
|
pip install matplotlib
|
||||||
|
pip install pytest
|
||||||
|
|
||||||
- name: pytest
|
- name: pytest
|
||||||
run: |
|
run: |
|
||||||
pytest GPy/testing
|
pytest GPy/testing
|
||||||
|
|
@ -57,16 +60,19 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install build dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install setuptools
|
pip install setuptools
|
||||||
pip install matplotlib
|
|
||||||
pip install pytest
|
|
||||||
|
|
||||||
- name: Install lib
|
- name: Install lib
|
||||||
run: |
|
run: |
|
||||||
python setup.py develop
|
python setup.py develop
|
||||||
|
|
||||||
|
- name: Install test dependencies
|
||||||
|
run: |
|
||||||
|
pip install matplotlib
|
||||||
|
pip install pytest
|
||||||
|
|
||||||
- name: pytest
|
- name: pytest
|
||||||
run: |
|
run: |
|
||||||
pytest GPy/testing
|
pytest GPy/testing
|
||||||
|
|
@ -88,13 +94,16 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install setuptools
|
pip install setuptools
|
||||||
pip install matplotlib
|
|
||||||
pip install pytest
|
|
||||||
|
|
||||||
- name: Install lib
|
- name: Install lib
|
||||||
run: |
|
run: |
|
||||||
python setup.py develop
|
python setup.py develop
|
||||||
|
|
||||||
|
- name: Install test dependencies
|
||||||
|
run: |
|
||||||
|
pip install matplotlib
|
||||||
|
pip install pytest
|
||||||
|
|
||||||
- name: pytest
|
- name: pytest
|
||||||
run: |
|
run: |
|
||||||
pytest GPy/testing
|
pytest GPy/testing
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
* update dependencies to `numpy>=1.7.0,<2.0.0`
|
||||||
|
|
||||||
* update import in `.plotting.matplot_dep.defaults` due to change in matplotlib
|
* update import in `.plotting.matplot_dep.defaults` due to change in matplotlib
|
||||||
|
|
||||||
* Correct dl_dm term in student t inference #1065
|
* Correct dl_dm term in student t inference #1065
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
4
setup.py
4
setup.py
|
|
@ -140,7 +140,7 @@ except ModuleNotFoundError:
|
||||||
ext_mods = []
|
ext_mods = []
|
||||||
|
|
||||||
install_requirements = [
|
install_requirements = [
|
||||||
"numpy>=1.7",
|
"numpy>=1.7,<2.0.0",
|
||||||
"six",
|
"six",
|
||||||
"paramz>=0.9.6",
|
"paramz>=0.9.6",
|
||||||
"cython>=0.29",
|
"cython>=0.29",
|
||||||
|
|
@ -197,7 +197,7 @@ setup(
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
py_modules=["GPy.__init__"],
|
py_modules=["GPy.__init__"],
|
||||||
test_suite="GPy.testing",
|
test_suite="GPy.testing",
|
||||||
setup_requires=["numpy>=1.7"],
|
setup_requires=["numpy>=1.7,<2.0.0"],
|
||||||
install_requires=install_requirements,
|
install_requires=install_requirements,
|
||||||
extras_require={
|
extras_require={
|
||||||
"docs": ["sphinx"],
|
"docs": ["sphinx"],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue