Skip to content

Commit bdd2f25

Browse files
Update Python CI workflow to install virtualenv safely
1 parent 793dbda commit bdd2f25

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,11 @@ jobs:
118118
uses: actions/setup-python@v5
119119
with:
120120
python-version: "3.11"
121-
- name: Upgrade virtualenv (compatible)
122-
run: pip install 'virtualenv<=20.23.0' # Pin to max safe version!
123121
- name: Install build tools
124-
run: pip install -U pip hatch hatchling twine
122+
run: |
123+
pip install -U pip
124+
pip install 'virtualenv<20.24.0'
125+
pip install hatch hatchling twine
125126
- name: Build sdist and wheel
126127
run: hatch build -t sdist -t wheel
127128
- name: Check distributions

0 commit comments

Comments
 (0)