Skip to content

Commit a34af44

Browse files
authored
update sphinx to fix builds and update RTD config due to deprecations (#1436)
* fix jirashell not building in docs * use workaround to constrain dependencies readthedocs/readthedocs.org#7258 (comment)
1 parent 49fe68c commit a34af44

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.readthedocs.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,20 @@ version: 2
44
formats: all
55

66
build:
7-
image: latest
7+
os: ubuntu-22.04
8+
tools:
9+
python: "3.8"
10+
jobs:
11+
# Work-around to actually constrain dependencies
12+
# https://github.com/readthedocs/readthedocs.org/issues/7258#issuecomment-1094978683
13+
post_install:
14+
- python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir .[docs,cli] -c constraints.txt
815

916
python:
10-
version: 3.8
1117
install:
1218
- method: pip
1319
path: .
1420
extra_requirements:
1521
- docs
22+
# to autodoc jirashell
23+
- cli

constraints.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ decorator==5.1.1
3737
# via ipython
3838
defusedxml==0.7.1
3939
# via jira (setup.cfg)
40-
docutils==0.18.1
40+
docutils==0.17.1
4141
# via
4242
# jira (setup.cfg)
4343
# sphinx
@@ -175,7 +175,7 @@ six==1.16.0
175175
# requests-mock
176176
snowballstemmer==2.2.0
177177
# via sphinx
178-
sphinx==5.0.2
178+
sphinx==5.1.1
179179
# via
180180
# jira (setup.cfg)
181181
# sphinx-rtd-theme

0 commit comments

Comments
 (0)