Skip to content

Commit

Permalink
MNT: Update test matrix, build infra
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Feb 3, 2025
1 parent dd094db commit 30b8587
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 15 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,17 @@ jobs:
- os: ubuntu-latest
python-version: '3.12'
toxenv: py312-test-sphinx80
- os: ubuntu-latest
python-version: '3.12'
toxenv: py312-test-sphinx81
- os: ubuntu-latest
python-version: '3.13'
toxenv: py313-test-sphinxdev

# MacOS X - just the stable and dev
- os: macos-latest
python-version: '3.10'
toxenv: py310-test-sphinx80-clocale
python-version: '3.11'
toxenv: py310-test-sphinx81-clocale
- os: macos-latest
python-version: '3.13'
toxenv: py313-test-sphinxdev
Expand All @@ -66,7 +69,7 @@ jobs:
toxenv: py38-test-sphinx_oldest
- os: windows-latest
python-version: '3.10'
toxenv: py310-test-sphinx80
toxenv: py310-test-sphinx81
- os: windows-latest
python-version: '3.13'
toxenv: py313-test-sphinxdev
Expand Down
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@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: 3.8
python-version: "3.12"

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.12"
jobs:
post_checkout:
- git fetch --shallow-since=2023-01-01 || true
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) 2014-2016, Astropy Developers
Copyright (c) 2014-2025, Astropy Developers

All rights reserved.

Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ include CHANGES.rst
include LICENSE.rst

include setup.cfg
inckude pyproject.toml

exclude *.pyc *.o
prune build
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[build-system]
requires = ["setuptools>=30.3.0",
"setuptools_scm",
"setuptools_scm>=8.0.0",
"wheel"]
build-backend = 'setuptools.build_meta'


[tool.setuptools_scm]
write_to = "sphinx_automodapi/version.py"
version_file = "sphinx_automodapi/version.py"
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ test =
pytest-cov
cython
coverage
setuptools;python_version>='3.12'
rtd =
sphinx-rtd-theme

Expand Down
5 changes: 0 additions & 5 deletions setup.py

This file was deleted.

3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{38,39,310,311,312,313}-test-sphinx{_oldest,53,62,70,71,72,80,dev}{-cov}{-clocale}
envlist = py{38,39,310,311,312,313}-test-sphinx{_oldest,53,62,70,71,72,80,81,dev}{-cov}{-clocale}
requires = pip >= 18.0
setuptools >= 30.3.0
isolated_build = true
Expand All @@ -14,6 +14,7 @@ deps =
sphinx71: sphinx==7.1.*
sphinx72: sphinx==7.2.*
sphinx80: sphinx==8.0.*
sphinx81: sphinx==8.1.*
sphinxdev: git+https://github.com/sphinx-doc/sphinx.git
extras =
test: test
Expand Down

0 comments on commit 30b8587

Please sign in to comment.