From 4308659ab24516d388889628a1ba2633f6d9e55b Mon Sep 17 00:00:00 2001 From: holgern Date: Wed, 19 Feb 2020 19:07:08 +0100 Subject: [PATCH] Rename test and increase min numpy version to 1.12 --- .travis.yml | 8 ++++---- pyproject.toml | 2 +- requirements.txt | 2 +- setup.py | 2 +- skopt/tests/{test_samples.py => test_sampler.py} | 0 5 files changed, 7 insertions(+), 7 deletions(-) rename skopt/tests/{test_samples.py => test_sampler.py} (100%) diff --git a/.travis.yml b/.travis.yml index 871afe045..6c76b4ceb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,25 +22,25 @@ matrix: - name: "Python 3.5 - scikit 0.19.2" python: "3.7" env: DISTRIB="conda" PYTHON_VERSION="3.5" - NUMPY_VERSION="1.11.0" SCIPY_VERSION="0.18.0" PYAML_VERSION="16.9.0" + NUMPY_VERSION="1.12.0" SCIPY_VERSION="0.18.0" PYAML_VERSION="16.9.0" SCIKIT_LEARN_VERSION="0.19.2" MATPLOTLIB_VERSION="2.0.0" COVERAGE="false" JOBLIB_VERSION="0.11" - name: "Python 3.6 - scikit 0.20.4" python: "3.7" env: DISTRIB="conda" PYTHON_VERSION="3.6" - NUMPY_VERSION="1.12.0" SCIPY_VERSION="0.19.1" PYAML_VERSION="16.12.0" + NUMPY_VERSION="1.14.0" SCIPY_VERSION="0.19.1" PYAML_VERSION="16.12.0" SCIKIT_LEARN_VERSION="0.20.4" MATPLOTLIB_VERSION="2.0.0" COVERAGE="false" JOBLIB_VERSION="0.11" - name: "Python 3.7 - scikit 0.21.3" python: "3.7" env: DISTRIB="conda" PYTHON_VERSION="3.7" - NUMPY_VERSION="1.13.0" SCIPY_VERSION="1.0.0" PYAML_VERSION="17.8.0" + NUMPY_VERSION="1.15.0" SCIPY_VERSION="1.0.0" PYAML_VERSION="17.8.0" SCIKIT_LEARN_VERSION="0.21.3" MATPLOTLIB_VERSION="*" COVERAGE="true" JOBLIB_VERSION="0.12" - name: "Python 3.7 - scikit 0.22.1" python: "3.7" env: DISTRIB="conda" PYTHON_VERSION="3.7" - NUMPY_VERSION="1.14.0" SCIPY_VERSION="1.2.0" PYAML_VERSION="18.11.0" + NUMPY_VERSION="1.16.0" SCIPY_VERSION="1.2.0" PYAML_VERSION="18.11.0" SCIKIT_LEARN_VERSION="0.22.1" MATPLOTLIB_VERSION="*" COVERAGE="true" JOBLIB_VERSION="0.13" - name: "Python 3.8 latest package versions" diff --git a/pyproject.toml b/pyproject.toml index 6e5347cb2..6fad80b64 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = [ "setuptools", "wheel", - "numpy>=1.11", + "numpy>=1.12", "scipy>=0.18", "scikit-learn>=0.19.1", "pyaml>=16.9", diff --git a/requirements.txt b/requirements.txt index 18985117d..5f2ef0417 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -numpy>=1.11 +numpy>=1.12 scipy>=0.18 scikit-learn>=0.19 matplotlib>=2.0.0 diff --git a/setup.py b/setup.py index 981892675..3b311924e 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ classifiers=CLASSIFIERS, packages=['skopt', 'skopt.learning', 'skopt.optimizer', 'skopt.space', 'skopt.learning.gaussian_process', 'skopt.sampler'], - install_requires=['joblib>=0.11', 'pyaml>=16.9', 'numpy>=1.11.0', + install_requires=['joblib>=0.11', 'pyaml>=16.9', 'numpy>=1.12.0', 'scipy>=0.18.0', 'scikit-learn>=0.19.1'], extras_require={ diff --git a/skopt/tests/test_samples.py b/skopt/tests/test_sampler.py similarity index 100% rename from skopt/tests/test_samples.py rename to skopt/tests/test_sampler.py