@@ -21,14 +21,10 @@ jobs:
2121 uses : actions/setup-python@v5
2222 with :
2323 python-version : 3.11
24- - name : install-poetry
25- uses : snok/install-poetry@v1
26- with :
27- version : 1.4.0
28- virtualenvs-in-project : false
29- virtualenvs-path : ~/.virtualenvs
3024 - name : poetry install
31- run : poetry install --all-extras
25+ run : |
26+ python -m pip install "poetry~=2.2.1"
27+ poetry install --all-extras
3228 - name : run isort and black
3329 run : |
3430 poetry run isort . --check
@@ -91,14 +87,10 @@ jobs:
9187 uses : actions/setup-python@v5
9288 with :
9389 python-version : ${{ matrix.python-version }}
94- - name : install-poetry
95- uses : snok/install-poetry@v1
96- with :
97- version : 1.4.0
98- virtualenvs-in-project : false
99- virtualenvs-path : ~/.virtualenvs
10090 - name : poetry install
101- run : poetry install --all-extras
91+ run : |
92+ python -m pip install "poetry~=2.2.1"
93+ poetry install --all-extras
10294 - name : install pytest-xdist for parallel tests
10395 run : poetry run pip install pytest-xdist
10496 - name : integration tests
@@ -131,14 +123,10 @@ jobs:
131123 uses : actions/setup-python@v5
132124 with :
133125 python-version : ${{ matrix.python-version }}
134- - name : install-poetry
135- uses : snok/install-poetry@v1
136- with :
137- version : 1.4.0
138- virtualenvs-in-project : false
139- virtualenvs-path : ~/.virtualenvs
140126 - name : poetry install
141- run : poetry install --all-extras
127+ run : |
128+ python -m pip install "poetry~=2.2.1"
129+ poetry install --all-extras
142130 - name : install pytest-xdist for parallel tests
143131 run : poetry run pip install pytest-xdist
144132 - name : library tests
0 commit comments