Skip to content

Commit fb45401

Browse files
chenliu0831claude
andcommitted
Switch CI from poetry to uv for faster, reliable installs
Poetry 1.7.1 doesn't support PEP 621 [project] table format, causing 'name' parse error. Replace with uv pip install. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b1468be commit fb45401

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/base.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19+
- name: Install uv
20+
uses: astral-sh/setup-uv@v4
21+
1922
- uses: actions/setup-python@v5
2023
name: Install Python 3.12
2124
with:
@@ -41,14 +44,12 @@ jobs:
4144
4245
- name: Install Python dependencies
4346
run: |
44-
pip install --upgrade pip setuptools
45-
pip install poetry==1.7.1
46-
poetry install
47-
poetry add "pyspark[connect]==3.5.0"
47+
uv pip install -e ".[dev]" --system
48+
uv pip install "pyspark[connect]==3.5.0" --system
4849
4950
- name: Run V2 unit tests
5051
run: |
51-
poetry run pytest tests/v2/test_unit.py -v
52+
pytest tests/v2/test_unit.py -v
5253
5354
- name: Start Spark Connect Server
5455
run: |
@@ -65,7 +66,7 @@ jobs:
6566
env:
6667
SPARK_REMOTE: "sc://localhost:15002"
6768
run: |
68-
poetry run pytest tests/v2/ -v --ignore=tests/v2/test_unit.py
69+
pytest tests/v2/ -v --ignore=tests/v2/test_unit.py
6970
7071
- name: Stop Spark Connect Server
7172
if: always()

0 commit comments

Comments
 (0)