Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add support for injecting the latest ops when uv is used (canonic…
…al#1477) When `uv` is used (as with self-signed-certificates-operator), the published-charms-tests workflow doesn't know how to inject the latest version of ops (there's no requirements.txt file). This PR updates the workflow to look for `uv.lock` and if it exists then it uses `uv` to change the `ops` source in `pyproject.toml`. self-signed-certificates-operator doesn't use `uv` to do the install in `tox` so we have to modify the raw sources list rather than have it be uv-specific. However, this should work even for projects that do, since the raw list is the originator of the dependencies - we might need to re-lock if other projects handle this differently, but we don't for now, so I've avoided that. I've tested this manually, and have it manually against the branch (where it did install ops from my branch).
- Loading branch information