Content-Length: 571039 | pFad | http://github.com/astropy/sphinx-astropy/commit/b2135a27e9054abd665a1ecaad3ad117abd0c275

9C Merge pull request #78 from pllim/bump-minver · astropy/sphinx-astropy@b2135a2 · GitHub
Skip to content

Commit b2135a2

Browse files
authored
Merge pull request #78 from pllim/bump-minver
MNT: Bump minversions, update CI matrix, modernize build setup
2 parents f593235 + 73a5fe1 commit b2135a2

File tree

9 files changed

+47
-41
lines changed

9 files changed

+47
-41
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fetch-depth: 0
2424
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2525
with:
26-
python-version: "3.8"
26+
python-version: "3.12"
2727

2828
- name: Install build dependencies
2929
run: python -m pip install pip build "twine>=3.3" -U

.github/workflows/python-tests.yml

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,41 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
include:
20-
- os: windows-latest
21-
python-version: 3.7
22-
toxenv: py38-test-sphinx30
23-
- os: ubuntu-latest
24-
python-version: 3.8
25-
toxenv: py38-test-sphinx35
2620
- os: ubuntu-latest
2721
python-version: 3.9
28-
toxenv: py39-test-sphinx40
29-
- os: ubuntu-latest
22+
toxenv: py39-test-sphinx_oldest
23+
24+
- os: windows-latest
3025
python-version: "3.10"
31-
toxenv: py310-test-sphinx50
26+
toxenv: py310-test-sphinx53
27+
28+
- os: macos-latest
29+
python-version: "3.10"
30+
toxenv: py310-test-sphinx62
31+
3232
- os: ubuntu-latest
3333
python-version: "3.11"
34-
toxenv: py311-test-sphinx60
35-
- os: ubuntu-latest
34+
toxenv: py311-test-sphinx70
35+
36+
- os: windows-latest
3637
python-version: "3.11"
37-
toxenv: py311-test-v2deps-sphinx70
38+
toxenv: py311-test-v2deps-sphinx71
39+
40+
- os: macos-latest
41+
python-version: "3.11"
42+
toxenv: py311-test-sphinx72
43+
3844
- os: ubuntu-latest
3945
python-version: "3.12"
40-
toxenv: py312-test-sphinx80
46+
toxenv: py312-test-v2deps-sphinx80
47+
48+
- os: windows-latest
49+
python-version: "3.12"
50+
toxenv: py312-test-sphinx81
51+
4152
- os: macos-latest
42-
python-version: "3.11"
43-
toxenv: py311-test-sphinxdev
53+
python-version: "3.13"
54+
toxenv: py313-test-v2deps-sphinxdev
4455

4556
steps:
4657
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

CHANGES.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Changes in sphinx-astropy
44
2.0 (unreleased)
55
----------------
66

7+
- Update minimum required version of Sphinx to 4.0.0
8+
and Python to 3.9. [#78]
9+
710
1.9.1 (2023-06-07)
811
------------------
912

LICENSE.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014-2023, Astropy Developers
1+
Copyright (c) 2014-2025, Astropy Developers
22

33
All rights reserved.
44

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@ include README.rst
22
include CHANGES.rst
33
include LICENSE.rst
44

5+
include setup.cfg
6+
include pyproject.toml
7+
58
exclude *.pyc *.o
69
prune build

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
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'
6+
7+
[tool.setuptools_scm]
8+
version_file = "sphinx_astropy/version.py"

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ long_description_content_type = text/x-rst
1717
[options]
1818
zip_safe = False
1919
packages = find:
20-
python_requires = >=3.7
20+
python_requires = >=3.9
2121
install_requires =
2222
packaging
23-
sphinx>=3.0.0
23+
sphinx>=4.0.0
2424
astropy-sphinx-theme
2525
numpydoc
2626
sphinx-automodapi

setup.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

tox.ini

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
[tox]
22
envlist =
3-
py{37,38,39,310,311}-test{-v2deps}{-sphinx30,-sphinx35,-sphinx40,-sphinx50,-sphinx60,-sphinx70,-sphinx80,-sphinxdev}
3+
py{39,310,311,312,313}-test{-v2deps}-sphinx{_oldest,53,62,70,71,72,80,81,dev}
44
codestyle
5-
requires =
6-
setuptools >= 30.3.0
7-
pip >= 19.3.1
8-
isolated_build = true
95

106
[testenv]
117
changedir = .tmp/{envname}
@@ -14,16 +10,14 @@ extras =
1410
tests
1511
v2deps: confv2
1612
deps =
17-
sphinx30: sphinx==3.0.*
18-
sphinx30: docutils==0.17.*
19-
sphinx30: Jinja2==3.0.3
20-
sphinx35: sphinx==3.5.*
21-
sphinx35: Jinja2==3.0.3
22-
sphinx40: sphinx==4.0.*
23-
sphinx50: sphinx==5.0.*
24-
sphinx60: sphinx==6.0.*
13+
sphinx_oldest: sphinx==4.0.0
14+
sphinx53: sphinx==5.3.*
15+
sphinx62: sphinx==6.2.*
2516
sphinx70: sphinx==7.0.*
17+
sphinx71: sphinx==7.1.*
18+
sphinx72: sphinx==7.2.*
2619
sphinx80: sphinx==8.0.*
20+
sphinx81: sphinx==8.1.*
2721
sphinxdev: git+https://github.com/sphinx-doc/sphinx#egg=sphinx
2822

2923
commands =

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/astropy/sphinx-astropy/commit/b2135a27e9054abd665a1ecaad3ad117abd0c275

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy