docker/docker-py (docker)
### [`v7.0.0`](https://togithub.com/docker/docker-py/releases/tag/7.0.0)
[Compare Source](https://togithub.com/docker/docker-py/compare/6.1.3...7.0.0)
#### Upgrade Notes (from 6.x) ⚠️
- Removed SSL version (`ssl_version`) and explicit hostname check (`assert_hostname`) options ([#3185](https://togithub.com/docker/docker-py/issues/3185))
- `assert_hostname` has not been used since Python 3.6 and was removed in 3.12
- Python 3.7+ supports TLSv1.3 by default
- Websocket support is no longer included by default ([#3123](https://togithub.com/docker/docker-py/issues/3123))
- Use `pip install docker[websockets]` to include `websocket-client` dependency
- By default, `docker-py` hijacks the TCP connection and does not use Websockets
- Websocket client is only required to use `attach_socket(container, ws=True)`
- Python 3.7 no longer supported (reached end-of-life June 2023) ([#3187](https://togithub.com/docker/docker-py/issues/3187))
#### Features ✨
- Python 3.12 support ([#3185](https://togithub.com/docker/docker-py/issues/3185))
- Full `networking_config` support for `containers.create()` ([#3121](https://togithub.com/docker/docker-py/issues/3121))
- Replaces `network_driver_opt` (added in 6.1.0)
- Add `health()` property to container that returns status (e.g. `unhealthy`) ([#3147](https://togithub.com/docker/docker-py/issues/3147))
- Add `pause` option to `container.commit()` ([#3159](https://togithub.com/docker/docker-py/issues/3159))
- Add support for bind mount propagation (e.g. `rshared`, `private`) ([#3164](https://togithub.com/docker/docker-py/issues/3164))
- Add support for `filters`, `keep_storage`, and `all` in `prune_builds()` on API v1.39+ ([#3192](https://togithub.com/docker/docker-py/issues/3192))
#### Bugfixes 🐛
- Consistently return `docker.errors.NotFound` on 404 responses ([#3156](https://togithub.com/docker/docker-py/issues/3156))
- Validate tag format before push ([#3191](https://togithub.com/docker/docker-py/issues/3191))
##### Miscellaneous 🔧
- Upgraded urllib3 version in `requirements.txt` (used for development/tests) ([#3183](https://togithub.com/docker/docker-py/issues/3183))
- Documentation typo fixes & formatting improvements ([#3130](https://togithub.com/docker/docker-py/issues/3130))
- Fixed integration test compatibility for newer Moby engine versions ([#3165](https://togithub.com/docker/docker-py/issues/3165), [#3166](https://togithub.com/docker/docker-py/issues/3166), [#3145](https://togithub.com/docker/docker-py/issues/3145), [#3169](https://togithub.com/docker/docker-py/issues/3169), [#3170](https://togithub.com/docker/docker-py/issues/3170))
- Switch to [ruff](https://togithub.com/astral-sh/ruff) for linting ([#3126](https://togithub.com/docker/docker-py/issues/3126))
#### What's Changed
- fix user_guides/multiplex.rst by [@Longin-Yu](https://togithub.com/Longin-Yu) in [https://github.com/docker/docker-py/pull/3130](https://togithub.com/docker/docker-py/pull/3130)
- tests/integration: fix flake8 failures (E721 do not compare types), and fix Dockerfile for debian "bookworm" by [@thaJeztah](https://togithub.com/thaJeztah) in [https://github.com/docker/docker-py/pull/3166](https://togithub.com/docker/docker-py/pull/3166)
- tests/integration: update some tests for updated error-messages by [@thaJeztah](https://togithub.com/thaJeztah) in [https://github.com/docker/docker-py/pull/3165](https://togithub.com/docker/docker-py/pull/3165)
- README: fix link for CI status badge by [@thaJeztah](https://togithub.com/thaJeztah) in [https://github.com/docker/docker-py/pull/3167](https://togithub.com/docker/docker-py/pull/3167)
- fix: use response.text to get string rather than bytes by [@mndeveci](https://togithub.com/mndeveci) in [https://github.com/docker/docker-py/pull/3156](https://togithub.com/docker/docker-py/pull/3156)
- feat: add pause option to commit api by [@VincentLeeMax](https://togithub.com/VincentLeeMax) in [https://github.com/docker/docker-py/pull/3159](https://togithub.com/docker/docker-py/pull/3159)
- build(deps): Bump requests from 2.28.1 to 2.31.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/docker/docker-py/pull/3136](https://togithub.com/docker/docker-py/pull/3136)
- test: remove APT_MIRROR from Dockerfile by [@thaJeztah](https://togithub.com/thaJeztah) in [https://github.com/docker/docker-py/pull/3145](https://togithub.com/docker/docker-py/pull/3145)
- Switch linting to ruff, use f-strings, fix lint errors and possible bugs by [@akx](https://togithub.com/akx) in [https://github.com/docker/docker-py/pull/3126](https://togithub.com/docker/docker-py/pull/3126)
- integration: Fix bad subnet declaration by [@akerouanton](https://togithub.com/akerouanton) in [https://github.com/docker/docker-py/pull/3169](https://togithub.com/docker/docker-py/pull/3169)
- integration: Remove test_create_check_duplicate by [@akerouanton](https://togithub.com/akerouanton) in [https://github.com/docker/docker-py/pull/3170](https://togithub.com/docker/docker-py/pull/3170)
- Support all `Network.connect` parameters in `client.containers.run` and `client.containers.create` by [@Skazza94](https://togithub.com/Skazza94) in [https://github.com/docker/docker-py/pull/3121](https://togithub.com/docker/docker-py/pull/3121)
- feat: move websocket-client to extra dependency by [@akx](https://togithub.com/akx) in [https://github.com/docker/docker-py/pull/3123](https://togithub.com/docker/docker-py/pull/3123)
- Add health property to Containers model by [@TurnrDev](https://togithub.com/TurnrDev) in [https://github.com/docker/docker-py/pull/3147](https://togithub.com/docker/docker-py/pull/3147)
- build(deps): Bump urllib3 from 1.26.11 to 1.26.18 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/docker/docker-py/pull/3183](https://togithub.com/docker/docker-py/pull/3183)
- breaking: Python 3.12 compatibility & remove custom SSL adapter by [@milas](https://togithub.com/milas) in [https://github.com/docker/docker-py/pull/3185](https://togithub.com/docker/docker-py/pull/3185)
- chore: add changelog for 7.0.0 by [@milas](https://togithub.com/milas) in [https://github.com/docker/docker-py/pull/3186](https://togithub.com/docker/docker-py/pull/3186)
- chore: remove support for Python 3.7 by [@milas](https://togithub.com/milas) in [https://github.com/docker/docker-py/pull/3187](https://togithub.com/docker/docker-py/pull/3187)
- chore: update MAINTAINERS and remove CODEOWNERS by [@milas](https://togithub.com/milas) in [https://github.com/docker/docker-py/pull/3188](https://togithub.com/docker/docker-py/pull/3188)
- chore: fix missing setuptools in CI by [@milas](https://togithub.com/milas) in [https://github.com/docker/docker-py/pull/3189](https://togithub.com/docker/docker-py/pull/3189)
- Fix [#3153](https://togithub.com/docker/docker-py/issues/3153) - Validate tag before build using OCI regex by [@LombardiDaniel](https://togithub.com/LombardiDaniel) in [https://github.com/docker/docker-py/pull/3191](https://togithub.com/docker/docker-py/pull/3191)
- feat: accept filters and keep_storage in prune_builds by [@emranbm](https://togithub.com/emranbm) in [https://github.com/docker/docker-py/pull/3192](https://togithub.com/docker/docker-py/pull/3192)
- chore: update changelog and maintainer by [@milas](https://togithub.com/milas) in [https://github.com/docker/docker-py/pull/3193](https://togithub.com/docker/docker-py/pull/3193)
#### New Contributors
- [@Longin-Yu](https://togithub.com/Longin-Yu) made their first contribution in [https://github.com/docker/docker-py/pull/3130](https://togithub.com/docker/docker-py/pull/3130)
- [@mndeveci](https://togithub.com/mndeveci) made their first contribution in [https://github.com/docker/docker-py/pull/3156](https://togithub.com/docker/docker-py/pull/3156)
- [@VincentLeeMax](https://togithub.com/VincentLeeMax) made their first contribution in [https://github.com/docker/docker-py/pull/3159](https://togithub.com/docker/docker-py/pull/3159)
- [@akerouanton](https://togithub.com/akerouanton) made their first contribution in [https://github.com/docker/docker-py/pull/3169](https://togithub.com/docker/docker-py/pull/3169)
- [@TurnrDev](https://togithub.com/TurnrDev) made their first contribution in [https://github.com/docker/docker-py/pull/3147](https://togithub.com/docker/docker-py/pull/3147)
- [@LombardiDaniel](https://togithub.com/LombardiDaniel) made their first contribution in [https://github.com/docker/docker-py/pull/3191](https://togithub.com/docker/docker-py/pull/3191)
- [@emranbm](https://togithub.com/emranbm) made their first contribution in [https://github.com/docker/docker-py/pull/3192](https://togithub.com/docker/docker-py/pull/3192)
**Full Changelog**: https://github.com/docker/docker-py/compare/6.1.3...7.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==6.1.3
->==7.0.0
Release Notes
docker/docker-py (docker)
### [`v7.0.0`](https://togithub.com/docker/docker-py/releases/tag/7.0.0) [Compare Source](https://togithub.com/docker/docker-py/compare/6.1.3...7.0.0) #### Upgrade Notes (from 6.x) ⚠️ - Removed SSL version (`ssl_version`) and explicit hostname check (`assert_hostname`) options ([#3185](https://togithub.com/docker/docker-py/issues/3185)) - `assert_hostname` has not been used since Python 3.6 and was removed in 3.12 - Python 3.7+ supports TLSv1.3 by default - Websocket support is no longer included by default ([#3123](https://togithub.com/docker/docker-py/issues/3123)) - Use `pip install docker[websockets]` to include `websocket-client` dependency - By default, `docker-py` hijacks the TCP connection and does not use Websockets - Websocket client is only required to use `attach_socket(container, ws=True)` - Python 3.7 no longer supported (reached end-of-life June 2023) ([#3187](https://togithub.com/docker/docker-py/issues/3187)) #### Features ✨ - Python 3.12 support ([#3185](https://togithub.com/docker/docker-py/issues/3185)) - Full `networking_config` support for `containers.create()` ([#3121](https://togithub.com/docker/docker-py/issues/3121)) - Replaces `network_driver_opt` (added in 6.1.0) - Add `health()` property to container that returns status (e.g. `unhealthy`) ([#3147](https://togithub.com/docker/docker-py/issues/3147)) - Add `pause` option to `container.commit()` ([#3159](https://togithub.com/docker/docker-py/issues/3159)) - Add support for bind mount propagation (e.g. `rshared`, `private`) ([#3164](https://togithub.com/docker/docker-py/issues/3164)) - Add support for `filters`, `keep_storage`, and `all` in `prune_builds()` on API v1.39+ ([#3192](https://togithub.com/docker/docker-py/issues/3192)) #### Bugfixes 🐛 - Consistently return `docker.errors.NotFound` on 404 responses ([#3156](https://togithub.com/docker/docker-py/issues/3156)) - Validate tag format before push ([#3191](https://togithub.com/docker/docker-py/issues/3191)) ##### Miscellaneous 🔧 - Upgraded urllib3 version in `requirements.txt` (used for development/tests) ([#3183](https://togithub.com/docker/docker-py/issues/3183)) - Documentation typo fixes & formatting improvements ([#3130](https://togithub.com/docker/docker-py/issues/3130)) - Fixed integration test compatibility for newer Moby engine versions ([#3165](https://togithub.com/docker/docker-py/issues/3165), [#3166](https://togithub.com/docker/docker-py/issues/3166), [#3145](https://togithub.com/docker/docker-py/issues/3145), [#3169](https://togithub.com/docker/docker-py/issues/3169), [#3170](https://togithub.com/docker/docker-py/issues/3170)) - Switch to [ruff](https://togithub.com/astral-sh/ruff) for linting ([#3126](https://togithub.com/docker/docker-py/issues/3126)) #### What's Changed - fix user_guides/multiplex.rst by [@Longin-Yu](https://togithub.com/Longin-Yu) in [https://github.com/docker/docker-py/pull/3130](https://togithub.com/docker/docker-py/pull/3130) - tests/integration: fix flake8 failures (E721 do not compare types), and fix Dockerfile for debian "bookworm" by [@thaJeztah](https://togithub.com/thaJeztah) in [https://github.com/docker/docker-py/pull/3166](https://togithub.com/docker/docker-py/pull/3166) - tests/integration: update some tests for updated error-messages by [@thaJeztah](https://togithub.com/thaJeztah) in [https://github.com/docker/docker-py/pull/3165](https://togithub.com/docker/docker-py/pull/3165) - README: fix link for CI status badge by [@thaJeztah](https://togithub.com/thaJeztah) in [https://github.com/docker/docker-py/pull/3167](https://togithub.com/docker/docker-py/pull/3167) - fix: use response.text to get string rather than bytes by [@mndeveci](https://togithub.com/mndeveci) in [https://github.com/docker/docker-py/pull/3156](https://togithub.com/docker/docker-py/pull/3156) - feat: add pause option to commit api by [@VincentLeeMax](https://togithub.com/VincentLeeMax) in [https://github.com/docker/docker-py/pull/3159](https://togithub.com/docker/docker-py/pull/3159) - build(deps): Bump requests from 2.28.1 to 2.31.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/docker/docker-py/pull/3136](https://togithub.com/docker/docker-py/pull/3136) - test: remove APT_MIRROR from Dockerfile by [@thaJeztah](https://togithub.com/thaJeztah) in [https://github.com/docker/docker-py/pull/3145](https://togithub.com/docker/docker-py/pull/3145) - Switch linting to ruff, use f-strings, fix lint errors and possible bugs by [@akx](https://togithub.com/akx) in [https://github.com/docker/docker-py/pull/3126](https://togithub.com/docker/docker-py/pull/3126) - integration: Fix bad subnet declaration by [@akerouanton](https://togithub.com/akerouanton) in [https://github.com/docker/docker-py/pull/3169](https://togithub.com/docker/docker-py/pull/3169) - integration: Remove test_create_check_duplicate by [@akerouanton](https://togithub.com/akerouanton) in [https://github.com/docker/docker-py/pull/3170](https://togithub.com/docker/docker-py/pull/3170) - Support all `Network.connect` parameters in `client.containers.run` and `client.containers.create` by [@Skazza94](https://togithub.com/Skazza94) in [https://github.com/docker/docker-py/pull/3121](https://togithub.com/docker/docker-py/pull/3121) - feat: move websocket-client to extra dependency by [@akx](https://togithub.com/akx) in [https://github.com/docker/docker-py/pull/3123](https://togithub.com/docker/docker-py/pull/3123) - Add health property to Containers model by [@TurnrDev](https://togithub.com/TurnrDev) in [https://github.com/docker/docker-py/pull/3147](https://togithub.com/docker/docker-py/pull/3147) - build(deps): Bump urllib3 from 1.26.11 to 1.26.18 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/docker/docker-py/pull/3183](https://togithub.com/docker/docker-py/pull/3183) - breaking: Python 3.12 compatibility & remove custom SSL adapter by [@milas](https://togithub.com/milas) in [https://github.com/docker/docker-py/pull/3185](https://togithub.com/docker/docker-py/pull/3185) - chore: add changelog for 7.0.0 by [@milas](https://togithub.com/milas) in [https://github.com/docker/docker-py/pull/3186](https://togithub.com/docker/docker-py/pull/3186) - chore: remove support for Python 3.7 by [@milas](https://togithub.com/milas) in [https://github.com/docker/docker-py/pull/3187](https://togithub.com/docker/docker-py/pull/3187) - chore: update MAINTAINERS and remove CODEOWNERS by [@milas](https://togithub.com/milas) in [https://github.com/docker/docker-py/pull/3188](https://togithub.com/docker/docker-py/pull/3188) - chore: fix missing setuptools in CI by [@milas](https://togithub.com/milas) in [https://github.com/docker/docker-py/pull/3189](https://togithub.com/docker/docker-py/pull/3189) - Fix [#3153](https://togithub.com/docker/docker-py/issues/3153) - Validate tag before build using OCI regex by [@LombardiDaniel](https://togithub.com/LombardiDaniel) in [https://github.com/docker/docker-py/pull/3191](https://togithub.com/docker/docker-py/pull/3191) - feat: accept filters and keep_storage in prune_builds by [@emranbm](https://togithub.com/emranbm) in [https://github.com/docker/docker-py/pull/3192](https://togithub.com/docker/docker-py/pull/3192) - chore: update changelog and maintainer by [@milas](https://togithub.com/milas) in [https://github.com/docker/docker-py/pull/3193](https://togithub.com/docker/docker-py/pull/3193) #### New Contributors - [@Longin-Yu](https://togithub.com/Longin-Yu) made their first contribution in [https://github.com/docker/docker-py/pull/3130](https://togithub.com/docker/docker-py/pull/3130) - [@mndeveci](https://togithub.com/mndeveci) made their first contribution in [https://github.com/docker/docker-py/pull/3156](https://togithub.com/docker/docker-py/pull/3156) - [@VincentLeeMax](https://togithub.com/VincentLeeMax) made their first contribution in [https://github.com/docker/docker-py/pull/3159](https://togithub.com/docker/docker-py/pull/3159) - [@akerouanton](https://togithub.com/akerouanton) made their first contribution in [https://github.com/docker/docker-py/pull/3169](https://togithub.com/docker/docker-py/pull/3169) - [@TurnrDev](https://togithub.com/TurnrDev) made their first contribution in [https://github.com/docker/docker-py/pull/3147](https://togithub.com/docker/docker-py/pull/3147) - [@LombardiDaniel](https://togithub.com/LombardiDaniel) made their first contribution in [https://github.com/docker/docker-py/pull/3191](https://togithub.com/docker/docker-py/pull/3191) - [@emranbm](https://togithub.com/emranbm) made their first contribution in [https://github.com/docker/docker-py/pull/3192](https://togithub.com/docker/docker-py/pull/3192) **Full Changelog**: https://github.com/docker/docker-py/compare/6.1.3...7.0.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.