python-twisted: Update to 25.5.0

This update fixes CVE-2024-41810 and CVE-2024-41671 [1]. For the full
changelog see NEWS [2].

Additionally changed the way the test files are omitted from patch file
to filespec in the Makefile.

[1] https://github.com/twisted/twisted/blob/twisted-25.5.0/NEWS.rst#twisted-2470-2024-08-08
[2] https://github.com/twisted/twisted/blob/twisted-25.5.0/NEWS.rst

Signed-off-by: Richard Muzik <richard.muzik@turris.com>
This commit is contained in:
Richard Muzik
2025-07-18 13:30:08 +02:00
committed by Josef Schlehofer
parent 1dc51297e5
commit e09ffebce1
3 changed files with 4 additions and 13 deletions

View File

@@ -9,12 +9,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=python-twisted PKG_NAME:=python-twisted
PKG_VERSION:=23.10.0 PKG_VERSION:=25.5.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PYPI_NAME:=Twisted PYPI_NAME:=Twisted
PYPI_SOURCE_NAME:=twisted PYPI_SOURCE_NAME:=twisted
PKG_HASH:=987847a0790a2c597197613686e2784fd54167df3a55d0fb17c8412305d76ce5 PKG_HASH:=1deb272358cb6be1e3e8fc6f9c8b36f78eb0fa7c2233d2dbe11ec6fee04ea316
PKG_BUILD_DEPENDS:=libtirpc PKG_BUILD_DEPENDS:=libtirpc
@@ -61,6 +61,7 @@ endef
define Py3Package/python3-twisted/filespec define Py3Package/python3-twisted/filespec
+|$(PYTHON3_PKG_DIR) +|$(PYTHON3_PKG_DIR)
-|$(PYTHON3_PKG_DIR)/twisted/conch/scripts/tkconch.py -|$(PYTHON3_PKG_DIR)/twisted/conch/scripts/tkconch.py
-|$(PYTHON3_PKG_DIR)/twisted/test
endef endef
define Py3Package/python3-twisted/install define Py3Package/python3-twisted/install

View File

@@ -1,6 +1,6 @@
--- a/pyproject.toml --- a/pyproject.toml
+++ b/pyproject.toml +++ b/pyproject.toml
@@ -138,7 +138,6 @@ ckeygen = "twisted.conch.scripts.ckeygen @@ -148,7 +148,6 @@ ckeygen = "twisted.conch.scripts.ckeygen
conch = "twisted.conch.scripts.conch:run" conch = "twisted.conch.scripts.conch:run"
mailmail = "twisted.mail.scripts.mailmail:run" mailmail = "twisted.mail.scripts.mailmail:run"
pyhtmlizer = "twisted.scripts.htmlizer:run" pyhtmlizer = "twisted.scripts.htmlizer:run"

View File

@@ -1,10 +0,0 @@
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -182,6 +182,7 @@ exclude = [
"*.pxi",
"*.pyx",
"build.bat",
+ "test",
]
[tool.hatch.build.targets.sdist]