python-aiosignal: bump to 1.4.0
authorAlexandru Ardelean <redacted>
Wed, 1 Apr 2026 11:49:18 +0000 (14:49 +0300)
committerAlexandru Ardelean <redacted>
Wed, 1 Apr 2026 19:37:48 +0000 (22:37 +0300)
Changelog: https://github.com/aio-libs/aiosignal/blob/master/CHANGES.rst
Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-aiosignal/Makefile
lang/python/python-aiosignal/test.sh [new file with mode: 0755]

index 7b0386eb3b56e2298b1cba0f143e448b1bf20b14..988661fc22f58f111dad38025f4091a409644216 100644 (file)
@@ -8,11 +8,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-aiosignal
-PKG_VERSION:=1.3.1
+PKG_VERSION:=1.4.0
 PKG_RELEASE:=1
 
 PYPI_NAME:=aiosignal
-PKG_HASH:=54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc
+PKG_HASH:=f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7
 
 PKG_LICENSE:=Apache-2.0
 PKG_LICENSE_FILES:=LICENSE
diff --git a/lang/python/python-aiosignal/test.sh b/lang/python/python-aiosignal/test.sh
new file mode 100755 (executable)
index 0000000..3d368c8
--- /dev/null
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+[ "$1" = python3-aiosignal ] || exit 0
+
+python3 - << 'EOF'
+
+from aiosignal import Signal
+
+# Test Signal creation and basic list operations
+sig = Signal(owner=object())
+assert len(sig) == 0
+
+callback = lambda: None
+sig.append(callback)
+assert len(sig) == 1
+assert sig[0] is callback
+
+# Test freeze
+sig.freeze()
+assert sig.frozen
+
+# Test that frozen signal raises on modification
+try:
+    sig.append(lambda: None)
+    assert False, "should have raised"
+except RuntimeError:
+    pass
+
+EOF
git clone https://git.99rst.org/PROJECT