-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .readthedocs.yaml, upgrade Python to 3.9 and upgrade package
Old version of python was 3.8 or lower, but this isn't supported any more. To upgrade to 3.9 need to upgrade transifex-client, as the old version of that we were using isn't supported in 3.9. If you run pip-compile there are actually layout changes to requirements.txt but I edited many of them back so we can see that other packages don't change in this commit. Need to use an older version of setuptools, or installing dependencies fails #538
- Loading branch information
1 parent
3dbc86b
commit 643e21a
Showing
2 changed files
with
48 additions
and
5 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,43 @@ | ||
# .readthedocs.yaml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the version of Python and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
apt_packages: | ||
- graphviz | ||
- libgraphviz-dev | ||
tools: | ||
python: "3.9" | ||
jobs: | ||
install: | ||
- pip install setuptools==70 | ||
- python -m pip install --exists-action=w --no-cache-dir -r requirements.txt | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# If using Sphinx, optionally build your docs in additional formats such as PDF | ||
# formats: | ||
|
||
# Optionally declare the Python requirements required to build your docs | ||
python: | ||
install: | ||
- requirements: requirements.txt | ||
|
||
# You can include or exclude git submodules from the Read the Docs | ||
# documentation build. | ||
# https://docs.readthedocs.io/en/stable/config-file/v2.html#submodules | ||
submodules: | ||
include: all | ||
|
||
|
||
|
||
|
||
|
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