File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ backends:
54
54
restore-each : |
55
55
cd "$SPREAD_PATH"
56
56
# Revert python-libjuju version override
57
- git restore pyproject.toml poetry .lock
57
+ git restore pyproject.toml uv .lock
58
58
59
59
# Use instead of `concierge restore` to save time between tests
60
60
# For example, with microk8s, using `concierge restore` takes twice as long as this (e.g. 6
@@ -116,14 +116,16 @@ prepare: |
116
116
# Install charmcraft & pipx (on lxd-vm backend)
117
117
concierge prepare --trace
118
118
119
- pipx install tox poetry
119
+ pipx install tox
120
+ pipx install uv
120
121
prepare-each : |
121
122
cd "$SPREAD_PATH"
122
123
if [[ $SPREAD_VARIANT == *"juju29"* ]]
123
124
then
124
125
# Each version of python-libjuju is only compatible with one major Juju version
125
- # Override python-libjuju version pinned in poetry.lock
126
- poetry add --lock --group integration juju@^2
126
+ # Override python-libjuju version pinned in uv.lock
127
+ uv remove --group integration juju
128
+ uv add --group integration 'juju<3'
127
129
fi
128
130
# `concierge prepare` needs to be run for each spread job in case Juju version changed
129
131
concierge prepare --trace
You can’t perform that action at this time.
0 commit comments