Python-on-whales

Latest version: v0.74.0

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

Scan your dependencies

Page 1 of 16

0.74.0

Important breaking change:

The `python-on-whales` command is not available anymore, meaning that you cannot download the docker client binary automatically.
You need to install it yourself by using the Docker installation guide: https://docs.docker.com/engine/install/ . Note that you need only the client, you can skip the installation of the full docker engine. For example, on Ubuntu, that means you just need to do

sudo apt-get install docker-ce-cli docker-buildx-plugin docker-compose-plugin


instead of

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin


What's Changed
* Fix breakage of `ContainerCLI.create(env_files=path)` by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/637
* Remove download docker client functionality by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/633
* Update docs references to download-cli by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/639
* Display an error message if using the `python-on-whales` command by gabrieldemarmiesse in https://github.com/gabrieldemarmiesse/python-on-whales/pull/640
* Set `defer_build=True` pydantic config, improving import time significantly by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/643
* Add podman `is_infra` and `namespace` fields to `Container` object by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/641
* Fix Pod property type annotations to allow for missing fields in inspect output by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/648




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

0.73.0

What's Changed
* :bug: Fix wrong links in `docker_client.md` by gabrieldemarmiesse in https://github.com/gabrieldemarmiesse/python-on-whales/pull/613
* Add bootstrap cli flag for create/inspect by fizzgig1888 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/600
* Add support for 'podman container init' by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/615
* Replace isort, black and flake8 with ruff by einarwar in https://github.com/gabrieldemarmiesse/python-on-whales/pull/617
* Add Tuple[Union[str, int]] to ValidPortMapping by eclark0426 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/619
* Fix handling of 'podman pod create --share=...' by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/620
* Allow for multiple env-files by einarwar in https://github.com/gabrieldemarmiesse/python-on-whales/pull/616
* Fix "Render docs" CI job by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/628
* Drop support for pydantic v1 by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/630
* add auto/light/dark mode for docs by s-light in https://github.com/gabrieldemarmiesse/python-on-whales/pull/625
* Update pod component to use generic Iterable and Mapping types by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/599
* Update container component to accept args as Iterable and Mapping by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/627
* added missing docstrings for docker.network.inspect(), docker.network.list(), docker.network.prune() by stock90975 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/631
* Add "network exists" command by eclark0426 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/632

New Contributors
* fizzgig1888 made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/600
* eclark0426 made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/619
* s-light made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/625
* stock90975 made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/631

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

0.72.0

What's Changed
* Fix links in images objects docs. by valberg in https://github.com/gabrieldemarmiesse/python-on-whales/pull/582
* Change DockerException message to remove mention of "docker" by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/585
* fix: wheel includes tests and docs by betaboon in https://github.com/gabrieldemarmiesse/python-on-whales/pull/586
* Allow `podman exec` with `--interactive` and no `--tty` by jhc4318 in https://github.com/gabrieldemarmiesse/python-on-whales/pull/583
* Fix documentation and docstring issues by pcharmoille in https://github.com/gabrieldemarmiesse/python-on-whales/pull/589
* Add support for 'docker version' and 'podman version' by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/593
* Set up command construction to support generic iterables and mappings by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/595
* Implement support for podman pods by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/544
* Make the test_cpus() testcase non-strict xfail for podman by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/597
* Fix merge issue in CONTRIBUTING.md by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/604
* Fix test_save_load() testcase to handle the case an image has multiple tags by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/596
* Replace unrecognised unicode characters rather than raising an exception by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/607
* Support generic iterables and mappings in the image component by LewisGaul in https://github.com/gabrieldemarmiesse/python-on-whales/pull/598
* :writing_hand: Made the arguments part prettier in docs by gabrieldemarmiesse in https://github.com/gabrieldemarmiesse/python-on-whales/pull/610
* Add test for rendering of docs by gabrieldemarmiesse in https://github.com/gabrieldemarmiesse/python-on-whales/pull/611

New Contributors
* valberg made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/582
* pcharmoille made their first contribution in https://github.com/gabrieldemarmiesse/python-on-whales/pull/589

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

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

Page 1 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.