From ed62f52027fcfba3cf8eb8e717dc23cd7d4583a4 Mon Sep 17 00:00:00 2001 From: Alvaro Lopez Garcia Date: Fri, 31 Mar 2023 00:22:14 +0200 Subject: [PATCH 1/3] Update python action to latest version --- .github/workflows/python-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 24770418..89573a2b 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.x' From f46d57887b8cd730cb1c3933e0d90109d18114b5 Mon Sep 17 00:00:00 2001 From: Alvaro Lopez Garcia Date: Wed, 27 Sep 2023 10:44:31 +0200 Subject: [PATCH 2/3] Update RTD conf --- .readthedocs.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index d8393d24..7a28eab2 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,18 +5,16 @@ # Required 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 sphinx: configuration: doc/source/conf.py -# Build documentation with MkDocs -#mkdocs: -# configuration: mkdocs.yml - -# Optionally build your docs in additional formats such as PDF -formats: - - pdf - # Optionally set the version of Python and requirements required to build your docs python: install: From 8ec3bfee9fec5e485b8499a0c122c0a4aa9f7d8a Mon Sep 17 00:00:00 2001 From: Alvaro Lopez Garcia Date: Wed, 27 Sep 2023 10:50:28 +0200 Subject: [PATCH 3/3] Do not use shallow clones for RTD --- .readthedocs.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index 7a28eab2..d0de2be6 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -10,6 +10,10 @@ build: os: ubuntu-22.04 tools: python: "3.11" + jobs: + # Do not use shallow clone, as reno will complain + post_checkout: + - git fetch --unshallow # Build documentation in the docs/ directory with Sphinx sphinx: