packages/lang/python/python-docker/Makefile
Javier Marcet 99520f9114 python-docker: Update to 7.0.0
Upgrade Notes:
 - Removed SSL version (ssl_version) and explicit hostname check
 (assert_hostname) options
   - 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
   - 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 officially supported (reached end-of-life June
 2023)

Features:
 - Python 3.12 support
 - Full networking_config support for containers.create()
   - Replaces network_driver_opt (added in 6.1.0)
 - Add health() property to container that returns status (e.g.
 unhealthy)
 - Add pause option to container.commit()
 - Add support for bind mount propagation (e.g. rshared, private)
 - Add filters, keep_storage, and all parameters to prune_builds()
 (requires API v1.39+)

Bugfixes:
 - Consistently return docker.errors.NotFound on 404 responses
 - Validate tag format before image push

Miscellaneous:
 - Upgraded urllib3 version in requirements.txt (used for
 development/tests)
 - Documentation typo fixes & formatting improvements
 - Fixed integration test compatibility for newer Moby engine versions
 - Switch to ruff for linting

Signed-off-by: Javier Marcet <javier@marcet.info>
2024-01-02 15:22:50 -08:00

40 lines
1.1 KiB
Makefile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

include $(TOPDIR)/rules.mk
PKG_NAME:=python-docker
PKG_VERSION:=7.0.0
PKG_RELEASE:=1
PYPI_NAME:=docker
PKG_HASH:=323736fb92cd9418fc5e7133bc953e11a9da04f4483f828b527db553f1e7e5a3
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=python-setuptools-scm/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-docker
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=A Python library for the Docker Engine API
URL:=https://github.com/docker/docker-py
DEPENDS:=\
+python3-light +python3-distutils +python3-logging \
+python3-openssl +python3-packaging +python3-paramiko +python3-six \
+python3-requests +python3-urllib3 +python3-websocket-client
endef
define Package/python3-docker/description
A Python library for the Docker Engine API. It lets you do anything the
docker command does, but from within Python apps run containers manage
containers, manage Swarms, etc.
endef
$(eval $(call Py3Package,python3-docker))
$(eval $(call BuildPackage,python3-docker))
$(eval $(call BuildPackage,python3-docker-src))