Skip to content

Commit

Permalink
MNT: Drop Python 3.8 and 3.9
Browse files Browse the repository at this point in the history
and add support for Python 3.13
  • Loading branch information
pllim committed Oct 1, 2024
1 parent efb7007 commit 15fdfd1
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: 3.8
python-version: '3.10'

- name: Install python-build and twine
run: python -m pip install pip build "twine>=3.3" -U
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,29 @@ jobs:
matrix:
include:
- os: ubuntu-latest
python-version: 3.8
toxenv: py38-test-pytestoldest
python-version: '3.10'
toxenv: py310-test-pytestoldest
- os: windows-latest
python-version: 3.8
toxenv: py38-test-pytest50
python-version: '3.10'
toxenv: py310-test-pytest50
- os: macos-12
python-version: 3.8
toxenv: py38-test-pytest51
python-version: '3.10'
toxenv: py310-test-pytest51
- os: ubuntu-latest
python-version: 3.8
toxenv: py38-test-pytest52
python-version: '3.10'
toxenv: py310-test-pytest52
- os: windows-latest
python-version: 3.8
toxenv: py38-test-pytest53
python-version: '3.10'
toxenv: py310-test-pytest53
- os: ubuntu-latest
python-version: 3.8
toxenv: py38-test-pytest60
python-version: '3.10'
toxenv: py310-test-pytest60
- os: ubuntu-latest
python-version: 3.9
toxenv: py39-test-pytest61
python-version: '3.10'
toxenv: py310-test-pytest61
- os: ubuntu-latest
python-version: 3.9
toxenv: py39-test-pytest62
python-version: '3.10'
toxenv: py310-test-pytest62
- os: ubuntu-latest
python-version: '3.10'
toxenv: py310-test-pytest70
Expand Down Expand Up @@ -70,11 +70,11 @@ jobs:
python-version: '3.11'
toxenv: py311-test-pytestdev
- os: windows-latest
python-version: '3.11'
toxenv: py311-test-pytestdev
- os: ubuntu-latest
python-version: '3.12'
toxenv: py312-test-pytestdev
- os: ubuntu-latest
python-version: '3.13-dev'
toxenv: py313-test-pytestdev

steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
0.3.0 (unreleased)
==================

- Dropped Python 3.8 and 3.9 support. Added support for Python 3.13. [#21]

0.2.0 (2024-03-04)
==================

Expand Down
2 changes: 1 addition & 1 deletion LICENSE.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2019, Astropy Developers
Copyright (c) 2019-2024, Astropy Developers

All rights reserved.

Expand Down
5 changes: 2 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ 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
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Topic :: Software Development :: Testing
Topic :: Utilities
license = BSD
Expand All @@ -27,7 +26,7 @@ keywords = pytest, py.test
[options]
zip_safe = False
packages = find:
python_requires = >=3.8
python_requires = >=3.10
install_requires =
pytest>=4.6
packaging
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{38,39,310,311,312}-test
py{310,311,312,313}-test
codestyle
requires =
setuptools >= 30.3.0
Expand Down

0 comments on commit 15fdfd1

Please sign in to comment.