Skip to content

Commit 30b8587

Browse files
committed
MNT: Update test matrix, build infra
1 parent dd094db commit 30b8587

9 files changed

+14
-15
lines changed

.github/workflows/ci_workflows.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,17 @@ jobs:
4848
- os: ubuntu-latest
4949
python-version: '3.12'
5050
toxenv: py312-test-sphinx80
51+
- os: ubuntu-latest
52+
python-version: '3.12'
53+
toxenv: py312-test-sphinx81
5154
- os: ubuntu-latest
5255
python-version: '3.13'
5356
toxenv: py313-test-sphinxdev
5457

5558
# MacOS X - just the stable and dev
5659
- os: macos-latest
57-
python-version: '3.10'
58-
toxenv: py310-test-sphinx80-clocale
60+
python-version: '3.11'
61+
toxenv: py310-test-sphinx81-clocale
5962
- os: macos-latest
6063
python-version: '3.13'
6164
toxenv: py313-test-sphinxdev
@@ -66,7 +69,7 @@ jobs:
6669
toxenv: py38-test-sphinx_oldest
6770
- os: windows-latest
6871
python-version: '3.10'
69-
toxenv: py310-test-sphinx80
72+
toxenv: py310-test-sphinx81
7073
- os: windows-latest
7174
python-version: '3.13'
7275
toxenv: py313-test-sphinxdev

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fetch-depth: 0
1919
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2020
with:
21-
python-version: 3.8
21+
python-version: "3.12"
2222

2323
- name: Install dependencies
2424
run: |

.readthedocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: 2
77
build:
88
os: ubuntu-22.04
99
tools:
10-
python: "3.11"
10+
python: "3.12"
1111
jobs:
1212
post_checkout:
1313
- git fetch --shallow-since=2023-01-01 || true

LICENSE.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014-2016, Astropy Developers
1+
Copyright (c) 2014-2025, Astropy Developers
22

33
All rights reserved.
44

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ include CHANGES.rst
33
include LICENSE.rst
44

55
include setup.cfg
6+
inckude pyproject.toml
67

78
exclude *.pyc *.o
89
prune build

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[build-system]
22
requires = ["setuptools>=30.3.0",
3-
"setuptools_scm",
3+
"setuptools_scm>=8.0.0",
44
"wheel"]
55
build-backend = 'setuptools.build_meta'
66

77

88
[tool.setuptools_scm]
9-
write_to = "sphinx_automodapi/version.py"
9+
version_file = "sphinx_automodapi/version.py"

setup.cfg

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ test =
2929
pytest-cov
3030
cython
3131
coverage
32-
setuptools;python_version>='3.12'
3332
rtd =
3433
sphinx-rtd-theme
3534

setup.py

-5
This file was deleted.

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{38,39,310,311,312,313}-test-sphinx{_oldest,53,62,70,71,72,80,dev}{-cov}{-clocale}
2+
envlist = py{38,39,310,311,312,313}-test-sphinx{_oldest,53,62,70,71,72,80,81,dev}{-cov}{-clocale}
33
requires = pip >= 18.0
44
setuptools >= 30.3.0
55
isolated_build = true
@@ -14,6 +14,7 @@ deps =
1414
sphinx71: sphinx==7.1.*
1515
sphinx72: sphinx==7.2.*
1616
sphinx80: sphinx==8.0.*
17+
sphinx81: sphinx==8.1.*
1718
sphinxdev: git+https://github.com/sphinx-doc/sphinx.git
1819
extras =
1920
test: test

0 commit comments

Comments
 (0)