summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-11-27 10:44:20 +0000
committeradam <adam@pkgsrc.org>2022-11-27 10:44:20 +0000
commita4d83cda479dca4a6627bb285d6628a7f643a575 (patch)
tree32e8a53bccd731b672373adf9521316e3b25e8ff /net
parent444352ef261b820be20a25e78ab166140fe58cbe (diff)
downloadpkgsrc-a4d83cda479dca4a6627bb285d6628a7f643a575.tar.gz
py-twisted: updated to 22.10.0
Twisted 22.10.0 (2022-10-30) ============================ This release contains a security fix for CVE-2022-39348. This is a low-severity security bug. Twisted 22.10.0rc1 release candidate was released on 2022-10-26 and there are no changes between the release candidate and the final release. Features -------- - The ``systemd:`` endpoint parser now supports "named" file descriptors. This is a more reliable mechanism for choosing among several inherited descriptors. Improved Documentation ---------------------- - The ``systemd`` endpoint parser's ``index`` parameter is now documented as leading to non-deterministic results in which descriptor is selected. The new ``name`` parameter is now documented as preferred. - The implementers of Zope interfaces are once more displayed in the documentations. Deprecations and Removals ------------------------- - twisted.protocols.dict, which was deprecated in 17.9, has been removed. Conch ----- Bugfixes ~~~~~~~~ - twisted.conch.manhole.ManholeInterpreter now captures tracebacks even if sys.excepthook has been modified. Web --- Features ~~~~~~~~ - The twisted.web.pages.errorPage, notFound, and forbidden each return an IResource that displays an HTML error pages safely rendered using twisted.web.template. Bugfixes ~~~~~~~~ - twisted.web.error.Error.__str__ no longer raises an exception when the error's message attribute is None. Additionally, it validates that code is a plausible 3-digit HTTP status code. - The typing of the twisted.web.http_headers.Headers methods addRawHeader() and setRawHeaders() now allow mixing str and bytes, matching the runtime behavior. - twisted.web.vhost.NameVirtualHost no longer echoes HTML received in the Host header without escaping it (CVE-2022-39348, GHSA-vg46-2rrj-3647). Deprecations and Removals ~~~~~~~~~~~~~~~~~~~~~~~~~ - twisted.web.resource.Resource.putChild now raises TypeError when the path argument is not bytes, rather than issuing a deprecation warning. - The twisted.web.resource.ErrorPage, NoResource, and ForbiddenResource classes have been deprecated in favor of new implementations twisted.web.pages module because they permit HTML injection. Mail ---- Bugfixes ~~~~~~~~ - emailserver.tac now runs under python3.x
Diffstat (limited to 'net')
-rw-r--r--net/py-twisted/Makefile.common4
-rw-r--r--net/py-twisted/PLIST29
-rw-r--r--net/py-twisted/distinfo8
3 files changed, 28 insertions, 13 deletions
diff --git a/net/py-twisted/Makefile.common b/net/py-twisted/Makefile.common
index 2869f900d27..6f94b7b39dd 100644
--- a/net/py-twisted/Makefile.common
+++ b/net/py-twisted/Makefile.common
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.48 2022/10/25 18:21:27 adam Exp $
+# $NetBSD: Makefile.common,v 1.49 2022/11/27 10:44:20 adam Exp $
#
# used by net/py-twisted/Makefile
# used by net/py-twisted-docs/Makefile
-DISTNAME= Twisted-22.8.0
+DISTNAME= Twisted-22.10.0
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=T/Twisted/}
diff --git a/net/py-twisted/PLIST b/net/py-twisted/PLIST
index 7f38d9d5f8b..24e40d6195a 100644
--- a/net/py-twisted/PLIST
+++ b/net/py-twisted/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.35 2022/10/25 18:21:27 adam Exp $
+@comment $NetBSD: PLIST,v 1.36 2022/11/27 10:44:20 adam Exp $
bin/cftp-${PYVERSSUFFIX}
bin/ckeygen-${PYVERSSUFFIX}
bin/conch-${PYVERSSUFFIX}
@@ -1249,9 +1249,6 @@ ${PYSITELIB}/twisted/protocols/amp.pyo
${PYSITELIB}/twisted/protocols/basic.py
${PYSITELIB}/twisted/protocols/basic.pyc
${PYSITELIB}/twisted/protocols/basic.pyo
-${PYSITELIB}/twisted/protocols/dict.py
-${PYSITELIB}/twisted/protocols/dict.pyc
-${PYSITELIB}/twisted/protocols/dict.pyo
${PYSITELIB}/twisted/protocols/finger.py
${PYSITELIB}/twisted/protocols/finger.pyc
${PYSITELIB}/twisted/protocols/finger.pyo
@@ -1464,6 +1461,9 @@ ${PYSITELIB}/twisted/python/test/modules_helpers.pyo
${PYSITELIB}/twisted/python/test/pullpipe.py
${PYSITELIB}/twisted/python/test/pullpipe.pyc
${PYSITELIB}/twisted/python/test/pullpipe.pyo
+${PYSITELIB}/twisted/python/test/strategies.py
+${PYSITELIB}/twisted/python/test/strategies.pyc
+${PYSITELIB}/twisted/python/test/strategies.pyo
${PYSITELIB}/twisted/python/test/test_appdirs.py
${PYSITELIB}/twisted/python/test/test_appdirs.pyc
${PYSITELIB}/twisted/python/test/test_appdirs.pyo
@@ -1801,9 +1801,6 @@ ${PYSITELIB}/twisted/test/test_defer.pyo
${PYSITELIB}/twisted/test/test_defgen.py
${PYSITELIB}/twisted/test/test_defgen.pyc
${PYSITELIB}/twisted/test/test_defgen.pyo
-${PYSITELIB}/twisted/test/test_dict.py
-${PYSITELIB}/twisted/test/test_dict.pyc
-${PYSITELIB}/twisted/test/test_dict.pyo
${PYSITELIB}/twisted/test/test_dirdbm.py
${PYSITELIB}/twisted/test/test_dirdbm.pyc
${PYSITELIB}/twisted/test/test_dirdbm.pyo
@@ -2008,6 +2005,9 @@ ${PYSITELIB}/twisted/trial/_dist/managercommands.pyo
${PYSITELIB}/twisted/trial/_dist/options.py
${PYSITELIB}/twisted/trial/_dist/options.pyc
${PYSITELIB}/twisted/trial/_dist/options.pyo
+${PYSITELIB}/twisted/trial/_dist/stream.py
+${PYSITELIB}/twisted/trial/_dist/stream.pyc
+${PYSITELIB}/twisted/trial/_dist/stream.pyo
${PYSITELIB}/twisted/trial/_dist/test/__init__.py
${PYSITELIB}/twisted/trial/_dist/test/__init__.pyc
${PYSITELIB}/twisted/trial/_dist/test/__init__.pyo
@@ -2020,9 +2020,15 @@ ${PYSITELIB}/twisted/trial/_dist/test/test_distreporter.pyo
${PYSITELIB}/twisted/trial/_dist/test/test_disttrial.py
${PYSITELIB}/twisted/trial/_dist/test/test_disttrial.pyc
${PYSITELIB}/twisted/trial/_dist/test/test_disttrial.pyo
+${PYSITELIB}/twisted/trial/_dist/test/test_matchers.py
+${PYSITELIB}/twisted/trial/_dist/test/test_matchers.pyc
+${PYSITELIB}/twisted/trial/_dist/test/test_matchers.pyo
${PYSITELIB}/twisted/trial/_dist/test/test_options.py
${PYSITELIB}/twisted/trial/_dist/test/test_options.pyc
${PYSITELIB}/twisted/trial/_dist/test/test_options.pyo
+${PYSITELIB}/twisted/trial/_dist/test/test_stream.py
+${PYSITELIB}/twisted/trial/_dist/test/test_stream.pyc
+${PYSITELIB}/twisted/trial/_dist/test/test_stream.pyo
${PYSITELIB}/twisted/trial/_dist/test/test_worker.py
${PYSITELIB}/twisted/trial/_dist/test/test_worker.pyc
${PYSITELIB}/twisted/trial/_dist/test/test_worker.pyo
@@ -2131,6 +2137,9 @@ ${PYSITELIB}/twisted/trial/test/test_loader.pyo
${PYSITELIB}/twisted/trial/test/test_log.py
${PYSITELIB}/twisted/trial/test/test_log.pyc
${PYSITELIB}/twisted/trial/test/test_log.pyo
+${PYSITELIB}/twisted/trial/test/test_matchers.py
+${PYSITELIB}/twisted/trial/test/test_matchers.pyc
+${PYSITELIB}/twisted/trial/test/test_matchers.pyo
${PYSITELIB}/twisted/trial/test/test_output.py
${PYSITELIB}/twisted/trial/test/test_output.pyc
${PYSITELIB}/twisted/trial/test/test_output.pyo
@@ -2245,6 +2254,9 @@ ${PYSITELIB}/twisted/web/iweb.pyo
${PYSITELIB}/twisted/web/microdom.py
${PYSITELIB}/twisted/web/microdom.pyc
${PYSITELIB}/twisted/web/microdom.pyo
+${PYSITELIB}/twisted/web/pages.py
+${PYSITELIB}/twisted/web/pages.pyc
+${PYSITELIB}/twisted/web/pages.pyo
${PYSITELIB}/twisted/web/proxy.py
${PYSITELIB}/twisted/web/proxy.pyc
${PYSITELIB}/twisted/web/proxy.pyo
@@ -2326,6 +2338,9 @@ ${PYSITELIB}/twisted/web/test/test_httpauth.pyo
${PYSITELIB}/twisted/web/test/test_newclient.py
${PYSITELIB}/twisted/web/test/test_newclient.pyc
${PYSITELIB}/twisted/web/test/test_newclient.pyo
+${PYSITELIB}/twisted/web/test/test_pages.py
+${PYSITELIB}/twisted/web/test/test_pages.pyc
+${PYSITELIB}/twisted/web/test/test_pages.pyo
${PYSITELIB}/twisted/web/test/test_proxy.py
${PYSITELIB}/twisted/web/test/test_proxy.pyc
${PYSITELIB}/twisted/web/test/test_proxy.pyo
diff --git a/net/py-twisted/distinfo b/net/py-twisted/distinfo
index 7471c91268b..9b0742e165c 100644
--- a/net/py-twisted/distinfo
+++ b/net/py-twisted/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.44 2022/10/25 18:21:27 adam Exp $
+$NetBSD: distinfo,v 1.45 2022/11/27 10:44:20 adam Exp $
-BLAKE2s (Twisted-22.8.0.tar.gz) = 2117d2d36379db73bf28c4be6044fa1a6b352d4d2a53c29e3807dbd0d81dce97
-SHA512 (Twisted-22.8.0.tar.gz) = ce5690f51669c829d5cb3097bd4bf66471c157b2967d25ccbaad9dcae1f9bc4b7ec63a6a49cc0a30392adc5d8765a3137811294e3ffc3c4699f1f7d6c6490db8
-Size (Twisted-22.8.0.tar.gz) = 3781326 bytes
+BLAKE2s (Twisted-22.10.0.tar.gz) = 2055f9cc5e64078d17a77e76dde0db0dc9d7eb7874fba29998e0d89b2d54b6a2
+SHA512 (Twisted-22.10.0.tar.gz) = 36adac424f6776c7db870d2291713da41054e974dfac0dbc1cbd55f76915a92073bcb25d4593b82e229d154d5297c67e7ba82d808921d206c97c8024bd5431a8
+Size (Twisted-22.10.0.tar.gz) = 3524935 bytes