Skip to content

Commit 2c6e30a

Browse files
authored
Merge pull request #1023 from sphinx-contrib/devsync-for-sphinx-v8
Update development scripts/testing to include Sphinx v8.x
2 parents 87b2444 + 693ee3f commit 2c6e30a

File tree

6 files changed

+14
-16
lines changed

6 files changed

+14
-16
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,33 +39,31 @@ jobs:
3939
matrix:
4040
include:
4141
# test each python/sphinx pair supported
42-
- { os: ubuntu-latest, python: "3.8", toxenv: py38-sphinx70, cache: ~/.cache/pip }
4342
- { os: ubuntu-latest, python: "3.8", toxenv: py38-sphinx71, cache: ~/.cache/pip }
44-
- { os: ubuntu-latest, python: "3.9", toxenv: py39-sphinx70, cache: ~/.cache/pip }
4543
- { os: ubuntu-latest, python: "3.9", toxenv: py39-sphinx71, cache: ~/.cache/pip }
4644
- { os: ubuntu-latest, python: "3.9", toxenv: py39-sphinx72, cache: ~/.cache/pip }
4745
- { os: ubuntu-latest, python: "3.9", toxenv: py39-sphinx73, cache: ~/.cache/pip }
4846
- { os: ubuntu-latest, python: "3.9", toxenv: py39-sphinx74, cache: ~/.cache/pip }
49-
- { os: ubuntu-latest, python: "3.10", toxenv: py310-sphinx70, cache: ~/.cache/pip }
5047
- { os: ubuntu-latest, python: "3.10", toxenv: py310-sphinx71, cache: ~/.cache/pip }
5148
- { os: ubuntu-latest, python: "3.10", toxenv: py310-sphinx72, cache: ~/.cache/pip }
5249
- { os: ubuntu-latest, python: "3.10", toxenv: py310-sphinx73, cache: ~/.cache/pip }
5350
- { os: ubuntu-latest, python: "3.10", toxenv: py310-sphinx74, cache: ~/.cache/pip }
54-
- { os: ubuntu-latest, python: "3.11", toxenv: py311-sphinx70, cache: ~/.cache/pip }
51+
- { os: ubuntu-latest, python: "3.10", toxenv: py310-sphinx80, cache: ~/.cache/pip }
5552
- { os: ubuntu-latest, python: "3.11", toxenv: py311-sphinx71, cache: ~/.cache/pip }
5653
- { os: ubuntu-latest, python: "3.11", toxenv: py311-sphinx72, cache: ~/.cache/pip }
5754
- { os: ubuntu-latest, python: "3.11", toxenv: py311-sphinx73, cache: ~/.cache/pip }
5855
- { os: ubuntu-latest, python: "3.11", toxenv: py311-sphinx74, cache: ~/.cache/pip }
59-
- { os: ubuntu-latest, python: "3.12", toxenv: py312-sphinx70, cache: ~/.cache/pip }
56+
- { os: ubuntu-latest, python: "3.11", toxenv: py311-sphinx80, cache: ~/.cache/pip }
6057
- { os: ubuntu-latest, python: "3.12", toxenv: py312-sphinx71, cache: ~/.cache/pip }
6158
- { os: ubuntu-latest, python: "3.12", toxenv: py312-sphinx72, cache: ~/.cache/pip }
6259
- { os: ubuntu-latest, python: "3.12", toxenv: py312-sphinx73, cache: ~/.cache/pip }
6360
- { os: ubuntu-latest, python: "3.12", toxenv: py312-sphinx74, cache: ~/.cache/pip }
61+
- { os: ubuntu-latest, python: "3.12", toxenv: py312-sphinx80, cache: ~/.cache/pip }
6462

6563
# other OSes
6664
# - test against all other supported OSes, using most recent interpreter/sphinx
67-
- { os: macos-latest, python: "3.12", toxenv: py312-sphinx74, cache: ~/Library/Caches/pip }
68-
- { os: windows-latest, python: "3.12", toxenv: py312-sphinx74, cache: ~\AppData\Local\pip\Cache }
65+
- { os: macos-latest, python: "3.12", toxenv: py312-sphinx80, cache: ~/Library/Caches/pip }
66+
- { os: windows-latest, python: "3.12", toxenv: py312-sphinx80, cache: ~\AppData\Local\pip\Cache }
6967

7068
# linting/other
7169
# - any OS, using most recent interpreter

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ files and optionally publish them to a Confluence instance.
1313
* [Confluence][confluence] Cloud or Data Center 7.19+
1414
* [Python][python] 3.8+
1515
* [Requests][requests] 2.25.0+
16-
* [Sphinx][sphinx] 7.0+
16+
* [Sphinx][sphinx] 7.1+
1717

1818
## Installing
1919

check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# Solely used for a quick way to run a supported environment without
55
# having to try to form one on the command line.
66

7-
exec tox -e py312-sphinx74 $@
7+
exec tox -e py312-sphinx80 $@

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
supported_confluence_ver = '7.19+'
2020
supported_python_ver = '3.8+'
2121
supported_requests_ver = '2.25.0+'
22-
supported_sphinx_ver = '6.1+'
22+
supported_sphinx_ver = '7.1+'
2323

2424
root_doc = 'contents'
2525

sphinxcontrib/confluencebuilder/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def setup(app):
5555
ConfluenceLogger.initialize()
5656
cm = app.config_manager_ = ConfigManager(app)
5757

58-
app.require_sphinx('6.1')
58+
app.require_sphinx('7.1')
5959
app.add_builder(ConfluenceBuilder)
6060
app.add_builder(ConfluenceReportBuilder)
6161
app.add_builder(SingleConfluenceBuilder)

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
envlist =
33
ruff
44
pylint
5-
py38-sphinx{70,71}
6-
py{39,310,311,312}-sphinx{70,71,72,73,74}
5+
py38-sphinx71
6+
py39-sphinx{71,72,73,74}
7+
py{310,311,312}-sphinx{71,72,73,74,80}
78
mypy
89

910
[testenv]
1011
deps =
1112
-r{toxinidir}/requirements_dev.txt
12-
sphinx62: sphinx>=6.2,<6.3
13-
sphinx70: sphinx>=7.0,<7.1
1413
sphinx71: sphinx>=7.1,<7.2
1514
sphinx72: sphinx>=7.2,<7.3
1615
sphinx73: sphinx>=7.3,<7.4
1716
sphinx74: sphinx>=7.4,<7.5
17+
sphinx80: sphinx>=8.0,<8.1
1818
commands =
1919
{envpython} -m tests {posargs}
2020
setenv =
@@ -33,8 +33,8 @@ commands =
3333

3434
[testenv:{,py38-,py39-,py310-,py311-,py312-,py313-}develop]
3535
deps =
36+
{[testenv]deps}
3637
git+https://github.com/sphinx-doc/sphinx.git@{env:SPHINX_VER:master}
37-
-r{toxinidir}/requirements_dev.txt
3838
pip_pre = true
3939

4040
[testenv:{,py38-,py39-,py310-,py311-,py312-,py313-}interactive]

0 commit comments

Comments
 (0)