Skip to content

Commit

Permalink
BLD: Set python oldest supported version to 3.8 (skypyproject#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrjbca committed Sep 8, 2024
1 parent a6cda56 commit f402029
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: '3.7'
python: '3.8'
apt_packages:
- graphviz

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,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 <https://github.com/skypyproject/skypy/blob/main/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 <https://github.com/skypyproject/skypy/blob/main/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 <https://www.python.org/dev/peps/pep-0008/>`_. We recommend using `flake8 <https://flake8.pycqa.org/>`__ to check your code for PEP8 compliance.
- Importing SkyPy should only depend on having `NumPy <https://www.numpy.org>`_, `SciPy <https://www.scipy.org/>`_ and `Astropy <https://www.astropy.org/>`__ installed.
- Code is grouped into submodules based on broad science areas e.g. `galaxies <https://skypy.readthedocs.io/en/stable/galaxies.html>`_. There is also a `utils <https://skypy.readthedocs.io/en/stable/utils/index.html>`_ submodule for general utility functions.
Expand Down
2 changes: 1 addition & 1 deletion docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://www.astropy.org/>`__
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f402029

Please sign in to comment.