Skip to content

Commit

Permalink
Drop Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Sep 9, 2023
1 parent d18b957 commit 662610e
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 25 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ jobs:
with:
submodules: false
coverage: codecov
toxdeps: "'tox<4' tox-pypi-filter"
toxdeps: tox-pypi-filter
envs: |
- linux: py310
- linux: py311
test:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
submodules: false
coverage: codecov
toxdeps: "'tox<4' tox-pypi-filter"
toxdeps: tox-pypi-filter
envs: |
- macos: py38
- macos: py310
- windows: py39
- linux: py38-oldestdeps
- linux: py39-oldestdeps
- linux: build_docs
posargs: ''
pytest: false
Expand All @@ -57,10 +57,10 @@ jobs:
)
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
default_python: '3.8'
default_python: '3.9'
submodules: false
coverage: codecov
toxdeps: "'tox<4' tox-pypi-filter"
toxdeps: tox-pypi-filter
envs: |
- linux: py311-devdeps
- linux: py39-conda
Expand Down
2 changes: 1 addition & 1 deletion .rtd-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ name: rtd_ndcube
channels:
- conda-forge
dependencies:
- python=3.10
- python=3.11
- pip
- graphviz!=2.42.*,!=2.43.*
2 changes: 1 addition & 1 deletion .sunpy-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default_context:
license: BSD 2-Clause
project_url: http://docs.sunpy.org/projects/ndcube/
github_repo: sunpy/ndcube
minimum_python_version: 3.8
minimum_python_version: 3.9
use_compiled_extensions: n
include_example_code: n
_provide_setuppy_fallback: y
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Installing ``ndcube``
*********************

`ndcube` requires Python >=3.8, ``astropy``>=4.2, ``numpy``>=1.1.7 and ``gwcs``>=0.15.
`ndcube` requires Python >=3.9, ``astropy``>=5.0, ``numpy``>=1.21 and ``gwcs``>=0.18.

Installing the release version
------------------------------
Expand Down
15 changes: 7 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ classifiers =
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Expand All @@ -37,11 +36,11 @@ classifiers =
zip_safe = False
packages = find:
include_package_data = True
python_requires = >=3.8
python_requires = >=3.9
install_requires =
astropy>=4.2
gwcs>=0.15
numpy>1.17
astropy>=5.0.6,!=5.1.0
gwcs>=0.18
numpy>=1.21.0

[options.extras_require]
tests =
Expand All @@ -50,7 +49,7 @@ tests =
pytest-astropy
pytest-mpl>=0.12
scipy
sunpy>=4.0.0
sunpy>=5.0.0
docs =
matplotlib
pytest-doctestplus>=0.9.0
Expand All @@ -60,9 +59,9 @@ docs =
sphinx-gallery
sphinxext-opengraph
sunpy-sphinx-theme
sunpy>=4.0.0
sunpy>=5.0.0
plotting =
matplotlib>=3.2
matplotlib>=3.5.0
mpl_animators>=1.0
reproject =
reproject>=0.7.1
Expand Down
9 changes: 2 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
[tox]
min_version = 4.0
envlist =
py{38,39,310}{,-devdeps,-online,-figure,-conda,-oldestdeps}
py{39,310,311}{,-devdeps,-online,-figure,-conda,-oldestdeps}
build_docs
codestyle
requires =
setuptools >=56, !=61.0.0
pip >= 19.3.1
tox < 4
tox-pypi-filter >= 0.12
isolated_build = true

[testenv]
pypi_filter = https://raw.githubusercontent.com/sunpy/sunpy/main/.test_package_pins.txt
Expand Down

0 comments on commit 662610e

Please sign in to comment.