Skip to content

Commit 9db6e55

Browse files
Update spread.yaml
1 parent 06121e8 commit 9db6e55

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

spread.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ backends:
5454
restore-each: |
5555
cd "$SPREAD_PATH"
5656
# Revert python-libjuju version override
57-
git restore pyproject.toml poetry.lock
57+
git restore pyproject.toml uv.lock
5858
5959
# Use instead of `concierge restore` to save time between tests
6060
# For example, with microk8s, using `concierge restore` takes twice as long as this (e.g. 6
@@ -116,14 +116,16 @@ prepare: |
116116
# Install charmcraft & pipx (on lxd-vm backend)
117117
concierge prepare --trace
118118
119-
pipx install tox poetry
119+
pipx install tox
120+
pipx install uv
120121
prepare-each: |
121122
cd "$SPREAD_PATH"
122123
if [[ $SPREAD_VARIANT == *"juju29"* ]]
123124
then
124125
# 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'
127129
fi
128130
# `concierge prepare` needs to be run for each spread job in case Juju version changed
129131
concierge prepare --trace

0 commit comments

Comments
 (0)