Skip to content

Commit e5db568

Browse files
committed
MNT: declare explicit support for Python 3.13, and drop 3.8 (EOL)
1 parent 72e4758 commit e5db568

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.github/workflows/ci_workflows.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
with:
1919
envs: |
2020
- linux: codestyle
21-
- windows: py38-test-pytestoldest
22-
- linux: py38-test-pytest53
21+
- windows: py39-test-pytestoldest
22+
- linux: py39-test-pytest53
2323
- macos: py39-test-pytest60
2424
- windows: py39-test-pytest61
2525
- linux: py310-test-pytest62
@@ -28,12 +28,15 @@ jobs:
2828
- linux: py311-test-pytest72
2929
- macos: py311-test-pytest73
3030
- windows: py312-test-pytest74
31-
- linux: py312-test-devdeps
31+
- linux: py313-test-pytest83
32+
- linux: py313-test-pytest90
33+
- linux: py313-test-devdeps
3234
publish:
3335
needs: tests
3436
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@28e947497bed4d6ec3fa1d66d198e95a1d17bc63 # v2.2.1
3537
with:
3638
test_extras: test
3739
test_command: pytest $GITHUB_WORKSPACE/tests; pytest --arraydiff $GITHUB_WORKSPACE/tests
40+
python-version: '3.13'
3841
secrets:
3942
pypi_token: ${{ secrets.pypi_password }}

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
0.7 (unreleased)
22
----------------
33

4-
- Minimum Python version is now 3.8. [#49]
4+
- Minimum Python version is now 3.9. [#49, #57]
55

66
0.6.1 (2023-11-27)
77
------------------

setup.cfg

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ classifiers =
1313
Programming Language :: Python
1414
Programming Language :: Python :: 3
1515
Programming Language :: Python :: 3 :: Only
16-
Programming Language :: Python :: 3.8
1716
Programming Language :: Python :: 3.9
1817
Programming Language :: Python :: 3.10
1918
Programming Language :: Python :: 3.11
2019
Programming Language :: Python :: 3.12
20+
Programming Language :: Python :: 3.13
2121
Programming Language :: Python :: Implementation :: CPython
2222
Topic :: Software Development :: Testing
2323
Topic :: Utilities
@@ -28,7 +28,7 @@ long_description_content_type = text/x-rst
2828
[options]
2929
zip_safe = False
3030
packages = find:
31-
python_requires = >=3.8
31+
python_requires = >=3.9
3232
setup_requires =
3333
setuptools_scm
3434
install_requires =
@@ -54,8 +54,6 @@ markers =
5454
array_compare: for functions using array comparison
5555
filterwarnings =
5656
error
57-
# Can be removed when min Python is >=3.8
58-
ignore:distutils Version classes are deprecated
5957

6058
[flake8]
6159
max-line-length = 150

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
[tox]
22
envlist =
3-
py{38,39,310,311,312}-test{,-pytestoldest,-pytest52,-pytest53,-pytest60,-pytest61,-pytest62,-pytest70,-pytest71,-pytest72,-pytest73,-pytest74,-devdeps}
3+
py{39,310,311,312,313,314}-test{,-pytestoldest,-pytest52,-pytest53,-pytest60,-pytest61,-pytest62,-pytest70,-pytest71,-pytest72,-pytest73,-pytest74,-devdeps}
44
codestyle
5-
requires =
6-
setuptools >= 30.3.0
7-
pip >= 19.3.1
85
isolated_build = true
96

107
[testenv]
@@ -24,6 +21,9 @@ deps =
2421
pytest72: pytest==7.2.*
2522
pytest73: pytest==7.3.*
2623
pytest74: pytest==7.4.*
24+
pytest80: pytest==8.0.*
25+
pytest83: pytest==8.3.*
26+
pytest90: pytest==9.0.*
2727
devdeps: git+https://github.com/pytest-dev/pytest#egg=pytest
2828
devdeps: numpy>=0.0.dev0
2929
devdeps: pandas>=0.0.dev0

0 commit comments

Comments
 (0)