|
54 | 54 | - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 |
55 | 55 | with: |
56 | 56 | python-version-file: '.python-version' |
| 57 | + - # Workaround (hopefully temporary) issue with Poetry and virtualenv: |
| 58 | + # - https://github.com/pypa/virtualenv/issues/2931 |
| 59 | + # - https://github.com/python-poetry/poetry/issues/10490 |
| 60 | + # - https://github.com/actions/setup-python/issues/1167 |
| 61 | + run: pip install virtualenv==20.32 |
57 | 62 | - run: pipx install poetry~=2.0 |
58 | 63 | - run: poetry install |
59 | 64 | - run: poetry run mypy . |
|
69 | 74 | - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 |
70 | 75 | with: |
71 | 76 | python-version-file: '.python-version' |
| 77 | + - # Workaround (hopefully temporary) issue with Poetry and virtualenv: |
| 78 | + # - https://github.com/pypa/virtualenv/issues/2931 |
| 79 | + # - https://github.com/python-poetry/poetry/issues/10490 |
| 80 | + # - https://github.com/actions/setup-python/issues/1167 |
| 81 | + run: pip install virtualenv==20.32 |
72 | 82 | - run: pipx install poetry~=2.0 |
73 | 83 | - run: poetry install |
74 | 84 | - run: poetry run pytest |
|
84 | 94 | - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 |
85 | 95 | with: |
86 | 96 | python-version-file: '.python-version' |
| 97 | + - # Workaround (hopefully temporary) issue with Poetry and virtualenv: |
| 98 | + # - https://github.com/pypa/virtualenv/issues/2931 |
| 99 | + # - https://github.com/python-poetry/poetry/issues/10490 |
| 100 | + # - https://github.com/actions/setup-python/issues/1167 |
| 101 | + run: pip install virtualenv==20.32 |
87 | 102 | - run: pipx install poetry~=2.0 |
88 | 103 | - run: poetry install |
89 | 104 | - run: poetry run scripts/validate_advisories.py |
|
0 commit comments