From 238e701ffcb87642f7f12b01a4ad37966095930c Mon Sep 17 00:00:00 2001 From: mmckerns Date: Sun, 20 Aug 2023 21:45:23 -0400 Subject: [PATCH] drop formal support for python 3.7 --- .travis.yml | 6 ------ README.md | 2 +- setup.py | 7 +++---- tox.ini | 4 ---- 4 files changed, 4 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0ead58e9..be76ddfd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,6 @@ language: python matrix: include: - - python: '3.7' - env: - - python: '3.8' env: @@ -29,9 +26,6 @@ matrix: - DILL="master" - KLEPTO="master" - - python: 'pypy3.7-7.3.9' - env: - - python: 'pypy3.8-7.3.9' # at 7.3.11 env: diff --git a/README.md b/README.md index 927d3194..f5427b2a 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ Requirements ------------ ``mystic`` requires: -* ``python`` (or ``pypy``), **>=3.7** +* ``python`` (or ``pypy``), **>=3.8** * ``setuptools``, **>=42** * ``cython``, **>=0.29.30** * ``numpy``, **>=1.0** diff --git a/setup.py b/setup.py index c7fbc45a..4c13208b 100644 --- a/setup.py +++ b/setup.py @@ -9,8 +9,8 @@ import os import sys # drop support for older python -if sys.version_info < (3, 7): - unsupported = 'Versions of Python before 3.7 are not supported' +if sys.version_info < (3, 8): + unsupported = 'Versions of Python before 3.8 are not supported' raise ValueError(unsupported) # get distribution meta info @@ -55,14 +55,13 @@ 'Source Code':'https://github.com/uqfoundation/mystic', 'Bug Tracker':'https://github.com/uqfoundation/mystic/issues', }, - python_requires = '>=3.7', + python_requires = '>=3.8', classifiers = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', diff --git a/tox.ini b/tox.ini index 58aa1b94..3148c02e 100644 --- a/tox.ini +++ b/tox.ini @@ -2,13 +2,11 @@ skip_missing_interpreters= True envlist = - py37-numpy12-sympy11 py38-numpy12-sympy11 py39-numpy12-sympy11 py310-numpy12-sympy11 py311-numpy12-sympy11 py312-numpy12-sympy11 - pypy37-numpy12-sympy11 pypy38-numpy12-sympy11 pypy39-numpy12-sympy11 pypy310-numpy12-sympy11 @@ -18,13 +16,11 @@ setenv = PYTHONHASHSEED = 0 recreate = True basepython = - py37: python3.7 py38: python3.8 py39: python3.9 py310: python3.10 py311: python3.11 py312: python3.12 - pypy37: pypy37 pypy38: pypy38 pypy39: pypy39 pypy310: pypy310