Skip to content

Commit 45ff624

Browse files
authored
Adsk Contrib - Update Python documentation requirements (#2285)
* Implement dependabot requests Signed-off-by: Doug Walker <doug.walker@autodesk.com> * Revert Sphinx Signed-off-by: Doug Walker <doug.walker@autodesk.com> * Update latest dependabot Signed-off-by: Doug Walker <doug.walker@autodesk.com> * Add sphinx-press install Signed-off-by: Doug Walker <doug.walker@autodesk.com> * Remove outdated comment Signed-off-by: Doug Walker <doug.walker@autodesk.com> --------- Signed-off-by: Doug Walker <doug.walker@autodesk.com>
1 parent 812f3a4 commit 45ff624

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/wheel_workflow.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ jobs:
138138
CIBW_BUILD: ${{ matrix.python }}
139139
CIBW_ARCHS: ${{ matrix.arch }}
140140
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux }}
141+
CIBW_BEFORE_BUILD: "pip install sphinx-press-theme"
141142

142143
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
143144
with:
@@ -196,6 +197,7 @@ jobs:
196197
CIBW_BUILD: ${{ matrix.python }}
197198
CIBW_ARCHS: ${{ matrix.arch }}
198199
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.manylinux }}
200+
CIBW_BEFORE_BUILD: "pip install sphinx-press-theme"
199201

200202
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
201203
with:
@@ -252,6 +254,7 @@ jobs:
252254
env:
253255
CIBW_BUILD: ${{ matrix.python }}
254256
CIBW_ARCHS: ${{ matrix.arch }}
257+
CIBW_BEFORE_BUILD: "pip install sphinx-press-theme"
255258

256259
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
257260
with:
@@ -304,6 +307,7 @@ jobs:
304307
env:
305308
CIBW_BUILD: ${{ matrix.python }}
306309
CIBW_ARCHS: ${{ matrix.arch }}
310+
CIBW_BEFORE_BUILD: "pip install sphinx-press-theme"
307311

308312
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
309313
with:
@@ -356,6 +360,7 @@ jobs:
356360
env:
357361
CIBW_BUILD: ${{ matrix.python }}
358362
CIBW_ARCHS: ${{ matrix.arch }}
363+
CIBW_BEFORE_BUILD: "pip install sphinx-press-theme"
359364

360365
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
361366
with:

docs/requirements.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# Fix an issue with the OCIO's Linux container images that have OpenSSL under 1.1.1.
2-
# If the container images are updated with OpenSSL 1.1.1+, the restriction on
3-
# urllib3 version <2 can be removed.
4-
urllib3<2
1+
urllib3<3
52
# The builds for documentation fails with <0.18.0
63
docutils>=0.18.1
74
sphinx<=7.1.2
@@ -11,4 +8,4 @@ recommonmark
118
sphinx-press-theme
129
sphinx-tabs
1310
breathe
14-
setuptools<68.0.0
11+
setuptools<83.0.0

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[build-system]
22
requires = [
3-
"setuptools>=42",
3+
"setuptools>=82.0.1",
44
"wheel",
55
"cmake>=3.14",
66
"ninja; sys_platform != 'win32' and platform_machine != 'arm64'",
77
# Documentation requirements (see docs/requirements.txt for details)
8-
"urllib3<2",
9-
"docutils>=0.18.1",
8+
"urllib3<3",
9+
"docutils>=0.22.4",
1010
"sphinx<=7.1.2",
1111
"six",
1212
"testresources",

0 commit comments

Comments
 (0)