Skip to content

Commit 36c110c

Browse files
authored
fix: a temporal workaround for the "virtualenv 20.33.0 breaks Poetry in GitHub Actions" (#213)
* chore: update Python tests workflow for improved dependency management * chore: update Python tests workflow for improved compatibility and performance * chore: update Python tests workflow for improved compatibility and performance * reorder
1 parent b30ffca commit 36c110c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/python-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ jobs:
3939
timeout-minutes: 30
4040

4141
steps:
42+
- name: Install virtualenv with specific version
43+
# This is only a temporary fix to ensure compatibility with Poetry & virtualenv
44+
# Relevant issues:
45+
# - https://github.com/pypa/virtualenv/issues/2931
46+
# - https://github.com/python-poetry/poetry/issues/10490
47+
# - https://github.com/actions/setup-python/issues/1167
48+
run: pip install virtualenv==20.32
4249
- uses: actions/checkout@v4
4350
- name: Install poetry
4451
run: pipx install poetry

0 commit comments

Comments
 (0)