Skip to contentSkip to conversation

python3-twisted: upgrade 24.11.0 -> 25.5.0

PATCH New Guðni Már Gilbert 1 participant 1 message Jun 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-twisted: upgrade 24.11.0 -> 25.5.0

LIC_FILES_CHKSUM is updated. The year in the copyright header was changed for 2025.

Added a PACKAGECONFIG for a new optional runtime dependency python3-wsproto which is required for the new twisted.web.websockets module.

Changes:
https://github.com/twisted/twisted/compare/twisted-24.11.0...twisted-25.5.0

---
 ...thon3-twisted_24.11.0.bb => python3-twisted_25.5.0.bb} | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-twisted_24.11.0.bb => python3-twisted_25.5.0.bb} (95%)
meta-python/recipes-devtools/python/python3-twisted_25.5.0.bb renamed from meta-python/recipes-devtools/python/python3-twisted_24.11.0.bb +6 -2
similarity index 95%
rename from meta-python/recipes-devtools/python/python3-twisted_24.11.0.bb
rename to meta-python/recipes-devtools/python/python3-twisted_25.5.0.bb
index 6f2894e886..4685829ee3 100644
@@ -4,9 +4,9 @@ Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of p
 HOMEPAGE = "https://twisted.org"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c5d2c2493b848f83864bdedd67bbf5"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5316a448a61a38d722c291f78d915d11"
 
-SRC_URI[sha256sum] = "695d0556d5ec579dcc464d2856b634880ed1319f45b10d19043f2b57eb0115b5"
+SRC_URI[sha256sum] = "1deb272358cb6be1e3e8fc6f9c8b36f78eb0fa7c2233d2dbe11ec6fee04ea316"
 
 inherit pypi python_hatchling
 
@@ -42,6 +42,10 @@ RDEPENDS:${PN} = "\
     ${PN}-zsh \
 "
 
+# Optional dependencies
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[websocket] = ",,,python3-wsproto"
+
 RDEPENDS:${PN}-core = "python3-asyncio \
                        python3-attrs \
                        python3-automat \
Signature · 1 line
2.43.0