From f7462f6a2dfd7cd471341919c9690fef7c1814a1 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Tue, 8 Oct 2024 10:31:24 +1300 Subject: [PATCH 1/9] Add support for Python 3.13 Python 3.13 has been released on 7 Oct 2024, changelog is at https://docs.python.org/3.13/whatsnew/3.13.html --- .github/workflows/benchmarks.yml | 2 +- .github/workflows/cache_data.yaml | 2 +- .github/workflows/ci_docs.yml | 4 ++-- .github/workflows/ci_doctests.yaml | 2 +- .github/workflows/ci_tests.yaml | 12 ++++++------ .github/workflows/ci_tests_dev.yaml | 2 +- .github/workflows/format-command.yml | 2 +- .github/workflows/publish-to-pypi.yml | 2 +- .github/workflows/style_checks.yaml | 2 +- .github/workflows/type_checks.yml | 2 +- ci/requirements/docs.yml | 2 +- doc/install.md | 4 ++-- environment.yml | 2 +- pyproject.toml | 1 + 14 files changed, 21 insertions(+), 20 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 10ec173105c..ba690d846ad 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -58,7 +58,7 @@ jobs: cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }} create-args: >- gmt=6.5.0 - python=3.12 + python=3.13 numpy pandas xarray diff --git a/.github/workflows/cache_data.yaml b/.github/workflows/cache_data.yaml index fc3b29f394e..f644b5b3a14 100644 --- a/.github/workflows/cache_data.yaml +++ b/.github/workflows/cache_data.yaml @@ -51,7 +51,7 @@ jobs: - conda-forge - nodefaults create-args: >- - python=3.12 + python=3.13 gmt=6.5.0 numpy pandas diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 2d8c53b4bf9..9ae9e9107b4 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -55,7 +55,7 @@ jobs: # Is it a draft Pull Request (true or false)? isDraft: - ${{ github.event.pull_request.draft }} - # Only run one job (Ubuntu + Python 3.12) for draft PRs + # Only run one job (Ubuntu + Python 3.13) for draft PRs exclude: - os: macos-latest isDraft: true @@ -92,7 +92,7 @@ jobs: # environment cache is persistent for one week. cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }} create-args: >- - python=3.12 + python=3.13 gmt=6.5.0 ghostscript=10.04.0 numpy diff --git a/.github/workflows/ci_doctests.yaml b/.github/workflows/ci_doctests.yaml index cf1f1704d28..bbc2ddbbbef 100644 --- a/.github/workflows/ci_doctests.yaml +++ b/.github/workflows/ci_doctests.yaml @@ -50,7 +50,7 @@ jobs: - conda-forge - nodefaults create-args: >- - python=3.12 + python=3.13 gmt=6.5.0 numpy pandas diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 02c200c77ec..a1627a5e808 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -54,27 +54,27 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10', '3.12'] + python-version: ['3.10', '3.13'] os: [ubuntu-latest, macos-latest, windows-latest] # Is it a draft Pull Request (true or false)? isDraft: - ${{ github.event.pull_request.draft }} - # Only run two jobs (Ubuntu + Python 3.10/3.12) for draft PRs + # Only run two jobs (Ubuntu + Python 3.10/3.13) for draft PRs exclude: - os: macos-latest isDraft: true - os: windows-latest isDraft: true # Pair Python 3.10 with the minimum supported versions of NumPy/Pandas/Xarray - # and Python 3.12 with the latest versions of NumPy/Pandas/Xarray - # Only install optional packages on Python 3.12 + # and Python 3.13 with the latest versions of NumPy/Pandas/Xarray + # Only install optional packages on Python 3.13 include: - python-version: '3.10' numpy-version: '1.24' pandas-version: '=2.0' xarray-version: '=2023.04' optional-packages: '' - - python-version: '3.12' + - python-version: '3.13' numpy-version: '2.1' pandas-version: '' xarray-version: '' @@ -83,7 +83,7 @@ jobs: # The python-version here can't be the versions in the matrix.python-version # defined above. Otherwise, other jobs will be overridden by this one. - os: 'ubuntu-latest' - python-version: '3.11' # Can't be 3.10 or 3.12. + python-version: '3.11' # Can't be 3.10 or 3.13. numpy-version: '1.24' pandas-version: '' xarray-version: '' diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index fe12e04432a..3453db8858e 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -69,7 +69,7 @@ jobs: # environment cache is persistent for one week. cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }} create-args: >- - python=3.12 + python=3.13 cmake make ninja diff --git a/.github/workflows/format-command.yml b/.github/workflows/format-command.yml index 038ee463019..5c18795872e 100644 --- a/.github/workflows/format-command.yml +++ b/.github/workflows/format-command.yml @@ -27,7 +27,7 @@ jobs: # Setup Python environment - uses: actions/setup-python@v5.2.0 with: - python-version: '3.12' + python-version: '3.13' # Install formatting tools - name: Install formatting tools diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index a8c3bc409dd..e6a61d366de 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -53,7 +53,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5.2.0 with: - python-version: '3.12' + python-version: '3.13' - name: Install dependencies run: python -m pip install build diff --git a/.github/workflows/style_checks.yaml b/.github/workflows/style_checks.yaml index 25d75d53974..f636cb27105 100644 --- a/.github/workflows/style_checks.yaml +++ b/.github/workflows/style_checks.yaml @@ -30,7 +30,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5.2.0 with: - python-version: '3.12' + python-version: '3.13' - name: Install packages run: | diff --git a/.github/workflows/type_checks.yml b/.github/workflows/type_checks.yml index ea951c41720..2d027bcae33 100644 --- a/.github/workflows/type_checks.yml +++ b/.github/workflows/type_checks.yml @@ -39,7 +39,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5.2.0 with: - python-version: '3.12' + python-version: '3.13' - name: Install packages run: | diff --git a/ci/requirements/docs.yml b/ci/requirements/docs.yml index 8214dbac8fe..7c93050c19f 100644 --- a/ci/requirements/docs.yml +++ b/ci/requirements/docs.yml @@ -4,7 +4,7 @@ channels: - nodefaults dependencies: # Required dependencies - - python=3.12 + - python=3.13 - gmt=6.5.0 - ghostscript=10.04.0 - numpy diff --git a/doc/install.md b/doc/install.md index b050f39d10a..e35cd888023 100644 --- a/doc/install.md +++ b/doc/install.md @@ -132,14 +132,14 @@ installed (we'll call it `pygmt` but feel free to change it to whatever you want ::: {tab-item} mamba :sync: mamba ``` -mamba create --name pygmt python=3.12 numpy pandas xarray netcdf4 packaging gmt +mamba create --name pygmt python=3.13 numpy pandas xarray netcdf4 packaging gmt ``` ::: ::: {tab-item} conda :sync: conda ``` -conda create --name pygmt python=3.12 numpy pandas xarray netcdf4 packaging gmt +conda create --name pygmt python=3.13 numpy pandas xarray netcdf4 packaging gmt ``` ::: :::: diff --git a/environment.yml b/environment.yml index 85d7c845866..84f9de220c8 100644 --- a/environment.yml +++ b/environment.yml @@ -3,7 +3,7 @@ channels: - conda-forge - nodefaults dependencies: - - python=3.12 + - python=3.13 # Required dependencies - gmt=6.5.0 - ghostscript=10.04.0 diff --git a/pyproject.toml b/pyproject.toml index 74516aefd87..01097e4152a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "License :: OSI Approved :: BSD License", ] dependencies = [ From 92d59451226338fa992f0e3e23a52c0aaca9ede1 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Tue, 8 Oct 2024 10:45:50 +1300 Subject: [PATCH 2/9] Add conda-forge/label/python_rc channel --- .github/workflows/benchmarks.yml | 1 + .github/workflows/ci_docs.yml | 1 + .github/workflows/ci_tests.yaml | 1 + .github/workflows/ci_tests_dev.yaml | 1 + ci/requirements/docs.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index ba690d846ad..291468fa2f9 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -51,6 +51,7 @@ jobs: condarc: | channels: - conda-forge + - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 9ae9e9107b4..d4712d8853a 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -86,6 +86,7 @@ jobs: condarc: | channels: - conda-forge + - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index a1627a5e808..80a3d70a6ce 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -120,6 +120,7 @@ jobs: condarc: | channels: - conda-forge + - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index 3453db8858e..9a7ea414ddc 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -63,6 +63,7 @@ jobs: condarc: | channels: - conda-forge + - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/ci/requirements/docs.yml b/ci/requirements/docs.yml index 7c93050c19f..80cce34b8f6 100644 --- a/ci/requirements/docs.yml +++ b/ci/requirements/docs.yml @@ -1,6 +1,7 @@ name: pygmt channels: - conda-forge + - conda-forge/label/python_rc - nodefaults dependencies: # Required dependencies From 642a538481f9f51c9686a956b44a5b00be842016 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Mon, 11 Nov 2024 15:48:46 +1300 Subject: [PATCH 3/9] Revert "Add conda-forge/label/python_rc channel" This reverts commit 92d59451226338fa992f0e3e23a52c0aaca9ede1. --- .github/workflows/benchmarks.yml | 1 - .github/workflows/ci_docs.yml | 1 - .github/workflows/ci_tests.yaml | 1 - .github/workflows/ci_tests_dev.yaml | 1 - ci/requirements/docs.yml | 1 - 5 files changed, 5 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 304c2101f04..d9b225eb29f 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -51,7 +51,6 @@ jobs: condarc: | channels: - conda-forge - - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 8f3cee02e32..6192f7a573d 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -86,7 +86,6 @@ jobs: condarc: | channels: - conda-forge - - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index de2e3e78ec8..2f260fc0d36 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -120,7 +120,6 @@ jobs: condarc: | channels: - conda-forge - - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index d1ff3a816a1..cd323a4f277 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -63,7 +63,6 @@ jobs: condarc: | channels: - conda-forge - - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/ci/requirements/docs.yml b/ci/requirements/docs.yml index 6fb0db22fc6..f3ee68ab829 100644 --- a/ci/requirements/docs.yml +++ b/ci/requirements/docs.yml @@ -1,7 +1,6 @@ name: pygmt channels: - conda-forge - - conda-forge/label/python_rc - nodefaults dependencies: # Required dependencies From 6e745248d4710071e88551cb8b84fe009e146138 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Mon, 11 Nov 2024 15:56:20 +1300 Subject: [PATCH 4/9] Don't install optional pyarrow package in Python 3.13 CI build PyArrow's dependencies (specifically sparse and numba) aren't supported on Python 3.13 yet, so removing for now since PyArrow is included in the Python 3.11 CI build (#3605). Downgraded Python version in environment.yml from =3.13 to >=3.10 --- .github/workflows/ci_tests.yaml | 2 +- environment.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 2f260fc0d36..36a52f66e62 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -78,7 +78,7 @@ jobs: numpy-version: '2.1' pandas-version: '' xarray-version: '' - optional-packages: ' contextily geopandas ipython pyarrow rioxarray sphinx-gallery' + optional-packages: ' contextily geopandas ipython rioxarray sphinx-gallery' # The job below is for testing GeoPandas v0.x on Ubuntu. # The python-version here can't be the versions in the matrix.python-version # defined above. Otherwise, other jobs will be overridden by this one. diff --git a/environment.yml b/environment.yml index e043ab97f77..ad9b8c55064 100644 --- a/environment.yml +++ b/environment.yml @@ -3,7 +3,7 @@ channels: - conda-forge - nodefaults dependencies: - - python=3.13 + - python>=3.10 # Required dependencies - gmt=6.5.0 - ghostscript=10.04.0 From a06f9064b5a87b4448f7c8f67630922f9ceb318c Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:10:25 +1300 Subject: [PATCH 5/9] Temporarily invalidate cache --- .github/workflows/ci_tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 36a52f66e62..674f0f893aa 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -110,7 +110,7 @@ jobs: - name: Get current week number of year id: date - run: echo "date=$(date +%Y-W%W)" >> $GITHUB_OUTPUT # e.g., 2024-W19 + run: echo "date=$(date +%Y-W%W-)" >> $GITHUB_OUTPUT # e.g., 2024-W19 # Install Micromamba with conda-forge dependencies - name: Setup Micromamba From ada48f387f691b4c928bd6adef6cad894016a298 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:11:37 +1300 Subject: [PATCH 6/9] Revert "Temporarily invalidate cache" This reverts commit a06f9064b5a87b4448f7c8f67630922f9ceb318c. --- .github/workflows/ci_tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 674f0f893aa..36a52f66e62 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -110,7 +110,7 @@ jobs: - name: Get current week number of year id: date - run: echo "date=$(date +%Y-W%W-)" >> $GITHUB_OUTPUT # e.g., 2024-W19 + run: echo "date=$(date +%Y-W%W)" >> $GITHUB_OUTPUT # e.g., 2024-W19 # Install Micromamba with conda-forge dependencies - name: Setup Micromamba From 90d9b421aa2199fa0bd1a3707e14a8e306d2cd9a Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:20:55 +1300 Subject: [PATCH 7/9] Reapply "Add conda-forge/label/python_rc channel" This reverts commit 642a538481f9f51c9686a956b44a5b00be842016. --- .github/workflows/benchmarks.yml | 1 + .github/workflows/ci_docs.yml | 1 + .github/workflows/ci_tests.yaml | 1 + .github/workflows/ci_tests_dev.yaml | 1 + ci/requirements/docs.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index d9b225eb29f..304c2101f04 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -51,6 +51,7 @@ jobs: condarc: | channels: - conda-forge + - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 6192f7a573d..8f3cee02e32 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -86,6 +86,7 @@ jobs: condarc: | channels: - conda-forge + - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 36a52f66e62..86f7e586659 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -120,6 +120,7 @@ jobs: condarc: | channels: - conda-forge + - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index cd323a4f277..d1ff3a816a1 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -63,6 +63,7 @@ jobs: condarc: | channels: - conda-forge + - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/ci/requirements/docs.yml b/ci/requirements/docs.yml index f3ee68ab829..6fb0db22fc6 100644 --- a/ci/requirements/docs.yml +++ b/ci/requirements/docs.yml @@ -1,6 +1,7 @@ name: pygmt channels: - conda-forge + - conda-forge/label/python_rc - nodefaults dependencies: # Required dependencies From 742980e55af5dd0f08315c1a15b26c058c607496 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Tue, 3 Dec 2024 08:48:14 +1300 Subject: [PATCH 8/9] Revert "Reapply "Add conda-forge/label/python_rc channel"" This reverts commit 90d9b421aa2199fa0bd1a3707e14a8e306d2cd9a. --- .github/workflows/benchmarks.yml | 1 - .github/workflows/ci_docs.yml | 1 - .github/workflows/ci_tests.yaml | 1 - .github/workflows/ci_tests_dev.yaml | 1 - ci/requirements/docs.yml | 1 - 5 files changed, 5 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 2ee6e6fa42b..64d41f5ea86 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -51,7 +51,6 @@ jobs: condarc: | channels: - conda-forge - - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 3549e94bf4e..aec56148f5d 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -86,7 +86,6 @@ jobs: condarc: | channels: - conda-forge - - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 7c2d712a153..6af063ab177 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -119,7 +119,6 @@ jobs: condarc: | channels: - conda-forge - - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index 15a1059db1c..d88aa6d066c 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -63,7 +63,6 @@ jobs: condarc: | channels: - conda-forge - - conda-forge/label/python_rc - nodefaults cache-downloads: false cache-environment: true diff --git a/ci/requirements/docs.yml b/ci/requirements/docs.yml index 6fb0db22fc6..f3ee68ab829 100644 --- a/ci/requirements/docs.yml +++ b/ci/requirements/docs.yml @@ -1,7 +1,6 @@ name: pygmt channels: - conda-forge - - conda-forge/label/python_rc - nodefaults dependencies: # Required dependencies From 631444f32b7f910f91c7b8f7a0102cd13b536b37 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Thu, 19 Dec 2024 13:50:22 +1300 Subject: [PATCH 9/9] Update .github/workflows/ci_docs.yml Co-authored-by: Dongdong Tian --- .github/workflows/ci_docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index adf6d60d4b4..eb5497143bc 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -55,7 +55,7 @@ jobs: # Is it a draft Pull Request (true or false)? isDraft: - ${{ github.event.pull_request.draft }} - # Only run one job (Ubuntu + Python 3.13) for draft PRs + # Only run jobs on Ubuntu for draft PRs exclude: - os: macos-latest isDraft: true