Skip to content

Commit 2a34e1e

Browse files
⬆️ UPGRADE: Relax pin to allow sphinx v4 (#62)
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
1 parent d25990b commit 2a34e1e

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: Set up Python 3.8
18+
- name: Set up Python 3.9
1919
uses: actions/setup-python@v1
2020
with:
21-
python-version: 3.8
21+
python-version: 3.9
2222
- uses: pre-commit/action@v2.0.0
2323

2424
tests:
2525

2626
runs-on: ubuntu-latest
2727
strategy:
2828
matrix:
29-
python-version: [3.6, 3.7, 3.8]
29+
python-version: [3.6, 3.7, 3.8, 3.9]
3030

3131
steps:
3232
- uses: actions/checkout@v2
@@ -51,10 +51,10 @@ jobs:
5151
steps:
5252
- name: Checkout source
5353
uses: actions/checkout@v2
54-
- name: Set up Python 3.7
54+
- name: Set up Python 3.9
5555
uses: actions/setup-python@v1
5656
with:
57-
python-version: 3.7
57+
python-version: 3.9
5858
- name: Build package
5959
run: |
6060
pip install wheel

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
include_package_data=True,
2727
install_requires=[
2828
"docutils",
29-
"sphinx>=2,<4",
29+
"sphinx>=2,<5",
3030
'importlib-resources~=3.0.0; python_version < "3.7"',
3131
],
3232
extras_require={

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@
1111
# then then deleting compiled files has been found to fix it: `find . -name \*.pyc -delete`
1212

1313
[tox]
14-
envlist = py37-sphinx3
14+
envlist = py38-sphinx4
1515

1616
[testenv]
1717
usedevelop = true
1818

19-
[testenv:py{36,37,38}-sphinx{2,3}]
19+
[testenv:py{36,37,38,39}-sphinx{2,3,4}]
2020
extras = testing
2121
deps =
2222
sphinx2: sphinx>=2,<3
2323
sphinx3: sphinx>=3,<4
24+
sphinx4: sphinx>=4,<5
2425
commands = pytest {posargs}
2526

2627
[testenv:docs-{update,clean}]

0 commit comments

Comments
 (0)