diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d298a41e..0e58eba1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,7 +63,8 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: 3.8 + # Mininum supported Python version + python-version: 3.6 - name: Install dependencies run: python -m pip install tox - name: Build docs diff --git a/.readthedocs.yaml b/.readthedocs.yaml index d0d0d34c..2151c3dd 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -14,7 +14,8 @@ formats: - epub python: - version: 3.8 + # Mininum supported Python version + version: "3.6" install: - requirements: docs/requirements.txt - method: pip diff --git a/docs/conf.py b/docs/conf.py index 87e86576..9e8bf685 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -272,6 +272,8 @@ "https://github.com/pypa/twine/issues/*", # Avoid errors from channels interpreted as anchors "https://web.libera.chat/#", + # Avoid error from InvalidPyPIUploadURL docstring + "https://upload.pypi.org/legacy", ] # Example configuration for intersphinx: refer to the Python standard library. @@ -282,7 +284,7 @@ # TODO: Try to add these to intersphinx_mapping nitpick_ignore_regex = [ - (r"py:.*", r"(pkginfo|requests)\..*"), + (r"py:.*", r"(pkginfo|requests|IO).*"), ] # -- Options for apidoc output ------------------------------------------------