Skip to content

Commit 782494e

Browse files
committed
ci: explicitly create venv for python2 checking
1 parent 388d336 commit 782494e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ jobs:
133133
run: |
134134
uv tool install --python 3.13 pdm --with msgpack
135135
pdm config check_update false
136-
pdm config python.use_venv false
137136
- name: setup poetry by uv
138137
run: |
139138
uv tool install --python 3.13 poetry
139+
poetry config virtualenvs.in-project true
140140
- name: Verify pip conf script
141141
run: |
142142
python2.7 pip_conf.py --tool=pip
@@ -147,6 +147,8 @@ jobs:
147147
python2.7 pip_conf.py --pdm
148148
python2.7 pip_conf.py --poetry
149149
python2.7 pip_conf.py --uv
150+
- name: Use py3.13 to create venv
151+
run: pdm venv create 3.13
150152
- name: Verify pdm mirror work
151153
run: pdm add "pytz; python_version>='3.13'" --frozen-lock
152154
- name: Verify poetry mirror work

0 commit comments

Comments
 (0)