From c3fc621e25ec104a7a1a5fec7ad9e040c5e1789f Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Mon, 13 Apr 2026 05:51:13 +0000 Subject: [PATCH] python-service-identity: update to 24.2.0; add test.sh Bump version 23.1.0 -> 24.2.0. Add test.sh to verify module imports and key symbols. Signed-off-by: Alexandru Ardelean --- lang/python/python-service-identity/Makefile | 4 ++-- lang/python/python-service-identity/test.sh | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 lang/python/python-service-identity/test.sh diff --git a/lang/python/python-service-identity/Makefile b/lang/python/python-service-identity/Makefile index 78f999831e..a4eac956c3 100644 --- a/lang/python/python-service-identity/Makefile +++ b/lang/python/python-service-identity/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-service-identity -PKG_VERSION:=23.1.0 +PKG_VERSION:=24.2.0 PKG_RELEASE:=1 PYPI_NAME:=service-identity PYPI_SOURCE_NAME:=service_identity -PKG_HASH:=ecb33cd96307755041e978ab14f8b14e13b40f1fbd525a4dc78f46d2b986431d +PKG_HASH:=b8683ba13f0d39c6cd5d625d2c5f65421d6d707b013b375c355751557cbe8e09 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE diff --git a/lang/python/python-service-identity/test.sh b/lang/python/python-service-identity/test.sh new file mode 100644 index 0000000000..c50af4b525 --- /dev/null +++ b/lang/python/python-service-identity/test.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +[ "$1" = python3-service-identity ] || exit 0 + +python3 - << 'EOF' +from service_identity import VerificationError +from service_identity.pyopenssl import verify_hostname, verify_ip_address + +# Just verify the module imports and key symbols are present +assert callable(verify_hostname) +assert callable(verify_ip_address) +assert issubclass(VerificationError, Exception) + +print("python3-service-identity OK") +EOF \ No newline at end of file