Repository navigation
Commit 7091b92
committed
ci: use uv to install poetry in CI workflow
Mirror of esphome/aioesphomeapi#1650 for python-zeroconf.
Replace the `pipx install poetry` step in the test matrix and the
`snok/install-poetry` action in the benchmarks job with
`astral-sh/[email protected]` followed by `uv tool install poetry`.
`setup-python`'s `cache: "poetry"` continues to cache the per-job
virtualenv keyed off `poetry.lock`; the change is strictly in how
poetry itself gets onto PATH.
`uv tool install poetry` provisions poetry far faster than
`pipx install poetry`, and `setup-uv`'s `enable-cache: true`
covers subsequent wheel fetches. Effect is per-job, so it
compounds across the test matrix (CPython 3.9-3.14, 3.14t,
PyPy 3.9/3.10 over Linux/macOS/Windows).
No production code is touched.1 parent 72a0152 commit 7091b92
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
72 | 76 | | |
73 | | - | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| |||
102 | 106 | | |
103 | 107 | | |
104 | 108 | | |
105 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
106 | 115 | | |
107 | 116 | | |
108 | 117 | | |
| |||
0 commit comments