From 0260dbcebfde6d4f9687d926135f1590000e6538 Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Thu, 16 Nov 2023 22:03:03 +0100 Subject: [PATCH 1/4] limit minimum python version #1038 --- CHANGELOG.md | 2 ++ setup.py | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bebfe2eb..0728e22b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +* limit supported python versions to `">=3.9"` in accordance with numpy + * Change from `nosetest` to `pytest` ## v1.9.8 (2019-05-17) diff --git a/setup.py b/setup.py index 135764d5..8415d2aa 100644 --- a/setup.py +++ b/setup.py @@ -158,6 +158,7 @@ setup( description=("The Gaussian Process Toolbox"), long_description=desc, license="BSD 3-clause", + python_requires=">=3.9", keywords="machine-learning gaussian-processes kernels", url="https://sheffieldml.github.io/GPy/", download_url="https://github.com/SheffieldML/GPy/archive/refs/heads/devel.zip", From e962a12624fce64c7ffa1fec2e8962ea6e9a63bd Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Thu, 16 Nov 2023 22:04:49 +0100 Subject: [PATCH 2/4] Remove Python 3.6, 3.7, and 3.8 from Travis CI build --- .travis.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2de5e89a..044436c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,9 +16,6 @@ addons: # - "$HOME/install/" env: - - PYTHON_VERSION=3.6 - - PYTHON_VERSION=3.7 - - PYTHON_VERSION=3.8 - PYTHON_VERSION=3.9 - PYTHON_VERSION=3.10 - PYTHON_VERSION=3.11 From 5030933a45f1544a4997e28972dc667d275bfc2d Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Thu, 16 Nov 2023 22:06:09 +0100 Subject: [PATCH 3/4] Update Python versions in appveyor.yml --- appveyor.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 207b0b12..e9462e6a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,18 +5,18 @@ environment: secure: d3Luic/ESkGaWnZrvWZTKrzO+xaVwJWaRCEP0F+K/9DQGPSRZsJ/Du5g3s4XF+tS gpy_version: 1.12.0 matrix: - - PYTHON_VERSION: 3.6 - MINICONDA: C:\Miniconda3-x64 - MPL_VERSION: 3.3.4 - - PYTHON_VERSION: 3.7 - MINICONDA: C:\Miniconda3-x64 - MPL_VERSION: 3.3.4 - - PYTHON_VERSION: 3.8 - MINICONDA: C:\Miniconda3-x64 - MPL_VERSION: 3.3.4 - PYTHON_VERSION: 3.9 MINICONDA: C:\Miniconda3-x64 MPL_VERSION: 3.3.4 + - PYTHON_VERSION: 3.10 + MINICONDA: C:\Miniconda3-x64 + MPL_VERSION: 3.3.4 + - PYTHON_VERSION: 3.11 + MINICONDA: C:\Miniconda3-x64 + MPL_VERSION: 3.3.4 + - PYTHON_VERSION: 3.12 + MINICONDA: C:\Miniconda3-x64 + MPL_VERSION: 3.3.4 #configuration: # - Debug From f8dc6c7657efb916441c359a8ae7684d1cc12c1f Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Thu, 16 Nov 2023 22:10:07 +0100 Subject: [PATCH 4/4] limit minimum python version in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5df04327..a1aa1e1b 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ If that is the case, it is best to clean the repo and reinstall. [](http://www.apple.com/osx/) [](https://en.wikipedia.org/wiki/List_of_Linux_distributions) -Python 3.5 and higher +Python 3.9 and higher ## Citation