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.
This PR contains the following updates:
>=3.7,<3.8
->>=7.1.0,<7.2
Release Notes
docker/docker-py (docker)
v7.1.0
Compare Source
Upgrade Notes
Bugfixes
invalid tag format
errorsConfigCollection
), which failed with aKeyError
due to thename
fielddocker-py
by applying the suggested fixMiscellaneous
setup-python
github actionContainer
andContainerConfig
)NetworkSettings.Networks.<network>.Aliases
due to engine changesWhat's Changed
packaging
dependency by @akx in https://github.com/docker/docker-py/pull/3205hatchling
andhatch-vcs
by @akx in https://github.com/docker/docker-py/pull/3207container.logs()
by @BobDu in https://github.com/docker/docker-py/pull/2240New Contributors
Full Changelog: docker/docker-py@7.0.0...7.1.0
v7.0.0
Compare Source
Upgrade Notes (from 6.x)⚠️
ssl_version
) and explicit hostname check (assert_hostname
) options (#3185)assert_hostname
has not been used since Python 3.6 and was removed in 3.12pip install docker[websockets]
to includewebsocket-client
dependencydocker-py
hijacks the TCP connection and does not use Websocketsattach_socket(container, ws=True)
Features ✨
networking_config
support forcontainers.create()
(#3121)network_driver_opt
(added in 6.1.0)health()
property to container that returns status (e.g.unhealthy
) (#3147)pause
option tocontainer.commit()
(#3159)rshared
,private
) (#3164)filters
,keep_storage
, andall
inprune_builds()
on API v1.39+ (#3192)Bugfixes 🐛
docker.errors.NotFound
on 404 responses (#3156)Miscellaneous 🔧
requirements.txt
(used for development/tests) (#3183)What's Changed
Network.connect
parameters inclient.containers.run
andclient.containers.create
by @Skazza94 in https://github.com/docker/docker-py/pull/3121New Contributors
Full Changelog: docker/docker-py@6.1.3...7.0.0
v6.1.3
Compare Source
🐛 Bugfixes
What's Changed
New Contributors
Full Changelog: docker/docker-py@6.1.2...6.1.3
v6.1.2
Compare Source
🐛 Bugfixes
docker exec
calls (#3125)timeout
param on Windows (#3112)Full Changelog
New Contributors
Full Changelog: docker/docker-py@6.1.1...6.1.2
v6.1.1
Compare Source
ℹ️ Upgrade Notes (6.1.x)
🐛 Bugfixes
containers.stats()
hanging withstream=True
containers.diff()
methodWhat's Changed
diff
method by @john-b-yang in https://github.com/docker/docker-py/pull/3115New Contributors
Full Changelog: docker/docker-py@6.1.0...6.1.1
v6.1.0
Compare Source
ℹ️ Upgrade Notes
✨ Features
poll()
instead ofselect()
on non-Windows platformsnetwork_driver_opt
on container run / createone-shot
on container statsstatus
on services list🐛 Bugfixes
container.exec_*
operationsWhat's Changed
network_driver_opt
to client.containers run and create by @Skazza94 in https://github.com/docker/docker-py/pull/3083one-shot
to container APIstats
by @aroxby-wayscript in https://github.com/docker/docker-py/pull/3089status
parameter to services list API by @lorinbucher in https://github.com/docker/docker-py/pull/3093New Contributors
Full Changelog: docker/docker-py@6.0.1...6.1.0
v6.0.1
Compare Source
This version is not compatible with
requests
2.29+ orurllib3
2.x.Either add
requests < 2.29
andurllib3 < 2
to your requirements or upgrade to to the latestdocker-py
release.🐛 Bugfixes
The pipe has been ended
errors on Windows (#3056)since
/until
) (#3031)What's Changed
New Contributors
Full Changelog: docker/docker-py@6.0.0...6.0.1
v6.0.0
Compare Source
ℹ️ Upgrade Notes
docker[tls]
extra is deprecated and a no-op,use
docker
for same functionality (TLS support is always available now)use_ssh_client=False
) will nowreject unknown host keys with
paramiko.ssh_exception.SSHException
__version__
✨ Features
platform
(e.g.linux/amd64
,darwin/arm64
) to container create & runGlobalJob
andReplicatedJobs
for Swarmremove()
method onImage
force
param todisable()
onPlugin
🐛 Bugfixes
pywin32
.dockerignore
filesProxyCommand
option for SSH connections🔧 Miscellaneous
requirements.txt
to latest versionspublishing releases
Changelog
packaging
instead ofdistutils
forVersion
by @FrancescoCasalegno in https://github.com/docker/docker-py/pull/2931gzip
documentation toBuildApiMixin
by @SauravMaheshkar in https://github.com/docker/docker-py/pull/2929preexec_func
always by @q0w in https://github.com/docker/docker-py/pull/2920global-job
andreplicated-job
modes in Docker Swarm by @kinday in https://github.com/docker/docker-py/pull/3016New Contributors
Full Changelog: docker/docker-py@5.0.3...6.0.0
v5.0.3
Compare Source
List of PRs / issues for this release
Features
cap_add
andcap_drop
parameters to service create and ContainerSpectemplating
parameter to config createBugfixes
Miscellaneous
v5.0.2
Compare Source
List of PRs / issues for this release
Bugfixes
disable_buffering
regressionv5.0.1
Compare Source
List of PRs / issues for this release
Bugfixes
Miscellaneous
v5.0.0
Compare Source
List of PRs / issues for this release
Breaking changes
Features
limit
parameter to image search endpointBugfixes
KeyError
exception on secret createv4.4.4
Compare Source
List of PRs / issues for this release
Bugfixes
LD_LIBRARY_PATH
andSSL_CERT_FILE
environment variables when shelling out to the ssh clientv4.4.3
Compare Source
List of PRs / issues for this release
Features
Bugfixes
v4.4.2
Compare Source
List of PRs / issues for this release
Bugfixes
Miscellaneous
v4.4.1
Compare Source
List of PRs / issues for this release
Bugfixes
v4.4.0
Compare Source
List of PRs / issues for this release
Features
latest
onpull
Bugfixes
Miscellaneous
v4.3.1
Compare Source
List of PRs / issues for this release
Miscellaneous
auto
float
identityfile
optionv4.3.0
Compare Source
Changelog
Features
DeviceRequest
type to expose host resources such as GPUsDriverOpts
in EndpointConfigMiscellaneous
v4.2.2
Compare Source
4.2.2
List of PRs / issues for this release
Bugfixes
v4.2.1
Compare Source
List of PRs / issues for this release
Features
tls
on Context constructorv4.2.0
Compare Source
List of PRs / issues for this release
Bugfixes
win32pipe.WaitNamedPipe
throw exception in Windows containersHostname
,Username
,Port
andProxyCommand
settings from.ssh/config
when on SSHparamiko.WarningPolicy()
paramiko
to warnFeatures
docker.ContextAPI
v4.1.0
Compare Source
List of PRs / issues for this release
Bugfixes
INDEX_URL
logic in build.py _set_auth_headersFeatures
NetworkAttachmentConfig
for service create/updateMiscellaneous
--platform
tests for changes in docker enginev4.0.2
Compare Source
List of PRs / issues for this release
Bugfixes
HealthCheck
is created/configuredMiscellaneous
v4.0.1
Compare Source
List of PRs / issues for this release
Bugfixes
credentials
subpackage that caused import errors inPython 3.7
Miscellaneous
v4.0.0
Compare Source
List of PRs / issues for this release
Breaking changes
APIClient.update_service
,APIClient.init_swarm
, andDockerClient.swarm.init
now return adict
from the API's response bodyAPIClient.build
andDockerClient.images.build
, theuse_config_proxy
parameter now defaults to True
init_path
is no longer a valid parameter forHostConfig
Features
SCTP
ports for port mappingsContainerSpec
s now support theinit
parameterDockerClient.swarm.init
andAPIClient.init_swarm
now support thedata_path_addr
parameterAPIClient.update_swarm
andDockerClient.swarm.update
now support therotate_manager_unlock_key
parameterAPIClient.update_service
returns the API's response body as adict
APIClient.init_swarm
, andDockerClient.swarm.init
now return the API'sresponse body as a
dict
Bugfixes
PlacementPreference
instances to produce a valid API typebuildargs
inbuild
could causethe library to attempt accessing attributes of a
None
valuevolume_driver
parameter inDockerClient.containers.create
would result in an errorAPIClient.inspect_distribution
now correctly sets the authenticationheaders on the request, allowing it to be used with private repositories
This change also applies to
DockerClient.get_registry_data
v3.7.3
Compare Source
v3.7.2
Compare Source
List of PRs / issues for this release
Bugfixes
protocol to
parse_host
afterwards, lettingbase_url
with the original value.v3.7.1
Compare Source
List of PRs / issues for this release
Bugfixes
pools is clean on close()
like the others
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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.