From 592f251286df1b1f624f4b006f1f7545f8fba73e Mon Sep 17 00:00:00 2001 From: Max Belanger Date: Mon, 13 May 2024 16:42:18 -0700 Subject: [PATCH 1/4] new config file format is required --- .readthedocs.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 3aa8a563..d980e8ee 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,5 +1,16 @@ -# .readthedocs.yml +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details -# Don't build any extra formats -# https://docs.readthedocs.io/en/latest/yaml-config.html#formats -formats: [] +# Required +version: 2 + +# Set the version of Python and other tools you might need +build: + os: ubuntu-20.04 + tools: + python: "3.7" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py From 1c0d6d303f4e5076581876e558f18eb6ee9ad1f2 Mon Sep 17 00:00:00 2001 From: Max Belanger Date: Mon, 13 May 2024 16:42:57 -0700 Subject: [PATCH 2/4] don't publish to pypi on 3.12 just yet --- .github/workflows/pypiupload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypiupload.yml b/.github/workflows/pypiupload.yml index 874a32b4..d8fee157 100644 --- a/.github/workflows/pypiupload.yml +++ b/.github/workflows/pypiupload.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: [2.7, 3.x] + python-version: [2.7, 3.7] steps: - uses: actions/checkout@v2.3.4 @@ -34,9 +34,9 @@ jobs: - name: Build run: | python setup.py bdist_wheel - - name: Build Sources (3.x) + - name: Build Sources (Python 3) run: python setup.py sdist - if: matrix.python-version == '3.x' + if: ${{ matrix.python-version != '2.7' }} - name: Publish env: TWINE_USERNAME: __token__ From ab1f7c43d6db0e664242be0d594d8bdf3b44f823 Mon Sep 17 00:00:00 2001 From: Max Belanger Date: Mon, 13 May 2024 16:44:24 -0700 Subject: [PATCH 3/4] unnecessary --- .readthedocs.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index d980e8ee..8f1d4411 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -2,15 +2,12 @@ # 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-20.04 tools: python: "3.7" -# Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/conf.py From 011303443dfb5ce8243ee8081836948c338b02f2 Mon Sep 17 00:00:00 2001 From: Max Belanger Date: Mon, 13 May 2024 21:55:49 -0700 Subject: [PATCH 4/4] bump copyright --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 76ffb570..0766dc48 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,7 +54,7 @@ # General information about the project. project = u'Dropbox for Python' -copyright = u'2015-2019, Dropbox, Inc.' +copyright = u'2015-2024, Dropbox, Inc.' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the