From aa2b367256fe4ce3ab05e5dd9e4c1578e3daa41b Mon Sep 17 00:00:00 2001 From: Richard R <58728519+rrjbca@users.noreply.github.com> Date: Sat, 29 Jun 2024 14:40:44 +0100 Subject: [PATCH] BLD: Set python oldest supported version to 3.8 (#620) --- .github/workflows/tests.yaml | 4 ++-- .readthedocs.yml | 2 +- CONTRIBUTING.rst | 2 +- docs/install.rst | 2 +- setup.cfg | 2 +- tox.ini | 8 ++++---- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ea2b43a9..ef1069ec 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -25,8 +25,8 @@ jobs: - name: oldest supported versions os: ubuntu-latest - python: 3.7 - toxenv: py37-test-oldest + python: '3.8' + toxenv: py38-test-oldest - name: macOS latest supported os: macos-latest diff --git a/.readthedocs.yml b/.readthedocs.yml index 432dbdea..d6ba8088 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -3,7 +3,7 @@ version: 2 build: os: ubuntu-20.04 tools: - python: '3.7' + python: '3.8' apt_packages: - graphviz diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index d749b965..43a4100b 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -168,7 +168,7 @@ Before your pull request can be merged into the codebase, it will be reviewed by General Guidelines ^^^^^^^^^^^^^^^^^^ -- SkyPy is compatible with Python>=3.7 (see `setup.cfg `_). SkyPy *does not* support backwards compatibility with Python 2.x; `six`, `__future__` and `2to3` should not be used. +- SkyPy is compatible with Python>=3.8 (see `setup.cfg `_). SkyPy *does not* support backwards compatibility with Python 2.x; `six`, `__future__` and `2to3` should not be used. - All contributions should follow the `PEP8 Style Guide for Python Code `_. We recommend using `flake8 `__ to check your code for PEP8 compliance. - Importing SkyPy should only depend on having `NumPy `_, `SciPy `_ and `Astropy `__ installed. - Code is grouped into submodules based on broad science areas e.g. `galaxies `_. There is also a `utils `_ submodule for general utility functions. diff --git a/docs/install.rst b/docs/install.rst index 986f8d9f..7203271f 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -40,7 +40,7 @@ can be installed directly from GitHub using a recent version of pip: Dependencies ------------ -SkyPy is compatble with Python versions 3.7 or later on Ubuntu, macOS and +SkyPy is compatble with Python versions 3.8 or later on Ubuntu, macOS and Windows operating systems. It has the following core dependencies: - `astropy `__ diff --git a/setup.cfg b/setup.cfg index baeb275f..0235fd84 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,7 +14,7 @@ github_project = skypyproject/skypy [options] zip_safe = False packages = find: -python_requires = >=3.7 +python_requires = >=3.8 setup_requires = setuptools_scm install_requires = astropy>=4 diff --git a/tox.ini b/tox.ini index f3ced749..b753ecda 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,9 @@ [tox] envlist = - py{37,38,39,310,311,312}-test{,-all}{,-dev,-latest,-oldest}{,-cov} - py{37,38,39,310,311,312}-test-numpy{116,117,118,119,120,121,122,123,124,125,126} - py{37,38,39,310,311,312}-test-scipy{16,17,18,19,110,111,112,113} - py{37,38,39,310,311,312}-test-astropy{40,41,42,43,50,51,52,53,60,61} + py{38,39,310,311,312}-test{,-all}{,-dev,-latest,-oldest}{,-cov} + py{38,39,310,311,312}-test-numpy{116,117,118,119,120,121,122,123,124,125,126} + py{38,39,310,311,312}-test-scipy{16,17,18,19,110,111,112,113} + py{38,39,310,311,312}-test-astropy{40,41,42,43,50,51,52,53,60,61} build_docs linkcheck codestyle