From cc80cd2a61a61ae4e775e3b31589066b93775014 Mon Sep 17 00:00:00 2001 From: Kurt Schwehr Date: Thu, 19 Feb 2026 08:33:41 -0800 Subject: [PATCH 1/5] .github/workflows: Use python 3.13 for all but ubuntu.yml --- .github/workflows/docs-build.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/installation.yml | 2 +- .github/workflows/macos.yml | 2 +- .github/workflows/release-bump-master-version.yml | 2 +- .github/workflows/release-prerelease.yml | 2 +- .github/workflows/release-stable.yml | 2 +- .github/workflows/windows.yml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index c76a7a0af6..45830cd262 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.12"] + python-version: ["3.13"] env: USE_MKDOCS: ${{ secrets.USE_MKDOCS }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a78901f749..b8e6f6fbc6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.12"] + python-version: ["3.13"] env: USE_MKDOCS: ${{ secrets.USE_MKDOCS }} diff --git a/.github/workflows/installation.yml b/.github/workflows/installation.yml index 36f389f72f..42f9606413 100644 --- a/.github/workflows/installation.yml +++ b/.github/workflows/installation.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.12"] + python-version: ["3.13"] steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 401a877428..73d64bb4a2 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -15,7 +15,7 @@ jobs: fail-fast: false matrix: config: - - { os: macOS-latest, py: "3.12" } + - { os: macOS-latest, py: "3.13" } env: SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk steps: diff --git a/.github/workflows/release-bump-master-version.yml b/.github/workflows/release-bump-master-version.yml index 2aacf943c6..9122c8921c 100644 --- a/.github/workflows/release-bump-master-version.yml +++ b/.github/workflows/release-bump-master-version.yml @@ -45,7 +45,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: '3.11' + python-version: '3.13' - name: Configure Git run: | diff --git a/.github/workflows/release-prerelease.yml b/.github/workflows/release-prerelease.yml index eea63d00b4..5e978671c4 100644 --- a/.github/workflows/release-prerelease.yml +++ b/.github/workflows/release-prerelease.yml @@ -34,7 +34,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: '3.11' + python-version: '3.13' - name: Configure Git run: | diff --git a/.github/workflows/release-stable.yml b/.github/workflows/release-stable.yml index 6a50e5b27f..8565d78da0 100644 --- a/.github/workflows/release-stable.yml +++ b/.github/workflows/release-stable.yml @@ -29,7 +29,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: '3.11' + python-version: '3.13' - name: Configure Git run: | diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 468fdd400a..0ccb5bea31 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,7 +12,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python-version: ["3.12"] + python-version: ["3.13"] env: USE_FOLIUM: ${{ secrets.USE_FOLIUM }} From 4d561f3498cf736cce16508d5a28fe3a85c2e9b4 Mon Sep 17 00:00:00 2001 From: Kurt Schwehr Date: Thu, 19 Feb 2026 08:49:39 -0800 Subject: [PATCH 2/5] pyproject.toml: Force pyarrow to be newer than 16.* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` Downloaded gradio × Failed to download and build `keplergl==0.3.7` ├─▶ Failed to install requirements from `build-system.requires` ├─▶ Failed to build `pyarrow==16.0.0` ├─▶ The build backend returned an error ``` --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 6c197b3d83..033ae288ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,6 +62,7 @@ ai = [ "iso8601" ] backends = [ + "pyarrow>=17.0.0", # For keplergl. "keplergl", "pydeck", ] From a0c6dea1b6eaebed315383fc91569c3302084187 Mon Sep 17 00:00:00 2001 From: Kurt Schwehr Date: Thu, 19 Feb 2026 08:55:08 -0800 Subject: [PATCH 3/5] docs-build.yml: Force install setuptools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` × Failed to download and build `keplergl==0.3.7` ├─▶ Failed to install requirements from `build-system.requires` ├─▶ Failed to build `pyarrow==16.0.0` ├─▶ The build backend returned an error ╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1) [stderr] Traceback (most recent call last): File "", line 14, in requires = get_requires_for_build({}) File "/home/runner/work/_temp/setup-uv-cache/builds-v0/.tmpGcnPVK/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/_temp/setup-uv-cache/builds-v0/.tmpGcnPVK/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() ~~~~~~~~~~~~~~^^ File "/home/runner/work/_temp/setup-uv-cache/builds-v0/.tmpGcnPVK/lib/python3.13/site-packages/setuptools/build_meta.py", line 520, in run_setup super().run_setup(setup_script=setup_script) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/_temp/setup-uv-cache/builds-v0/.tmpGcnPVK/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "", line 34, in ModuleNotFoundError: No module named 'pkg_resources' ``` --- .github/workflows/docs-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index 45830cd262..16b1732eb4 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -38,6 +38,7 @@ jobs: - name: Install optional dependencies run: | uv cache clean + uv pip install setuptools wheel uv pip install --find-links https://girder.github.io/large_image_wheels GDAL pyproj uv pip install -r pyproject.toml --extra all - name: Test import From 957566214d028e8b856b49c81bf0b6d51fb7a98c Mon Sep 17 00:00:00 2001 From: Kurt Schwehr Date: Thu, 19 Feb 2026 09:20:41 -0800 Subject: [PATCH 4/5] Tell uv that pyarrow needs setuptools / pkg_resources --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 033ae288ee..88b36d02e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,6 @@ ai = [ "iso8601" ] backends = [ - "pyarrow>=17.0.0", # For keplergl. "keplergl", "pydeck", ] @@ -204,5 +203,8 @@ dependencies = ["hatch-jupyter-builder>=0.5.0"] npm = "npm" build_cmd = "build" +[tool.uv.extra-build-dependencies] +pyarrow = ["pkg_resources"] + [project.urls] Homepage = "https://github.com/gee-community/geemap" From 44efe77976b03129dbab8700a56644e3e4110f90 Mon Sep 17 00:00:00 2001 From: Kurt Schwehr Date: Thu, 19 Feb 2026 09:34:06 -0800 Subject: [PATCH 5/5] pyproject.toml: tell uv that pyarrow needs setuptools for pkg_resources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` Downloaded pyogrio × Failed to download and build `keplergl==0.3.7` ├─▶ Failed to install requirements from `build-system.requires` ├─▶ Failed to download and build `pyarrow==16.0.0` ├─▶ Failed to resolve requirements from `build-system.requires` and │ `extra-build-dependencies` ├─▶ No solution found when resolving: `cython>=0.29.31`, │ `oldest-supported-numpy>=0.14 ; python_full_version < '3.9'`, │ `numpy>=1.25 ; python_full_version >= '3.9'`, `setuptools-scm`, │ `setuptools>=40.1.0`, `wheel`, `pkg-resources` ╰─▶ Because pkg-resources was not found in the package registry and you require pkg-resources, we can conclude that your requirements are unsatisfiable. ``` --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 88b36d02e9..af4e4755d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -204,7 +204,7 @@ npm = "npm" build_cmd = "build" [tool.uv.extra-build-dependencies] -pyarrow = ["pkg_resources"] +pyarrow = ["setuptools"] [project.urls] Homepage = "https://github.com/gee-community/geemap"