#955 Fix CI build

Freezing numpy and scipy was a bad idea.
I freeze matplotlib  dependend  on the python version only.
This commit is contained in:
Peter Paul Kiefer 2021-11-28 10:25:18 +01:00
parent 299b3b023a
commit a93c4ace5f
2 changed files with 13 additions and 9 deletions

View file

@ -117,13 +117,13 @@ try:
except ModuleNotFoundError:
ext_mods = []
# #955
install_requirements = ['numpy==1.19.2', 'six', 'paramz>=0.9.0', 'cython>=0.29']
install_requirements = ['numpy>=1.7', 'six', 'paramz>=0.9.0', 'cython>=0.29']
matplotlib_version = 'matplotlib==3.3.4'
if sys.version_info < (3, 6):
install_requirements += ['scipy>=1.3.0,<1.5.0']
matplotlib_version = 'matplotlib==3.0.0'
else:
# #955
install_requirements += ['scipy==1.5.2']
install_requirements += ['scipy>=1.3.0']
setup(name = 'GPy',
version = __version__,
@ -170,15 +170,14 @@ setup(name = 'GPy',
include_package_data = True,
py_modules = ['GPy.__init__'],
test_suite = 'GPy.testing',
# #955
setup_requires = ['numpy == 1.19.2'],
setup_requires = ['numpy>=1.7'],
install_requires = install_requirements,
extras_require = {'docs':['sphinx'],
'optional':['mpi4py',
'ipython>=4.0.0',
],
#matplotlib Version see github issue #955
'plotting':['matplotlib == 3.3.4',
'plotting':[matplotlib_version,
'plotly >= 1.8.6'],
'notebook':['jupyter_client >= 4.0.6',
'ipywidgets >= 4.0.3',