Python-on-whales

Latest version: v0.71.0

Safety actively analyzes 623657 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 15

0.71.0

What's Changed
* Add stream output for pruning by anesmemisevic in https://github.com/gabrieldemarmiesse/python-on-whales/pull/566
* Improve typing for `DockerClient.compose.config` by einarwar in https://github.com/gabrieldemarmiesse/python-on-whales/pull/572
* Function docker.compose.down does not accept optional list of service names 570 by MisterOwlPT in https://github.com/gabrieldemarmiesse/python-on-whales/pull/571
* Fix time argument formatting to include time zone by kamalmarhubi in https://github.com/gabrieldemarmiesse/python-on-whales/pull/574
* feat: Add `--wait-timeout` option for `docker.compose.up` by Taragolis in https://github.com/gabrieldemarmiesse/python-on-whales/pull/573
* Emit a `DeprecationWarning` when downloading the docker client by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/577
* Support podman's `--preserve-fds` arg to container run/exec by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/576
* Added timezone argument to run and create by tjd78 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/579
* Docker Buildx Pruning Logs Streaming by anesmemisevic in https://github.com/gabrieldemarmiesse/python-on-whales/pull/578

New Contributors
* kamalmarhubi made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/574
* Taragolis made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/573
* tjd78 made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/579

**Full Changelog**: https://github.com/gabrieldemarmiesse/python-on-whales/compare/v0.70.1...v0.71.0

0.70.1

What's Changed
* fix repr return for Tasks by anesmemisevic in https://github.com/gabrieldemarmiesse/python-on-whales/pull/565
* :bug: Fix docker.buildx.list() for buildx 0.13 by gabrieldemarmiesse in https://github.com/gabrieldemarmiesse/python-on-whales/pull/568

New Contributors
* anesmemisevic made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/565

**Full Changelog**: https://github.com/gabrieldemarmiesse/python-on-whales/compare/v0.70.0...v0.70.1

0.70.0

This update contains (hopefully) all fixes for the breaking changes introduced in `docker compose v2.24.7`. If you still encounter issues, file a issue here and downgrade docker compose to v2.24.6 in the meantime.

What's Changed
* Add `detach_keys` argument for `start` and `exec` by jhc4318 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/554
* Fix`podman.image.exists` by jhc4318 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/558
* :sparkles: docker.compose.down() can take str as service arg by gabrieldemarmiesse in https://github.com/gabrieldemarmiesse/python-on-whales/pull/562
* feat(service): Add docker service ls --filter option by fuentes73 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/561
* :bug: Fix parsing of compose file configs with compose v2.24.7 by gabrieldemarmiesse in https://github.com/gabrieldemarmiesse/python-on-whales/pull/563

New Contributors
* jhc4318 made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/554

**Full Changelog**: https://github.com/gabrieldemarmiesse/python-on-whales/compare/v0.69.0...v0.70.0

0.69.0

What's Changed
Since this is a big release, I'll only put here the commits which have an impact on end users and remove internal refactoring.

* 518 Add platform option for pull by d4nj1 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/519
* :sparkles: Added argument `client_type` to add custom logic later by gabrieldemarmiesse in https://github.com/gabrieldemarmiesse/python-on-whales/pull/524
* Add missing tty and interactive flags to container create and start by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/545
* Fixed pydantic error on service model by jonakarl in https://github.com/gabrieldemarmiesse/python-on-whales/pull/548
* add `platforms` parameter to `buildx.create` by emalihin in https://github.com/gabrieldemarmiesse/python-on-whales/pull/541
* Add support for podman `--env-host` flag when creating containers by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/551

New Contributors
* jonakarl made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/548
* emalihin made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/541

**Full Changelog**: https://github.com/gabrieldemarmiesse/python-on-whales/compare/v0.68.0...v0.69.0

0.68.0

What's Changed
* Error docker.execute with str by kashyab12 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/501
* ✨ Added stream_logs to docker.compose.up() by HemaZ in https://github.com/gabrieldemarmiesse/python-on-whales/pull/505
* ✨ Added stream_logs to docker.compose.stop() by HemaZ in https://github.com/gabrieldemarmiesse/python-on-whales/pull/507
* ✨ Added stream_logs to docker.compose.start() by HemaZ in https://github.com/gabrieldemarmiesse/python-on-whales/pull/508
* service create args: network,restart,secrets by fuentes73 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/511
* feat(service): Add --mount arg && update --replicas by fuentes73 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/514


**Full Changelog**: https://github.com/gabrieldemarmiesse/python-on-whales/compare/v0.67.0...v0.68.0

0.67.0

This release is the first where we'll slowly force some arguments to be positional only or keyword only. This is to ensure we have the flexibility in the future to change functions signatures without breaking people's code. Also that will make the user's code cleaner and less error prone.

If you get errors that look like "function xxxx take 2 positional arguments but recieved 4" then it's that we enforced the way to pass arguments. Double check the function signature in your documentation and IDE, it should be just a matter of specifying the argument name or not. Open an issue if you're having trouble.

In practice we don't expect much code to break, that seems unlikely.

If you're looking for some ressources:
* https://github.com/gabrieldemarmiesse/python-on-whales/issues/495
* https://docs.python.org/3/tutorial/controlflow.html#special-parameters

What's Changed
* Add platform variant to image inspect by d4nj1 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/492
* :sparkles: Allow the streaming of the docker.compose.build logs by gabrieldemarmiesse in https://github.com/gabrieldemarmiesse/python-on-whales/pull/494
* Allow the streaming of the docker.compose.pull logs by HemaZ in https://github.com/gabrieldemarmiesse/python-on-whales/pull/497
* :sparkles: Add stream_logs to docker.compose.down() by gabrieldemarmiesse in https://github.com/gabrieldemarmiesse/python-on-whales/pull/496
* :sparkles: Added stream_logs to docker.compose.create() by gabrieldemarmiesse in https://github.com/gabrieldemarmiesse/python-on-whales/pull/498
* :broom: Make some arguments positional only or kwd only by gabrieldemarmiesse in https://github.com/gabrieldemarmiesse/python-on-whales/pull/500

New Contributors
* d4nj1 made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/492
* HemaZ made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/497

**Full Changelog**: https://github.com/gabrieldemarmiesse/python-on-whales/compare/v0.66.0...v0.67.0

Page 1 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.