Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Docker-py hasn't had a commit in a very long time and appears to be being dropped by docker docker/docker-py#2989.
The relevance to us is that docker-py generates a bunch of internal deprecation warnings that have had PRs available to be merged for a very long time, but haven't been being merged.
https://gabrieldemarmiesse.github.io/python-on-whales/ appears to be an alternative library which avoid reimplementing the docker client functionality, which makes it much simpler, and presumably less likely to cause maintenance issues (such as those warnings).
The risk seems pretty low, given how small a portion of the api surface we use; so it should be trivial to switch back if this becomes a problem, or docker-py gets resumed maintenance and we decide it's better than python-on-whales for any reason
fixes #156