From 1d00662c9adde06029d66c9d17d55e53c4e94592 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Wed, 17 Dec 2025 18:14:52 +0000 Subject: [PATCH 01/21] Adding requirements.txt into MANIFEST.in --- MANIFEST.in | 1 + 1 file changed, 1 insertion(+) diff --git a/MANIFEST.in b/MANIFEST.in index 35332d8a..0c2928f8 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,5 @@ include ez_setup.py include LICENSE include *.rst +include requirements.txt include test/requirements.txt From 96a8f3d3c4514635f2a749726e100b7656411f13 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Wed, 17 Dec 2025 18:27:39 +0000 Subject: [PATCH 02/21] Updating coverage.yml --- .github/workflows/coverage.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 7cab535b..58c0619b 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -11,11 +11,16 @@ jobs: Coverage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Python environment - uses: actions/setup-python@v3.1.4 + uses: actions/setup-python@v4 with: - python-version: '3.7' + python-version: '3.9' + - name: Setup virtual environment + run: | + python -m venv venv + source venv/bin/activate + python -m pip install --upgrade pip - name: Install Requirements run: | python -m pip install --upgrade pip From f5fa12b597643201a79ee439b80bc4265877fb2f Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Wed, 17 Dec 2025 18:37:20 +0000 Subject: [PATCH 03/21] Fixing python version for Integration Coverage --- .github/workflows/coverage.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 58c0619b..5ca6c141 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -45,7 +45,12 @@ jobs: - name: Setup Python environment uses: actions/setup-python@v3.1.4 with: - python-version: '3.7' + python-version: '3.9' + - name: Setup virtual environment + run: | + python -m venv venv + source venv/bin/activate + python -m pip install --upgrade pip - name: Install Requirements run: | python -m pip install --upgrade pip From 171afedfabb9dff2988aa199f9aaf3c0ad048db0 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Wed, 17 Dec 2025 19:05:26 +0000 Subject: [PATCH 04/21] Updating macos in ci.yml --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c98b96b..cba8e54c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: # https://github.com/actions/python-versions/blob/main/versions-manifest.json strategy: matrix: - os: [macos-13, windows-latest] + os: [macos-14, windows-latest] python-version: [3.6, 3.7, 3.8, pypy-3.7] exclude: - os: windows-latest @@ -53,7 +53,7 @@ jobs: - name: Setup Python environment uses: actions/setup-python@v3.1.4 with: - python-version: '3.7' + python-version: '3.9' - name: Install Requirements run: | python -m pip install --upgrade pip @@ -73,7 +73,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-13, windows-latest] + os: [macos-14, windows-latest] python-version: [3.6, 3.7, 3.8, pypy-3.7] exclude: - os: windows-latest From 1f4c5da00f92486cb4299f9fe37fb9aef735cc85 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Wed, 17 Dec 2025 22:20:48 +0000 Subject: [PATCH 05/21] Updating Workflows to deprecate all version of pythons & macos --- .github/workflows/ci.yml | 16 ++++++++++++---- .github/workflows/pypiupload.yml | 2 +- .github/workflows/spec_update.yml | 6 +++--- setup.py | 1 + 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cba8e54c..7b8aa0ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,11 +10,15 @@ jobs: # https://github.com/actions/python-versions/blob/main/versions-manifest.json strategy: matrix: - os: [macos-14, windows-latest] - python-version: [3.6, 3.7, 3.8, pypy-3.7] + os: [macos-15-intel, macos-latest, windows-latest] + python-version: [3.6, 3.7, 3.8, 3.9, pypy-3.7] exclude: - os: windows-latest python-version: 3.6 + - os: macos-latest + python-version: 3.6, 3.7 + - os: macos-15-intel + python-version: 3.6, 3.7 include: - os: ubuntu-20.04 python-version: 3.7 @@ -73,11 +77,15 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-14, windows-latest] - python-version: [3.6, 3.7, 3.8, pypy-3.7] + os: [macos-15-intel, macos-latest, windows-latest] + python-version: [3.6, 3.7, 3.8, 3.9, pypy-3.7] exclude: - os: windows-latest python-version: 3.6 + - os: macos-latest + python-version: 3.6, 3.7 + - os: macos-15-intel + python-version: 3.6, 3.7 include: - os: ubuntu-20.04 python-version: 3.7 diff --git a/.github/workflows/pypiupload.yml b/.github/workflows/pypiupload.yml index d8fee157..16e72ab0 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.7] + python-version: [2.7, 3.x] steps: - uses: actions/checkout@v2.3.4 diff --git a/.github/workflows/spec_update.yml b/.github/workflows/spec_update.yml index 5010e1a8..ca74fa7e 100644 --- a/.github/workflows/spec_update.yml +++ b/.github/workflows/spec_update.yml @@ -8,11 +8,11 @@ jobs: Update: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Python environment - uses: actions/setup-python@v3.1.4 + uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.9 - name: Get current time uses: 1466587594/get-current-time@v2 id: current-time diff --git a/setup.py b/setup.py index 7255a450..6c11c3d1 100644 --- a/setup.py +++ b/setup.py @@ -76,6 +76,7 @@ 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development :: Libraries :: Python Modules', From a1ba3a7c5be40fa1e4ad190294ec616e1ca63a60 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Wed, 17 Dec 2025 22:29:59 +0000 Subject: [PATCH 06/21] Updating Workflows to deprecate all version of pythons & macos: ci.yml --- .github/workflows/ci.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b8aa0ba..3940d6f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,12 +16,16 @@ jobs: - os: windows-latest python-version: 3.6 - os: macos-latest - python-version: 3.6, 3.7 - - os: macos-15-intel - python-version: 3.6, 3.7 + python-version: 3.6 + - os: macos-latest + python-version: 3.7 + - os: macos-latest + python-version: pypy-3.7 include: - os: ubuntu-20.04 python-version: 3.7 + - os: ubuntu-20.04 + python-version: 3.9 - os: ubuntu-20.04 python-version: 2.7 steps: @@ -34,7 +38,7 @@ jobs: python get-pip.py - if: ${{ matrix.python-version != '2.7' }} name: Setup Python environment - uses: actions/setup-python@v3.1.4 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install Requirements @@ -83,12 +87,16 @@ jobs: - os: windows-latest python-version: 3.6 - os: macos-latest - python-version: 3.6, 3.7 - - os: macos-15-intel - python-version: 3.6, 3.7 + python-version: 3.6 + - os: macos-latest + python-version: 3.7 + - os: macos-latest + python-version: pypy-3.7 include: - os: ubuntu-20.04 python-version: 3.7 + - os: ubuntu-20.04 + python-version: 3.9 - os: ubuntu-20.04 python-version: 2.7 steps: @@ -101,7 +109,7 @@ jobs: python get-pip.py - if: ${{ matrix.python-version != '2.7' }} name: Setup Python environment - uses: actions/setup-python@v3.1.4 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install Requirements From 3598daa4b22ccde7bfdc5c59f0d62febc47326d9 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Wed, 17 Dec 2025 22:35:40 +0000 Subject: [PATCH 07/21] Updating Workflows to deprecate all version of pythons & macos: ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3940d6f2..7dad103b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: python get-pip.py - if: ${{ matrix.python-version != '2.7' }} name: Setup Python environment - uses: actions/setup-python@v4 + uses: actions/setup-python@v3.1.4 with: python-version: ${{ matrix.python-version }} - name: Install Requirements @@ -109,7 +109,7 @@ jobs: python get-pip.py - if: ${{ matrix.python-version != '2.7' }} name: Setup Python environment - uses: actions/setup-python@v4 + uses: actions/setup-python@v3.1.4 with: python-version: ${{ matrix.python-version }} - name: Install Requirements From afc7651ea56b42eb0488ae80a6425b8706c2e038 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Wed, 17 Dec 2025 22:51:08 +0000 Subject: [PATCH 08/21] Updating Workflows to deprecate all version of pythons & macos: ci.yml - new try --- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/pypiupload.yml | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7dad103b..bcf05f05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,11 +22,11 @@ jobs: - os: macos-latest python-version: pypy-3.7 include: - - os: ubuntu-20.04 + - os: ubuntu-latest python-version: 3.7 - - os: ubuntu-20.04 + - os: ubuntu-latest python-version: 3.9 - - os: ubuntu-20.04 + - os: ubuntu-latest python-version: 2.7 steps: - uses: actions/checkout@v2 @@ -55,7 +55,7 @@ jobs: run: | pytest -v test/unit/test_dropbox_unit.py Docs: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Setup Python environment @@ -93,11 +93,11 @@ jobs: - os: macos-latest python-version: pypy-3.7 include: - - os: ubuntu-20.04 + - os: ubuntu-latest python-version: 3.7 - - os: ubuntu-20.04 + - os: ubuntu-latest python-version: 3.9 - - os: ubuntu-20.04 + - os: ubuntu-latest python-version: 2.7 steps: - uses: actions/checkout@v2.3.4 diff --git a/.github/workflows/pypiupload.yml b/.github/workflows/pypiupload.yml index 16e72ab0..035f10f3 100644 --- a/.github/workflows/pypiupload.yml +++ b/.github/workflows/pypiupload.yml @@ -9,7 +9,7 @@ on: jobs: deploy: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: python-version: [2.7, 3.x] @@ -24,7 +24,7 @@ jobs: python get-pip.py - if: ${{ matrix.python-version != '2.7' }} name: Setup Python environment - uses: actions/setup-python@v3.1.4 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies From 3dd869532e86ee2195b4928563aa1bb567965ea1 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Wed, 17 Dec 2025 22:56:30 +0000 Subject: [PATCH 09/21] ci.yml going back to ubuntu 20.04 for 3.7 --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcf05f05..f551d2aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,11 +22,11 @@ jobs: - os: macos-latest python-version: pypy-3.7 include: - - os: ubuntu-latest + - os: ubuntu-20.04 python-version: 3.7 - os: ubuntu-latest python-version: 3.9 - - os: ubuntu-latest + - os: ubuntu-20.04 python-version: 2.7 steps: - uses: actions/checkout@v2 @@ -93,11 +93,11 @@ jobs: - os: macos-latest python-version: pypy-3.7 include: - - os: ubuntu-latest + - os: ubuntu-20.04 python-version: 3.7 - os: ubuntu-latest python-version: 3.9 - - os: ubuntu-latest + - os: ubuntu-20.04 python-version: 2.7 steps: - uses: actions/checkout@v2.3.4 From 1d97bb2bcf6ca1cee74e3a2a5cb13245d02d2ed3 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Wed, 17 Dec 2025 23:03:08 +0000 Subject: [PATCH 10/21] ci.yml going back to ubuntu 20.04 for Docs --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f551d2aa..452395ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: run: | pytest -v test/unit/test_dropbox_unit.py Docs: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Setup Python environment From f74dae225d81ab55498b278f7e21ea1aa95ec167 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Wed, 17 Dec 2025 23:11:07 +0000 Subject: [PATCH 11/21] Reverting setup-python --- .github/workflows/pypiupload.yml | 2 +- .github/workflows/spec_update.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypiupload.yml b/.github/workflows/pypiupload.yml index 035f10f3..6632c764 100644 --- a/.github/workflows/pypiupload.yml +++ b/.github/workflows/pypiupload.yml @@ -24,7 +24,7 @@ jobs: python get-pip.py - if: ${{ matrix.python-version != '2.7' }} name: Setup Python environment - uses: actions/setup-python@v4 + uses: actions/setup-python@vv3.1.4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/spec_update.yml b/.github/workflows/spec_update.yml index ca74fa7e..e2f3ad97 100644 --- a/.github/workflows/spec_update.yml +++ b/.github/workflows/spec_update.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Setup Python environment - uses: actions/setup-python@v4 + uses: actions/setup-python@v3.1.4 with: python-version: 3.9 - name: Get current time From 24590fb7c3866b42aa4f176383e1045354b23cd3 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Thu, 18 Dec 2025 12:24:00 +0000 Subject: [PATCH 12/21] Changing actions to Ubuntu 22.04 as 20.04 is deprecated --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 452395ba..25737109 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,11 +22,11 @@ jobs: - os: macos-latest python-version: pypy-3.7 include: - - os: ubuntu-20.04 + - os: ubuntu-22.04 python-version: 3.7 - os: ubuntu-latest python-version: 3.9 - - os: ubuntu-20.04 + - os: ubuntu-22.04 python-version: 2.7 steps: - uses: actions/checkout@v2 @@ -55,7 +55,7 @@ jobs: run: | pytest -v test/unit/test_dropbox_unit.py Docs: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - name: Setup Python environment @@ -93,11 +93,11 @@ jobs: - os: macos-latest python-version: pypy-3.7 include: - - os: ubuntu-20.04 + - os: ubuntu-22.04 python-version: 3.7 - os: ubuntu-latest python-version: 3.9 - - os: ubuntu-20.04 + - os: ubuntu-22.04 python-version: 2.7 steps: - uses: actions/checkout@v2.3.4 From 830f5a34d9fc945db981a0c01d8669c1a7a82317 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Thu, 18 Dec 2025 16:08:59 +0000 Subject: [PATCH 13/21] Removing python2.7 --- .github/workflows/ci.yml | 72 ++++++++-------------------------------- 1 file changed, 13 insertions(+), 59 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25737109..48184d82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,35 +10,12 @@ jobs: # https://github.com/actions/python-versions/blob/main/versions-manifest.json strategy: matrix: - os: [macos-15-intel, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9, pypy-3.7] - exclude: - - os: windows-latest - python-version: 3.6 - - os: macos-latest - python-version: 3.6 - - os: macos-latest - python-version: 3.7 - - os: macos-latest - python-version: pypy-3.7 - include: - - os: ubuntu-22.04 - python-version: 3.7 - - os: ubuntu-latest - python-version: 3.9 - - os: ubuntu-22.04 - python-version: 2.7 + os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] + python-version: [3.9, 3.10, 3.11, 3.12, pypy-3.8, pypy-3.10] steps: - - uses: actions/checkout@v2 - - if: ${{ matrix.python-version == '2.7' }} - name: Setup Python environment (2.7) - run: | - sudo apt-get install python-is-python2 - curl -sSL https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py - python get-pip.py - - if: ${{ matrix.python-version != '2.7' }} - name: Setup Python environment - uses: actions/setup-python@v3.1.4 + - uses: actions/checkout@v3 + - name: Setup Python environment + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install Requirements @@ -55,11 +32,11 @@ jobs: run: | pytest -v test/unit/test_dropbox_unit.py Docs: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Python environment - uses: actions/setup-python@v3.1.4 + uses: actions/setup-python@v4 with: python-version: '3.9' - name: Install Requirements @@ -81,35 +58,12 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-15-intel, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9, pypy-3.7] - exclude: - - os: windows-latest - python-version: 3.6 - - os: macos-latest - python-version: 3.6 - - os: macos-latest - python-version: 3.7 - - os: macos-latest - python-version: pypy-3.7 - include: - - os: ubuntu-22.04 - python-version: 3.7 - - os: ubuntu-latest - python-version: 3.9 - - os: ubuntu-22.04 - python-version: 2.7 + os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] + python-version: [3.9, 3.10, 3.11, 3.12, pypy-3.8, pypy-3.10] steps: - - uses: actions/checkout@v2.3.4 - - if: ${{ matrix.python-version == '2.7' }} - name: Setup Python environment (2.7) - run: | - sudo apt-get install python-is-python2 - curl -sSL https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py - python get-pip.py - - if: ${{ matrix.python-version != '2.7' }} - name: Setup Python environment - uses: actions/setup-python@v3.1.4 + - uses: actions/checkout@v3 + - name: Setup Python environment + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install Requirements From 05c015105193c2429c3aa68a7473910fc53e4385 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Thu, 18 Dec 2025 16:20:04 +0000 Subject: [PATCH 14/21] Changing actions versions --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48184d82..ab0e225f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,11 @@ jobs: strategy: matrix: os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] - python-version: [3.9, 3.10, 3.11, 3.12, pypy-3.8, pypy-3.10] + python-version: [3.9, "3.10", 3.11, pypy-3.8, pypy-3.10] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - name: Setup Python environment - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install Requirements @@ -36,7 +36,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Setup Python environment - uses: actions/setup-python@v4 + uses: actions/setup-python@v2.2.1 with: python-version: '3.9' - name: Install Requirements @@ -59,11 +59,11 @@ jobs: strategy: matrix: os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] - python-version: [3.9, 3.10, 3.11, 3.12, pypy-3.8, pypy-3.10] + python-version: [3.9, "3.10", 3.11,pypy-3.8, pypy-3.10] steps: - uses: actions/checkout@v3 - name: Setup Python environment - uses: actions/setup-python@v4 + uses: actions/setup-python@v2.2.1 with: python-version: ${{ matrix.python-version }} - name: Install Requirements From 4269ce8737757a2b639ea611025277cd23626aa7 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Thu, 18 Dec 2025 16:29:34 +0000 Subject: [PATCH 15/21] Changing actions versions --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab0e225f..f2ec11b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] - python-version: [3.9, "3.10", 3.11, pypy-3.8, pypy-3.10] + python-version: [3.9, "3.10", 3.11, 3.12] steps: - uses: actions/checkout@v5 - name: Setup Python environment @@ -34,9 +34,9 @@ jobs: Docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python environment - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v6 with: python-version: '3.9' - name: Install Requirements From 7806bed3982deffeed72703efa414b7e8c70de68 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Thu, 18 Dec 2025 16:44:28 +0000 Subject: [PATCH 16/21] Changing actions versions --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2ec11b3..5385cc61 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] - python-version: [3.9, "3.10", 3.11, 3.12] + python-version: [3.9, "3.10", 3.11] steps: - uses: actions/checkout@v5 - name: Setup Python environment @@ -34,7 +34,7 @@ jobs: Docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python environment uses: actions/setup-python@v6 with: @@ -59,11 +59,11 @@ jobs: strategy: matrix: os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] - python-version: [3.9, "3.10", 3.11,pypy-3.8, pypy-3.10] + python-version: [3.9, "3.10", 3.11, 3.12] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - name: Setup Python environment - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install Requirements From e04ec35282160ba4f0079a175c8c3d737a72aced Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Thu, 18 Dec 2025 16:59:10 +0000 Subject: [PATCH 17/21] Changing actions versions --- .github/workflows/ci.yml | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5385cc61..03803c76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,31 +35,40 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 - - name: Setup Python environment + + - name: Set up Python uses: actions/setup-python@v6 with: - python-version: '3.9' - - name: Install Requirements + python-version: "3.9" + cache: "pip" + + - name: Install build and doc tooling run: | - python -m pip install --upgrade pip - pip install twine sphinx - pip install -r requirements.txt - pip install -r test/requirements.txt - python setup.py install - - name: Test Doc Generation + python -m pip install -U pip + python -m pip install build twine sphinx + python -m pip install -r requirements.txt + python -m pip install -r test/requirements.txt + + - name: Build sdist and wheel (PEP 517) + run: python -m build + + - name: Validate distribution metadata + run: twine check dist/* + + - name: Install package from wheel run: | - sphinx-build -b html docs build/html - - name: Test Dist Generation + python -m pip install dist/*.whl + + - name: Test documentation generation run: | - python setup.py sdist bdist_wheel - twine check dist/* + sphinx-build -b html docs build/html Integration: continue-on-error: true runs-on: ${{ matrix.os }} strategy: matrix: os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] - python-version: [3.9, "3.10", 3.11, 3.12] + python-version: [3.9, "3.10", 3.11] steps: - uses: actions/checkout@v5 - name: Setup Python environment From 6677bec06089a1f966e869965c50af4e4b52a2a1 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Thu, 18 Dec 2025 17:08:22 +0000 Subject: [PATCH 18/21] Changing actions versions --- .github/workflows/ci.yml | 82 ++++++++++++++++++++++------------------ 1 file changed, 46 insertions(+), 36 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03803c76..9be0edba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,39 +63,49 @@ jobs: run: | sphinx-build -b html docs build/html Integration: - continue-on-error: true - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] - python-version: [3.9, "3.10", 3.11] - steps: - - uses: actions/checkout@v5 - - name: Setup Python environment - uses: actions/setup-python@v6 - with: - python-version: ${{ matrix.python-version }} - - name: Install Requirements - run: | - python -m pip install --upgrade pip - pip install flake8 pytest - pip install -r requirements.txt - pip install -r test/requirements.txt - python setup.py install --user - - name: Run Integration Tests - env: - LEGACY_USER_DROPBOX_TOKEN: ${{ secrets.LEGACY_USER_DROPBOX_TOKEN }} - LEGACY_USER_CLIENT_ID: ${{ secrets.LEGACY_USER_CLIENT_ID }} - LEGACY_USER_CLIENT_SECRET: ${{ secrets.LEGACY_USER_CLIENT_SECRET }} - LEGACY_USER_REFRESH_TOKEN: ${{ secrets.LEGACY_USER_REFRESH_TOKEN }} - SCOPED_USER_DROPBOX_TOKEN: ${{ secrets.SCOPED_USER_DROPBOX_TOKEN }} - SCOPED_USER_CLIENT_ID: ${{ secrets.SCOPED_USER_CLIENT_ID }} - SCOPED_USER_CLIENT_SECRET: ${{ secrets.SCOPED_USER_CLIENT_SECRET }} - SCOPED_USER_REFRESH_TOKEN: ${{ secrets.SCOPED_USER_REFRESH_TOKEN }} - SCOPED_TEAM_DROPBOX_TOKEN: ${{ secrets.SCOPED_TEAM_DROPBOX_TOKEN }} - SCOPED_TEAM_CLIENT_ID: ${{ secrets.SCOPED_TEAM_CLIENT_ID }} - SCOPED_TEAM_CLIENT_SECRET: ${{ secrets.SCOPED_TEAM_CLIENT_SECRET }} - SCOPED_TEAM_REFRESH_TOKEN: ${{ secrets.SCOPED_TEAM_REFRESH_TOKEN }} - DROPBOX_SHARED_LINK: ${{ secrets.DROPBOX_SHARED_LINK }} - run: | - pytest -v test/integration/test_dropbox.py + continue-on-error: true + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] + python-version: ["3.9", "3.10", "3.11"] + steps: + - uses: actions/checkout@v5 + + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: ${{ matrix.python-version }} + cache: "pip" + + - name: Install dependencies + run: | + python -m pip install -U pip + python -m pip install -U build + python -m pip install -r requirements.txt + python -m pip install -r test/requirements.txt + python -m pip install -U flake8 pytest + + - name: Build and install package (wheel) + run: | + python -m build --wheel + python -m pip install dist/*.whl + + - name: Run integration tests + env: + LEGACY_USER_DROPBOX_TOKEN: ${{ secrets.LEGACY_USER_DROPBOX_TOKEN }} + LEGACY_USER_CLIENT_ID: ${{ secrets.LEGACY_USER_CLIENT_ID }} + LEGACY_USER_CLIENT_SECRET: ${{ secrets.LEGACY_USER_CLIENT_SECRET }} + LEGACY_USER_REFRESH_TOKEN: ${{ secrets.LEGACY_USER_REFRESH_TOKEN }} + SCOPED_USER_DROPBOX_TOKEN: ${{ secrets.SCOPED_USER_DROPBOX_TOKEN }} + SCOPED_USER_CLIENT_ID: ${{ secrets.SCOPED_USER_CLIENT_ID }} + SCOPED_USER_CLIENT_SECRET: ${{ secrets.SCOPED_USER_CLIENT_SECRET }} + SCOPED_USER_REFRESH_TOKEN: ${{ secrets.SCOPED_USER_REFRESH_TOKEN }} + SCOPED_TEAM_DROPBOX_TOKEN: ${{ secrets.SCOPED_TEAM_DROPBOX_TOKEN }} + SCOPED_TEAM_CLIENT_ID: ${{ secrets.SCOPED_TEAM_CLIENT_ID }} + SCOPED_TEAM_CLIENT_SECRET: ${{ secrets.SCOPED_TEAM_CLIENT_SECRET }} + SCOPED_TEAM_REFRESH_TOKEN: ${{ secrets.SCOPED_TEAM_REFRESH_TOKEN }} + DROPBOX_SHARED_LINK: ${{ secrets.DROPBOX_SHARED_LINK }} + run: | + pytest -v test/integration/test_dropbox.py \ No newline at end of file From 3176fd7379330bdf5010c8ea3e3e159feaa00bd5 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Thu, 18 Dec 2025 17:11:39 +0000 Subject: [PATCH 19/21] Changing actions versions --- .github/workflows/ci.yml | 126 +++++++++++++++++++++------------------ 1 file changed, 69 insertions(+), 57 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9be0edba..d38c3c09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,29 +6,41 @@ jobs: CI: continue-on-error: true runs-on: ${{ matrix.os }} - # Supported Versions: + + # Supported Python versions: # https://github.com/actions/python-versions/blob/main/versions-manifest.json strategy: + fail-fast: false matrix: os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] - python-version: [3.9, "3.10", 3.11] + python-version: ["3.9", "3.10", "3.11"] + steps: - uses: actions/checkout@v5 - - name: Setup Python environment + + - name: Set up Python uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - - name: Install Requirements + cache: "pip" + + - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install flake8 pytest - pip install -r requirements.txt - pip install -r test/requirements.txt - python setup.py install --user - - name: Run Linter + python -m pip install -U pip + python -m pip install -U build flake8 pytest + python -m pip install -r requirements.txt + python -m pip install -r test/requirements.txt + + - name: Build and install package (wheel) + run: | + python -m build --wheel + python -m pip install dist/*.whl + + - name: Run linter run: | flake8 setup.py dropbox example test - - name: Run Unit Tests + + - name: Run unit tests run: | pytest -v test/unit/test_dropbox_unit.py Docs: @@ -63,49 +75,49 @@ jobs: run: | sphinx-build -b html docs build/html Integration: - continue-on-error: true - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] - python-version: ["3.9", "3.10", "3.11"] - steps: - - uses: actions/checkout@v5 - - - name: Set up Python - uses: actions/setup-python@v6 - with: - python-version: ${{ matrix.python-version }} - cache: "pip" - - - name: Install dependencies - run: | - python -m pip install -U pip - python -m pip install -U build - python -m pip install -r requirements.txt - python -m pip install -r test/requirements.txt - python -m pip install -U flake8 pytest - - - name: Build and install package (wheel) - run: | - python -m build --wheel - python -m pip install dist/*.whl - - - name: Run integration tests - env: - LEGACY_USER_DROPBOX_TOKEN: ${{ secrets.LEGACY_USER_DROPBOX_TOKEN }} - LEGACY_USER_CLIENT_ID: ${{ secrets.LEGACY_USER_CLIENT_ID }} - LEGACY_USER_CLIENT_SECRET: ${{ secrets.LEGACY_USER_CLIENT_SECRET }} - LEGACY_USER_REFRESH_TOKEN: ${{ secrets.LEGACY_USER_REFRESH_TOKEN }} - SCOPED_USER_DROPBOX_TOKEN: ${{ secrets.SCOPED_USER_DROPBOX_TOKEN }} - SCOPED_USER_CLIENT_ID: ${{ secrets.SCOPED_USER_CLIENT_ID }} - SCOPED_USER_CLIENT_SECRET: ${{ secrets.SCOPED_USER_CLIENT_SECRET }} - SCOPED_USER_REFRESH_TOKEN: ${{ secrets.SCOPED_USER_REFRESH_TOKEN }} - SCOPED_TEAM_DROPBOX_TOKEN: ${{ secrets.SCOPED_TEAM_DROPBOX_TOKEN }} - SCOPED_TEAM_CLIENT_ID: ${{ secrets.SCOPED_TEAM_CLIENT_ID }} - SCOPED_TEAM_CLIENT_SECRET: ${{ secrets.SCOPED_TEAM_CLIENT_SECRET }} - SCOPED_TEAM_REFRESH_TOKEN: ${{ secrets.SCOPED_TEAM_REFRESH_TOKEN }} - DROPBOX_SHARED_LINK: ${{ secrets.DROPBOX_SHARED_LINK }} - run: | - pytest -v test/integration/test_dropbox.py \ No newline at end of file + continue-on-error: true + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] + python-version: ["3.9", "3.10", "3.11"] + steps: + - uses: actions/checkout@v5 + + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: ${{ matrix.python-version }} + cache: "pip" + + - name: Install dependencies + run: | + python -m pip install -U pip + python -m pip install -U build + python -m pip install -r requirements.txt + python -m pip install -r test/requirements.txt + python -m pip install -U flake8 pytest + + - name: Build and install package (wheel) + run: | + python -m build --wheel + python -m pip install dist/*.whl + + - name: Run integration tests + env: + LEGACY_USER_DROPBOX_TOKEN: ${{ secrets.LEGACY_USER_DROPBOX_TOKEN }} + LEGACY_USER_CLIENT_ID: ${{ secrets.LEGACY_USER_CLIENT_ID }} + LEGACY_USER_CLIENT_SECRET: ${{ secrets.LEGACY_USER_CLIENT_SECRET }} + LEGACY_USER_REFRESH_TOKEN: ${{ secrets.LEGACY_USER_REFRESH_TOKEN }} + SCOPED_USER_DROPBOX_TOKEN: ${{ secrets.SCOPED_USER_DROPBOX_TOKEN }} + SCOPED_USER_CLIENT_ID: ${{ secrets.SCOPED_USER_CLIENT_ID }} + SCOPED_USER_CLIENT_SECRET: ${{ secrets.SCOPED_USER_CLIENT_SECRET }} + SCOPED_USER_REFRESH_TOKEN: ${{ secrets.SCOPED_USER_REFRESH_TOKEN }} + SCOPED_TEAM_DROPBOX_TOKEN: ${{ secrets.SCOPED_TEAM_DROPBOX_TOKEN }} + SCOPED_TEAM_CLIENT_ID: ${{ secrets.SCOPED_TEAM_CLIENT_ID }} + SCOPED_TEAM_CLIENT_SECRET: ${{ secrets.SCOPED_TEAM_CLIENT_SECRET }} + SCOPED_TEAM_REFRESH_TOKEN: ${{ secrets.SCOPED_TEAM_REFRESH_TOKEN }} + DROPBOX_SHARED_LINK: ${{ secrets.DROPBOX_SHARED_LINK }} + run: | + pytest -v test/integration/test_dropbox.py \ No newline at end of file From 67a50ad1fcc3590f41331dc5edbf5b5b8dcd7ce7 Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Thu, 18 Dec 2025 17:21:17 +0000 Subject: [PATCH 20/21] Changing actions versions --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d38c3c09..10ae85d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,6 @@ jobs: continue-on-error: true runs-on: ${{ matrix.os }} - # Supported Python versions: - # https://github.com/actions/python-versions/blob/main/versions-manifest.json strategy: fail-fast: false matrix: @@ -31,10 +29,23 @@ jobs: python -m pip install -r requirements.txt python -m pip install -r test/requirements.txt - - name: Build and install package (wheel) + - name: Build wheel + run: python -m build --wheel + + - name: Show dist contents + run: ls -la dist + shell: bash + + - name: Install package from wheel (robust) + shell: bash run: | - python -m build --wheel - python -m pip install dist/*.whl + WHEEL="$(python -c "import glob; w=glob.glob('dist/*.whl'); print(w[0] if w else '')")" + if [ -z "$WHEEL" ]; then + echo "No wheel was built. dist contains:" + ls -la dist || true + exit 1 + fi + python -m pip install "$WHEEL" - name: Run linter run: | @@ -67,9 +78,16 @@ jobs: - name: Validate distribution metadata run: twine check dist/* + - name: Build wheel + run: python -m build --wheel + - name: Install package from wheel run: | - python -m pip install dist/*.whl + python -c "import glob,sys; w=glob.glob('dist/*.whl'); assert w, f'No wheel built. dist contains: {glob.glob(\"dist/*\")}'; print(w[0])" + python -c "import glob; print(glob.glob('dist/*.whl')[0])" > wheel_path.txt + python -m pip install "$(cat wheel_path.txt)" + shell: bash + - name: Test documentation generation run: | From fb0a38dd6eebfe2165bafadb01976b24722d036b Mon Sep 17 00:00:00 2001 From: Carlos Fuentes Date: Thu, 18 Dec 2025 17:25:35 +0000 Subject: [PATCH 21/21] Changing actions versions --- .github/workflows/ci.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10ae85d0..1aa2e48d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,6 +92,7 @@ jobs: - name: Test documentation generation run: | sphinx-build -b html docs build/html + Integration: continue-on-error: true runs-on: ${{ matrix.os }} @@ -100,6 +101,7 @@ jobs: matrix: os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest] python-version: ["3.9", "3.10", "3.11"] + steps: - uses: actions/checkout@v5 @@ -112,15 +114,17 @@ jobs: - name: Install dependencies run: | python -m pip install -U pip - python -m pip install -U build + python -m pip install -U build pytest python -m pip install -r requirements.txt python -m pip install -r test/requirements.txt - python -m pip install -U flake8 pytest - - name: Build and install package (wheel) + - name: Build wheel + run: python -m build --wheel + + - name: Install package from wheel (cross-platform) + shell: bash run: | - python -m build --wheel - python -m pip install dist/*.whl + python -m pip install "$(python -c "import glob,sys; w=glob.glob('dist/*.whl'); assert w, f'No wheel built. dist contains: {glob.glob(\"dist/*\")}'; print(w[0])")" - name: Run integration tests env: