File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -39,16 +39,14 @@ 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
4942 - uses : actions/checkout@v4
5043 - name : Install poetry
51- run : pipx install poetry
44+ # This is a temporary fix to ensure compatibility with Poetry & virtualenv
45+ # Revert to the original installation method once the poetry==2.1.4 is released
46+ run : |
47+ echo "virtualenv==20.32.0" > constraints.txt
48+ pipx install poetry==2.1.3 --pip-args="--constraint=constraints.txt"
49+ rm constraints.txt
5250 - name : Set up Python ${{ matrix.python-version }}
5351 uses : actions/setup-python@v5
5452 with :
You can’t perform that action at this time.
0 commit comments