Skip to content

Commit 969fd35

Browse files
committed
docutils 0.22 doesn't work with sphinx-tabs
There is a pending fix upstream at executablebooks/sphinx-tabs#207
1 parent aa13bd7 commit 969fd35

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
###############################################################################
2+
# #
3+
# This file is only meant to exclude broken dependency versions, not feature #
4+
# dependencies. #
5+
# #
6+
# GUIDELINES: #
7+
# 1. Only list PyPI project versions that need to be excluded using `!=` #
8+
# and `<`. #
9+
# 2. It is allowed to have transitive dependency limitations in this file. #
10+
# 3. Apply bare minimum constraints under narrow conditions, use #
11+
# environment markers if possible. E.g. `; python_version < "3.12"`. #
12+
# 4. Whenever there are no constraints, let the file and this header #
13+
# remain in Git. #
14+
# #
15+
###############################################################################
16+
17+
docutils < 0.22 # https://github.com/executablebooks/sphinx-tabs/pull/207

dependencies/tox-docs.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
-c tox-docs-constraints.in # limits known broken versions
12
-r tests.in # `sphinxcontrib-autodoc` will import all the files
23

34
Sphinx >= 1.8.2
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Constrained the version of docutils to before 0.22 so that the sphinx-tabs plugin
2+
continues to work. Can be reverted once
3+
`<https://github.com/executablebooks/sphinx-tabs/pull/207>`__ is merged and a
4+
new release of sphinx-tabs is made
5+
-- by :user:`mr-c`.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ docs = [
7777
"sphinx >= 1.8.2",
7878
"jaraco.packaging >= 3.2",
7979
"sphinx-tabs >= 1.1.0",
80+
"docutils < 0.22", # https://github.com/executablebooks/sphinx-tabs/pull/207
8081

8182
# local
8283
"furo",

0 commit comments

Comments
 (0)