forked from tornadoweb/tornado
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Use python 3.7 via conda for readthedocs builds
The typing module in python 3.5 has problems with some type annotations so we need to build with 3.7. RTD doesn't yet support py37 natively but we can get it with conda following an example at readthedocs/readthedocs-docker-images#73
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# TODO: remove when RTD supports python 3.7 without conda | ||
name: tornado-docs | ||
dependencies: | ||
- python=3.7 | ||
- pip: | ||
- sphinx | ||
- sphinx-rtd-theme | ||
- Twisted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# TODO: remove when RTD supports Python 3.7 without conda. | ||
# https://github.com/rtfd/readthedocs-docker-images/pull/73 | ||
conda: | ||
file: docs/conda.yml |