Skip to content

Commit a8d96aa

Browse files
authored
chore: pin docs dependencies (#3402)
This should prevent having out docs pipeline getting broken by changes made in sphinx or related dependencies. Avoids latest Sphinx due to regression and include link to it.
1 parent be98c8d commit a8d96aa

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ repos:
9494
rev: 6.4.0
9595
hooks:
9696
- id: pip-compile
97-
entry: pip-compile -q --strip-extras --no-annotate --output-file=requirements.txt tools/opts.txt setup.cfg --extra test --extra yamllint
97+
entry: pip-compile -q --strip-extras --no-annotate --output-file=requirements.txt tools/opts.txt setup.cfg --extra docs --extra test --extra yamllint
9898
- id: pip-compile
9999
name: pip-compile-upgrade
100-
entry: pip-compile -q --strip-extras -q --upgrade --no-annotate --output-file=requirements.txt setup.cfg --extra test --extra yamllint
100+
entry: pip-compile -q --strip-extras -q --upgrade --no-annotate --output-file=requirements.txt setup.cfg --extra docs --extra test --extra yamllint
101101
files: ^(setup\.cfg|requirements.txt|constraints\.txt)$
102102
stages: [manual]

requirements.txt

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
# This file is autogenerated by pip-compile with python 3.6
33
# To update, run:
44
#
5-
# pip-compile --extra=test --extra=yamllint --no-annotate --output-file=requirements.txt --strip-extras setup.cfg tools/opts.txt
5+
# pip-compile --extra=docs --extra=test --extra=yamllint --no-annotate --output-file=requirements.txt --strip-extras setup.cfg tools/opts.txt
66
#
7+
alabaster==0.7.12
78
ansi2html==1.6.0
89
ansible-compat==1.0.0
10+
ansible-pygments==0.1.0
911
arrow==1.2.1
1012
attrs==21.4.0
13+
babel==2.9.1
1114
bcrypt==3.2.0
1215
binaryornot==0.4.4
1316
cached-property==1.5.2
@@ -25,26 +28,28 @@ coverage==6.2
2528
cryptography==36.0.1
2629
dataclasses==0.8 ; python_version < "3.7"
2730
distro==1.6.0
31+
docutils==0.17.1
2832
enrich==1.2.7
2933
execnet==1.9.0
3034
filelock==3.4.1
3135
idna==3.3
32-
importlib-metadata==4.2.0 ; python_version < "3.8"
36+
imagesize==1.3.0
37+
importlib-metadata==4.8.3 ; python_version < "3.8"
3338
iniconfig==1.1.1
3439
jinja2==3.0.3
3540
jinja2-time==0.2.0
3641
markupsafe==2.0.1
3742
more-itertools==8.12.0
3843
packaging==21.3
39-
paramiko==2.9.1
44+
paramiko==2.9.2
4045
pexpect==4.8.0
4146
pluggy==1.0.0
4247
poyo==0.5.0
4348
ptyprocess==0.7.0
4449
py==1.11.0
4550
pycparser==2.21
4651
pygments==2.11.2
47-
pynacl==1.4.0
52+
pynacl==1.5.0
4853
pyparsing==3.0.6
4954
pytest==6.2.5
5055
pytest-cov==3.0.0
@@ -57,11 +62,24 @@ pytest-testinfra==6.5.0
5762
pytest-xdist==2.5.0
5863
python-dateutil==2.8.2
5964
python-slugify==5.0.2
65+
pytz==2021.3
6066
pyyaml==6.0
6167
requests==2.27.1
6268
rich==11.0.0
6369
selinux==0.2.1
70+
simplejson==3.17.6
6471
six==1.16.0
72+
snowballstemmer==2.2.0
73+
sphinx==4.3.2
74+
sphinx-ansible-theme==0.9.0
75+
sphinx-notfound-page==0.8
76+
sphinx-rtd-theme==1.0.0
77+
sphinxcontrib-applehelp==1.0.2
78+
sphinxcontrib-devhelp==1.0.2
79+
sphinxcontrib-htmlhelp==2.0.0
80+
sphinxcontrib-jsmath==1.0.1
81+
sphinxcontrib-qthelp==1.0.3
82+
sphinxcontrib-serializinghtml==1.1.5
6583
subprocess-tee==0.3.5
6684
text-unidecode==1.3
6785
toml==0.10.2

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ ansible =
8282
ansible-base =
8383
ansible-base >= 2.10
8484
docs =
85-
Sphinx >= 4.0.2
85+
Sphinx >= 4.3.2, < 4.4.0 # https://github.com/sphinx-doc/sphinx/issues/10112
8686
simplejson >= 3.17.2
8787
sphinx-ansible-theme >= 0.8.0, < 0.10.0
8888
sphinx-notfound-page >= 0.7.1

0 commit comments

Comments
 (0)