Docker SDK for Python 7+: make sure that ssl_version is not passed, and error out if it was explicitly set (#715)

* Do not accept ssl_version for Docker SDK for Python 7.0.0+.

* Add changelog fragment.

* Generally avoid sending None values to TLSConfig. Potentially prevents similar errors in the future, assuming the users do not pass values in.

* Python 2.6 compatibility.
This commit is contained in:
Felix Fontein
2023-12-09 18:59:06 +01:00
committed by GitHub
parent 4929ef603a
commit 3aa1ddcca0
3 changed files with 18 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
bugfixes:
- "modules and plugins using the Docker SDK for Python - remove ``ssl_version`` from the parameters passed to Docker SDK for Python 7.0.0+. Explicitly fail with a nicer error message if it was explicitly set in this case (https://github.com/ansible-collections/community.docker/pull/715)."