Skip to content

Commit 2ac3287

Browse files
committed
Pin python and virtualenv versions to unblock builds
Signed-off-by: lelia <lelia@socket.dev>
1 parent 59dcb9d commit 2ac3287

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/pr-preview.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ jobs:
1616
fetch-depth: 0
1717
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
1818
with:
19-
python-version: '3.x'
19+
python-version: '3.13'
2020

2121
# Install all dependencies from pyproject.toml
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25+
pip install "virtualenv<20.36"
2526
pip install hatchling==1.27.0 hatch==1.14.0
2627
2728
- name: Inject full dynamic version

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ jobs:
1515
fetch-depth: 0
1616
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
1717
with:
18-
python-version: '3.x'
18+
python-version: '3.13'
1919

2020
# Install all dependencies from pyproject.toml
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24+
pip install "virtualenv<20.36"
2425
pip install hatchling==1.27.0 hatch==1.14.0
2526
2627
- name: Get Version

0 commit comments

Comments
 (0)