Skip to content

Commit 9d09565

Browse files
authored
Update Read the Docs configuration to use Python 3.10 and latest rocm-docs-core (ROCm#194)
* Update Read the Docs configuration to use Python 3.10 and latest rocm-docs-core * Update doc reqs used by tests * Update test.yml Test already installs docs/requirements.txt * Use python 3.10 and ubuntu 22 in test * Wrap 3.10 in quotes to avoid interpreting as 3.1 * Revert to ubu20
1 parent 008acef commit 9d09565

File tree

6 files changed

+96
-94
lines changed

6 files changed

+96
-94
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-20.04
1515
steps:
1616
- uses: actions/checkout@v1
17-
- name: Set up Python 3.9
17+
- name: Set up Python 3.10
1818
uses: actions/setup-python@v2
1919
with:
20-
python-version: 3.9
20+
python-version: "3.10"
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade setuptools pip wheel
@@ -44,10 +44,10 @@ jobs:
4444

4545
steps:
4646
- uses: actions/checkout@v1
47-
- name: Set up Python 3.9
47+
- name: Set up Python 3.10
4848
uses: actions/setup-python@v2
4949
with:
50-
python-version: 3.9
50+
python-version: "3.10"
5151
- name: Setup cmake
5252
uses: jwlawson/[email protected]
5353
with:
@@ -57,7 +57,6 @@ jobs:
5757
python -m pip install --upgrade setuptools pip wheel
5858
python -m pip install cget ninja
5959
python -m pip install -r docs/requirements.txt
60-
python -m pip install -r test/docsphinx/docs/.sphinx/requirements.txt
6160
- name: Install Doxygen
6261
uses: ssciwr/doxygen-install@v1
6362
with:

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ python:
1515
build:
1616
os: ubuntu-22.04
1717
tools:
18-
python: "3.8"
18+
python: "3.10"

docs/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
sphinxcontrib-moderncmakedomain==3.29.0
2-
rocm-docs-core==0.38.1
2+
rocm-docs-core==1.4.0

docs/requirements.txt

Lines changed: 35 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.8
2+
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
55
# pip-compile requirements.in
66
#
7-
accessible-pygments==0.0.4
7+
accessible-pygments==0.0.5
88
# via pydata-sphinx-theme
9-
alabaster==0.7.13
9+
alabaster==0.7.16
1010
# via sphinx
11-
babel==2.14.0
11+
babel==2.15.0
1212
# via
1313
# pydata-sphinx-theme
1414
# sphinx
1515
beautifulsoup4==4.12.3
1616
# via pydata-sphinx-theme
1717
breathe==4.35.0
1818
# via rocm-docs-core
19-
certifi==2023.11.17
19+
certifi==2024.6.2
2020
# via requests
2121
cffi==1.16.0
2222
# via
@@ -26,11 +26,11 @@ charset-normalizer==3.3.2
2626
# via requests
2727
click==8.1.7
2828
# via sphinx-external-toc
29-
cryptography==41.0.7
29+
cryptography==42.0.8
3030
# via pyjwt
3131
deprecated==1.2.14
3232
# via pygithub
33-
docutils==0.19
33+
docutils==0.21.2
3434
# via
3535
# breathe
3636
# myst-parser
@@ -40,41 +40,41 @@ fastjsonschema==2.19.1
4040
# via rocm-docs-core
4141
gitdb==4.0.11
4242
# via gitpython
43-
gitpython==3.1.41
43+
gitpython==3.1.43
4444
# via rocm-docs-core
45-
idna==3.6
45+
idna==3.7
4646
# via requests
4747
imagesize==1.4.1
4848
# via sphinx
49-
jinja2==3.1.3
49+
jinja2==3.1.4
5050
# via
5151
# myst-parser
5252
# sphinx
53-
markdown-it-py==2.2.0
53+
markdown-it-py==3.0.0
5454
# via
5555
# mdit-py-plugins
5656
# myst-parser
57-
markupsafe==2.1.3
57+
markupsafe==2.1.5
5858
# via jinja2
59-
mdit-py-plugins==0.3.5
59+
mdit-py-plugins==0.4.1
6060
# via myst-parser
6161
mdurl==0.1.2
6262
# via markdown-it-py
63-
myst-parser==1.0.0
63+
myst-parser==3.0.1
6464
# via rocm-docs-core
65-
packaging==23.2
65+
packaging==24.0
6666
# via
6767
# pydata-sphinx-theme
6868
# sphinx
69-
pycparser==2.21
69+
pycparser==2.22
7070
# via cffi
71-
pydata-sphinx-theme==0.14.4
71+
pydata-sphinx-theme==0.15.3
7272
# via
7373
# rocm-docs-core
7474
# sphinx-book-theme
75-
pygithub==2.1.1
75+
pygithub==2.3.0
7676
# via rocm-docs-core
77-
pygments==2.17.2
77+
pygments==2.18.0
7878
# via
7979
# accessible-pygments
8080
# pydata-sphinx-theme
@@ -83,28 +83,24 @@ pyjwt[crypto]==2.8.0
8383
# via pygithub
8484
pynacl==1.5.0
8585
# via pygithub
86-
python-dateutil==2.8.2
87-
# via pygithub
8886
pyyaml==6.0.1
8987
# via
9088
# myst-parser
9189
# rocm-docs-core
9290
# sphinx-external-toc
93-
requests==2.31.0
91+
requests==2.32.3
9492
# via
9593
# pygithub
9694
# sphinx
97-
rocm-docs-core==0.38.1
95+
rocm-docs-core==1.4.0
9896
# via -r requirements.in
99-
six==1.16.0
100-
# via python-dateutil
10197
smmap==5.0.1
10298
# via gitdb
10399
snowballstemmer==2.2.0
104100
# via sphinx
105101
soupsieve==2.5
106102
# via beautifulsoup4
107-
sphinx==5.3.0
103+
sphinx==7.3.7
108104
# via
109105
# breathe
110106
# myst-parser
@@ -116,35 +112,37 @@ sphinx==5.3.0
116112
# sphinx-external-toc
117113
# sphinx-notfound-page
118114
# sphinxcontrib-moderncmakedomain
119-
sphinx-book-theme==1.0.1
115+
sphinx-book-theme==1.1.2
120116
# via rocm-docs-core
121117
sphinx-copybutton==0.5.2
122118
# via rocm-docs-core
123-
sphinx-design==0.5.0
119+
sphinx-design==0.6.0
124120
# via rocm-docs-core
125-
sphinx-external-toc==0.3.1
121+
sphinx-external-toc==1.0.1
126122
# via rocm-docs-core
127-
sphinx-notfound-page==1.0.0
123+
sphinx-notfound-page==1.0.2
128124
# via rocm-docs-core
129-
sphinxcontrib-applehelp==1.0.4
125+
sphinxcontrib-applehelp==1.0.8
130126
# via sphinx
131-
sphinxcontrib-devhelp==1.0.2
127+
sphinxcontrib-devhelp==1.0.6
132128
# via sphinx
133-
sphinxcontrib-htmlhelp==2.0.1
129+
sphinxcontrib-htmlhelp==2.0.5
134130
# via sphinx
135131
sphinxcontrib-jsmath==1.0.1
136132
# via sphinx
137133
sphinxcontrib-moderncmakedomain==3.29.0
138134
# via -r requirements.in
139-
sphinxcontrib-qthelp==1.0.3
135+
sphinxcontrib-qthelp==1.0.7
136+
# via sphinx
137+
sphinxcontrib-serializinghtml==1.1.10
140138
# via sphinx
141-
sphinxcontrib-serializinghtml==1.1.5
139+
tomli==2.0.1
142140
# via sphinx
143-
typing-extensions==4.9.0
141+
typing-extensions==4.12.2
144142
# via
145143
# pydata-sphinx-theme
146144
# pygithub
147-
urllib3==2.1.0
145+
urllib3==2.2.1
148146
# via
149147
# pygithub
150148
# requests
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
rocm-docs-core==0.20.0
1+
sphinxcontrib-moderncmakedomain==3.29.0
2+
rocm-docs-core==1.4.0

0 commit comments

Comments
 (0)