Fix the build on RTD (#4322)

* Pin urllib3 to v1

* Upgrade docs to Python 3.11

* Unpin urllib3 in docs requirements
This commit is contained in:
Bruno Alla 2023-05-08 15:41:51 +01:00 committed by GitHub
parent c3bff996de
commit 244fa4ee98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,12 +4,17 @@
# Required # Required
version: 2 version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
# Build documentation in the docs/ directory with Sphinx # Build documentation in the docs/ directory with Sphinx
sphinx: sphinx:
configuration: docs/conf.py configuration: docs/conf.py
# Version of Python and requirements required to build the docs # Declare the Python requirements required to build your docs
python: python:
version: "3.8"
install: install:
- requirements: docs/requirements.txt - requirements: docs/requirements.txt