Skip to content

Commit 07c1883

Browse files
authored
Bump minimum supported python version to 3.10 (#1176)
Bump oldest numpy Trying to get numpy to install Add MacOS 3.10 test Update numpy pin here as well Bump oldest supported scipy Updated versions in contributing.rst
1 parent c2da2c3 commit 07c1883

File tree

5 files changed

+13
-16
lines changed

5 files changed

+13
-16
lines changed

.github/workflows/ci_workflows.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,15 @@ jobs:
3737
python: '3.12'
3838
toxenv: py312-test
3939

40-
- name: Python 3.10
41-
os: ubuntu-latest
40+
- name: Python 3.10 (MacOS)
41+
os: macos-latest
4242
python: '3.10'
4343
toxenv: py310-test
4444

45-
- name: Python 3.9
45+
- name: Python 3.10 with oldest supported version of key dependencies
4646
os: ubuntu-latest
47-
python: 3.9
48-
toxenv: py39-test
49-
50-
- name: Python 3.8 with oldest supported version of key dependencies
51-
os: ubuntu-20.04
52-
python: 3.8
53-
toxenv: py38-test-oldestdeps
47+
python: '3.10'
48+
toxenv: py310-test-oldestdeps
5449

5550
steps:
5651
- name: Checkout code

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Bug Fixes
1212
Other Changes and Additions
1313
^^^^^^^^^^^^^^^^^^^^^^^^^^^
1414

15+
- Dropped support for python 3.9. [#1176]
16+
1517
- ``utils.wcs_utils.refraction_index`` (and thus ``air_to_vac`` and ``vac_to_air``)
1618
now defaults to ``Morton2000`` as the method instead of ``Griesen2006``. [#1169]
1719

docs/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Before you submit a pull request, check that it meets these guidelines:
107107
2. If the pull request adds functionality, the docs should be updated. Put
108108
your new functionality into a function with a docstring, and add the
109109
feature to the list in README.rst.
110-
3. The pull request should work for Python 3.9 - 3.11, and for PyPy. Check
110+
3. The pull request should work for Python 3.10 - 3.12, and for PyPy. Check
111111
that all required tests passed in the Github Actions CI section at the
112112
bottom of your pull request.
113113

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ github_project = astropy/specutils
1414
[options]
1515
zip_safe = False
1616
packages = find:
17-
python_requires = >=3.8
17+
python_requires = >=3.10
1818
install_requires =
19-
numpy>=1.19
19+
numpy>=1.24
2020
scipy>=1.3
2121
astropy>=5.1
2222
gwcs>=0.18

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{38,39,310,311,312}-test{,-devdeps,-oldestdeps,-predeps}{,-cov,-external}
3+
py{310,311,312}-test{,-devdeps,-oldestdeps,-predeps}{,-cov,-external}
44
linkcheck
55
codestyle
66
isolated_build = true
@@ -38,8 +38,8 @@ description =
3838
deps =
3939
cov: pytest-cov
4040

41-
oldestdeps: numpy==1.19.*
42-
oldestdeps: scipy==1.3.*
41+
oldestdeps: numpy==1.24.4
42+
oldestdeps: scipy==1.8.*
4343
oldestdeps: astropy==5.1.*
4444
oldestdeps: gwcs==0.18.*
4545
oldestdeps: asdf-astropy==0.3.*

0 commit comments

Comments
 (0)