Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.2Release Notes
docker/docker-py (docker)
v7.1.0Compare Source
Upgrade Notes
Bugfixes
invalid tag formaterrorsConfigCollection), which failed with aKeyErrordue to thenamefielddocker-pyby applying the suggested fixMiscellaneous
setup-pythongithub actionContainerandContainerConfig)NetworkSettings.Networks.<network>.Aliasesdue to engine changesWhat's Changed
packagingdependency by @akx in #3205hatchlingandhatch-vcsby @akx in #3207container.logs()by @BobDu in #2240New Contributors
Full Changelog: docker/docker-py@7.0.0...7.1.0
v7.0.0Compare Source
Upgrade Notes (from 6.x)⚠️
ssl_version) and explicit hostname check (assert_hostname) options (#3185)assert_hostnamehas not been used since Python 3.6 and was removed in 3.12pip install docker[websockets]to includewebsocket-clientdependencydocker-pyhijacks the TCP connection and does not use Websocketsattach_socket(container, ws=True)Features ✨
networking_configsupport forcontainers.create()(#3121)network_driver_opt(added in 6.1.0)health()property to container that returns status (e.g.unhealthy) (#3147)pauseoption tocontainer.commit()(#3159)rshared,private) (#3164)filters,keep_storage, andallinprune_builds()on API v1.39+ (#3192)Bugfixes 🐛
docker.errors.NotFoundon 404 responses (#3156)Miscellaneous 🔧
requirements.txt(used for development/tests) (#3183)What's Changed
Network.connectparameters inclient.containers.runandclient.containers.createby @Skazza94 in #3121New Contributors
Full Changelog: docker/docker-py@6.1.3...7.0.0
v6.1.3Compare Source
🐛 Bugfixes
What's Changed
New Contributors
Full Changelog: docker/docker-py@6.1.2...6.1.3
v6.1.2Compare Source
🐛 Bugfixes
docker execcalls (#3125)timeoutparam on Windows (#3112)Full Changelog
New Contributors
Full Changelog: docker/docker-py@6.1.1...6.1.2
v6.1.1Compare Source
ℹ️ Upgrade Notes (6.1.x)
🐛 Bugfixes
containers.stats()hanging withstream=Truecontainers.diff()methodWhat's Changed
diffmethod by @john-b-yang in #3115New Contributors
Full Changelog: docker/docker-py@6.1.0...6.1.1
v6.1.0Compare Source
ℹ️ Upgrade Notes
✨ Features
poll()instead ofselect()on non-Windows platformsnetwork_driver_opton container run / createone-shoton container statsstatuson services list🐛 Bugfixes
container.exec_*operationsWhat's Changed
network_driver_optto client.containers run and create by @Skazza94 in #3083one-shotto container APIstatsby @aroxby-wayscript in #3089statusparameter to services list API by @lorinbucher in #3093New Contributors
Full Changelog: docker/docker-py@6.0.1...6.1.0
v6.0.1Compare Source
This version is not compatible with
requests2.29+ orurllib32.x.Either add
requests < 2.29andurllib3 < 2to your requirements or upgrade to to the latestdocker-pyrelease.🐛 Bugfixes
The pipe has been endederrors on Windows (#3056)since/until) (#3031)What's Changed
New Contributors
Full Changelog: docker/docker-py@6.0.0...6.0.1
v6.0.0Compare Source
ℹ️ Upgrade Notes
docker[tls]extra is deprecated and a no-op,use
dockerfor 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 & runGlobalJobandReplicatedJobsfor Swarmremove()method onImageforceparam todisable()onPlugin🐛 Bugfixes
pywin32.dockerignorefilesProxyCommandoption for SSH connections🔧 Miscellaneous
requirements.txtto latest versionspublishing releases
Changelog
packaginginstead ofdistutilsforVersionby @FrancescoCasalegno in #2931gzipdocumentation toBuildApiMixinby @SauravMaheshkar in #2929preexec_funcalways by @q0w in #2920global-jobandreplicated-jobmodes in Docker Swarm by @kinday in #3016New Contributors
Full Changelog: docker/docker-py@5.0.3...6.0.0
v5.0.3Compare Source
List of PRs / issues for this release
Features
cap_addandcap_dropparameters to service create and ContainerSpectemplatingparameter to config createBugfixes
Miscellaneous
v5.0.2Compare Source
List of PRs / issues for this release
Bugfixes
disable_bufferingregressionv5.0.1Compare Source
List of PRs / issues for this release
Bugfixes
Miscellaneous
v5.0.0Compare Source
List of PRs / issues for this release
Breaking changes
Features
limitparameter to image search endpointBugfixes
KeyErrorexception on secret createv4.4.4Compare Source
List of PRs / issues for this release
Bugfixes
LD_LIBRARY_PATHandSSL_CERT_FILEenvironment variables when shelling out to the ssh clientv4.4.3Compare Source
List of PRs / issues for this release
Features
Bugfixes
v4.4.2Compare Source
List of PRs / issues for this release
Bugfixes
Miscellaneous
v4.4.1Compare Source
List of PRs / issues for this release
Bugfixes
v4.4.0Compare Source
List of PRs / issues for this release
Features
latestonpullBugfixes
Miscellaneous
v4.3.1Compare Source
List of PRs / issues for this release
Miscellaneous
autofloatidentityfileoptionv4.3.0Compare Source
Changelog
Features
DeviceRequesttype to expose host resources such as GPUsDriverOptsin EndpointConfigMiscellaneous
v4.2.2Compare Source
4.2.2
List of PRs / issues for this release
Bugfixes
v4.2.1Compare Source
List of PRs / issues for this release
Features
tlson Context constructorv4.2.0Compare Source
List of PRs / issues for this release
Bugfixes
win32pipe.WaitNamedPipethrow exception in Windows containersHostname,Username,PortandProxyCommandsettings from.ssh/configwhen on SSHparamiko.WarningPolicy()paramikoto warnFeatures
docker.ContextAPIv4.1.0Compare Source
List of PRs / issues for this release
Bugfixes
INDEX_URLlogic in build.py _set_auth_headersFeatures
NetworkAttachmentConfigfor service create/updateMiscellaneous
--platformtests for changes in docker enginev4.0.2Compare Source
List of PRs / issues for this release
Bugfixes
HealthCheckis created/configuredMiscellaneous
v4.0.1Compare Source
List of PRs / issues for this release
Bugfixes
credentialssubpackage that caused import errors inPython 3.7
Miscellaneous
v4.0.0Compare Source
List of PRs / issues for this release
Breaking changes
APIClient.update_service,APIClient.init_swarm, andDockerClient.swarm.initnow return adictfrom the API's response bodyAPIClient.buildandDockerClient.images.build, theuse_config_proxyparameter now defaults to True
init_pathis no longer a valid parameter forHostConfigFeatures
SCTPports for port mappingsContainerSpecs now support theinitparameterDockerClient.swarm.initandAPIClient.init_swarmnow support thedata_path_addrparameterAPIClient.update_swarmandDockerClient.swarm.updatenow support therotate_manager_unlock_keyparameterAPIClient.update_servicereturns the API's response body as adictAPIClient.init_swarm, andDockerClient.swarm.initnow return the API'sresponse body as a
dictBugfixes
PlacementPreferenceinstances to produce a valid API typebuildargsinbuildcould causethe library to attempt accessing attributes of a
Nonevaluevolume_driverparameter inDockerClient.containers.createwould result in an errorAPIClient.inspect_distributionnow correctly sets the authenticationheaders on the request, allowing it to be used with private repositories
This change also applies to
DockerClient.get_registry_datav3.7.3Compare Source
v3.7.2Compare Source
List of PRs / issues for this release
Bugfixes
protocol to
parse_hostafterwards, lettingbase_urlwith the original value.v3.7.1Compare 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.