Skip to content

Commit 6a2cef0

Browse files
d4l3kfacebook-github-bot
authored andcommitted
docs: bump sphinx and ray versions to support Python 3.10 (#524)
Summary: This bumps the sphinx version to 5.0.1 as the previous version didn't support Python 3.10. Bumps the ray version allowed since Python 3.10 is only supported in Ray 1.13.0+ Pull Request resolved: #524 Test Plan: ``` make -C docs clean html ``` CI docs build ![Screenshot 2022-06-15 at 16-37-43 Quickstart — PyTorch_TorchX main documentation](https://user-images.githubusercontent.com/909104/173959785-5da26526-954f-4545-9c93-d6c983760084.png) Reviewed By: kurman Differential Revision: D37194197 Pulled By: d4l3k fbshipit-source-id: f757b0937cc5b89af6291c9bfa9c71b03f187a8c
1 parent f3ea38c commit 6a2cef0

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

dev-requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ torchvision>=0.11.1
2222
ts==0.5.1
2323
usort==1.0.2
2424

25-
# Ray doesn't support Python 3.10
26-
ray[default]==1.12.1; python_version < '3.10'
25+
ray[default]>=1.12.1

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sphinx==4.0.2
1+
sphinx==5.0.1
22
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
33
sphinx-gallery<=0.7.0
44
sphinxcontrib.katex

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
#
120120
# This is also used if you do content translation via gettext catalogs.
121121
# Usually you set "language" from the command line for these cases.
122-
language = None
122+
language = "en"
123123

124124
# List of patterns, relative to source directory, that match files and
125125
# directories to ignore when looking for source files.

0 commit comments

Comments
 (0)