Skip to content

Update docker to 6.1.0 - #130

Closed
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-docker-4.2.0-to-6.1.0
Closed

Update docker to 6.1.0#130
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-docker-4.2.0-to-6.1.0

Conversation

@pyup-bot

@pyup-bot pyup-bot commented May 7, 2023

Copy link
Copy Markdown
Collaborator

This PR updates docker from 4.2.0 to 6.1.0.

Changelog

6.0.0

-----

Upgrade Notes
- Minimum supported Python version is 3.7+
- When installing with pip, the `docker[tls]` extra is deprecated and a no-op,
use `docker` for same functionality (TLS support is always available now)
- Native Python SSH client (used by default / `use_ssh_client=False`) will now
reject unknown host keys with `paramiko.ssh_exception.SSHException`
- Short IDs are now 12 characters instead of 10 characters (same as Docker CLI)

Features
- Python 3.10 support
- Automatically negotiate most secure TLS version
- Add `platform` (e.g. `linux/amd64`, `darwin/arm64`) to container create & run
- Add support for `GlobalJob` and `ReplicatedJobs` for Swarm
- Add `remove()` method on `Image`
- Add `force` param to `disable()` on `Plugin`

Bugfixes
- Fix install issues on Windows related to `pywin32`
- Do not accept unknown SSH host keys in native Python SSH mode
- Use 12 character short IDs for consistency with Docker CLI
- Ignore trailing whitespace in `.dockerignore` files
- Fix IPv6 host parsing when explicit port specified
- Fix `ProxyCommand` option for SSH connections
- Do not spawn extra subshell when launching external SSH client
- Improve exception semantics to preserve context
- Documentation improvements (formatting, examples, typos, missing params)

Miscellaneous
- Upgrade dependencies in `requirements.txt` to latest versions
- Remove extraneous transitive dependencies
- Eliminate usages of deprecated functions/methods
- Test suite reliability improvements
- GitHub Actions workflows for linting, unit tests, integration tests, and
publishing releases

5.0.3

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/76?closed=1)

Features
- Add `cap_add` and `cap_drop` parameters to service create and ContainerSpec
- Add `templating` parameter to config create

Bugfixes
- Fix getting a read timeout for logs/attach with a tty and slow output

Miscellaneous
- Fix documentation examples

5.0.2

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/75?closed=1)

Bugfixes
- Fix `disable_buffering` regression

5.0.1

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/74?closed=1)

Bugfixes
- Bring back support for ssh identity file
- Cleanup remaining python-2 dependencies
- Fix image save example in docs

Miscellaneous
- Bump urllib3 to 1.26.5
- Bump requests to 2.26.0

5.0.0

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/70?closed=1)

Breaking changes
- Remove support for Python 2.7
- Make Python 3.6 the minimum version supported

Features
- Add `limit` parameter to image search endpoint

Bugfixes
- Fix `KeyError` exception on secret create
- Verify TLS keys loaded from docker contexts
- Update PORT_SPEC regex to allow square brackets for IPv6 addresses
- Fix containers and images documentation examples

4.4.4

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/73?closed=1)

Bugfixes
- Remove `LD_LIBRARY_PATH` and `SSL_CERT_FILE` environment variables when shelling out to the ssh client

4.4.3

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/72?closed=1)

Features
- Add support for docker.types.Placement.MaxReplicas

Bugfixes
- Fix SSH port parsing when shelling out to the ssh client

4.4.2

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/71?closed=1)

Bugfixes
- Fix SSH connection bug where the hostname was incorrectly trimmed and the error was hidden
- Fix docs example

Miscellaneous
- Add Python3.8 and 3.9 in setup.py classifier list

4.4.1

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/69?closed=1)

Bugfixes
- Avoid setting unsuported parameter for subprocess.Popen on Windows
- Replace use of deprecated "filter" argument on ""docker/api/image"

4.4.0

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/67?closed=1)

Features
- Add an alternative SSH connection to the paramiko one, based on shelling out to the SSh client. Similar to the behaviour of Docker cli
- Default image tag to `latest` on `pull`

Bugfixes
- Fix plugin model upgrade
- Fix examples URL in ulimits

Miscellaneous
- Improve exception messages for server and client errors
- Bump cryptography from 2.3 to 3.2

4.3.1

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/68?closed=1)

Miscellaneous
- Set default API version to `auto`
- Fix conversion to bytes for `float`
- Support OpenSSH `identityfile` option

4.3.0

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/64?closed=1)

Features
- Add `DeviceRequest` type to expose host resources such as GPUs
- Add support for `DriverOpts` in EndpointConfig
- Disable compression by default when using container.get_archive method

Miscellaneous
- Update default API version to v1.39
- Update test engine version to 19.03.12

4.2.2

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/66?closed=1)

Bugfixes

- Fix context load for non-docker endpoints

4.2.1

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/65?closed=1)

Features

- Add option on when to use `tls` on Context constructor
- Make context orchestrator field optional
Links

@pyup-bot pyup-bot mentioned this pull request May 7, 2023
@pyup-bot

pyup-bot commented Dec 8, 2023

Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #155

@pyup-bot pyup-bot closed this Dec 8, 2023
@nilakshdas
nilakshdas deleted the pyup-update-docker-4.2.0-to-6.1.0 branch December 8, 2023 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant