Skip to content

Commit d6f8a92

Browse files
committed
fix python version
1 parent 31a1d7c commit d6f8a92

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,30 @@ jobs:
1212
strategy:
1313
matrix:
1414
python-version: ['3.9', '3.13']
15-
packages: ['pyspark>=4.0.0', 'pyspark==3.5.6']
15+
packages: ['pyspark>=4.0.0', 'pyspark==3.5.6 numpy<2.0.0']
1616
exclude:
1717
- python-version: '3.13'
1818
packages: 'pyspark==3.5.6'
1919
fail-fast: false
2020

2121
steps:
2222
- uses: actions/checkout@v4
23-
23+
2424
- name: Set up Python ${{ matrix.python-version }}
2525
uses: actions/setup-python@v5
2626
with:
2727
python-version: ${{ matrix.python-version }}
28-
28+
2929
- name: Install uv
3030
run: |
3131
curl -LsSf https://astral.sh/uv/install.sh | sh
3232
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
33-
33+
3434
- name: Install dependencies
3535
run: |
36-
uv add --dev ${{ matrix.packages }}
37-
uv sync
38-
36+
uv add --no-sync --dev ${{ matrix.packages }}
37+
uv sync --python ${{ matrix.python-version }}
38+
3939
- name: Run tests
4040
run: |
4141
uv run pytest

0 commit comments

Comments
 (0)