Skip to content

Commit c09971c

Browse files
committed
ci: not use uv for pdm for py2.7
1 parent c6c940f commit c09971c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
5959
ConfPip:
6060
runs-on: ubuntu-latest
61+
needs: lint
6162
strategy:
6263
matrix:
6364
python-version: [3.9, 3.13, 3.14]
@@ -74,6 +75,7 @@ jobs:
7475

7576
conf_pip_py36:
7677
runs-on: ubuntu-latest
78+
needs: lint
7779
strategy:
7880
matrix:
7981
python-version: [3.11]
@@ -119,6 +121,7 @@ jobs:
119121

120122
conf_pip_py27:
121123
runs-on: ubuntu-latest
124+
needs: lint
122125
container: python:2.7
123126
steps:
124127
- uses: actions/checkout@v5
@@ -130,7 +133,6 @@ jobs:
130133
run: |
131134
uv tool install --python 3.13 pdm --with msgpack
132135
pdm config check_update false
133-
pdm config use_uv true
134136
- name: setup poetry by uv
135137
run: |
136138
uv tool install --python 3.13 poetry
@@ -145,7 +147,7 @@ jobs:
145147
python2.7 pip_conf.py --poetry
146148
python2.7 pip_conf.py --uv
147149
- name: Verify pdm mirror work
148-
run: pdm add "pytz; python_version>='3.13'" --frozen
150+
run: pdm add "pytz; python_version>='3.13'" --no-lock
149151
- name: Verify poetry mirror work
150152
run: |
151153
python3.13 -c "version='0.1.0';from pathlib import Path;p=Path('pyproject.toml');s=p.read_text();python='>=2.7,<3.0||>=3.5';a=f'\n[tool.poetry]\n{version=}\n[tool.poetry.dependencies]\n{python=}\n';a in s or p.write_text(s+a)"
@@ -155,6 +157,7 @@ jobs:
155157

156158
set_pip_mirror:
157159
runs-on: ${{ matrix.os }}
160+
needs: lint
158161
strategy:
159162
matrix:
160163
os: [macOS-latest, windows-latest]

0 commit comments

Comments
 (0)