Skip to content

Commit a874a2f

Browse files
committed
Fix CI: pin uv version and add setuptools after all uv sync calls
- Pin uv version to 0.9.22 in python.yml, pyflink.yml, docs.yml, python-wheel.yml to avoid GitHub API lookup failures (ECONNREFUSED) - Add setuptools install after second uv sync in python.yml (the 'Run basic tests without rasterio' step)
1 parent a1fdc83 commit a874a2f

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ jobs:
7272
python-version: '3.11'
7373
- name: Install uv
7474
uses: astral-sh/setup-uv@v7
75+
with:
76+
version: '0.9.22'
7577
- name: Sync doc environment
7678
run: uv sync --group docs
7779
- run: sudo apt update

.github/workflows/pyflink.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
6565
python-version: ${{ matrix.python }}
6666
- name: Install uv
6767
uses: astral-sh/setup-uv@v7
68+
with:
69+
version: '0.9.22'
6870
- run: mvn package -pl "org.apache.sedona:sedona-flink-shaded_2.12" -am -DskipTests
6971
- name: Install python package + flink extra
7072
run: |

.github/workflows/python-wheel.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ jobs:
9595

9696
- name: Install uv
9797
uses: astral-sh/setup-uv@v4
98+
with:
99+
version: '0.9.22'
98100

99101
- name: Build sdist
100102
run: cd python && uv build --sdist

.github/workflows/python.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ jobs:
124124
python-version: ${{ matrix.python }}
125125
- name: Install uv
126126
uses: astral-sh/setup-uv@v7
127+
with:
128+
version: '0.9.22'
127129
- name: Cache Maven packages
128130
uses: actions/cache@v5
129131
with:
@@ -192,6 +194,7 @@ jobs:
192194
uv remove rasterio --optional all
193195
uv remove rasterio --dev
194196
uv sync
197+
uv pip install setuptools
195198
uv run pytest -v tests/core/test_rdd.py tests/sql/test_dataframe_api.py
196199
- name: Run Spark Connect tests
197200
if: ${{ matrix.spark >= '3.4.0' }}

0 commit comments

Comments
 (0)