pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-twisted



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Nov 27 10:44:20 UTC 2022

Modified Files:
        pkgsrc/net/py-twisted: Makefile.common PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/net/py-twisted/Makefile.common
cvs rdiff -u -r1.35 -r1.36 pkgsrc/net/py-twisted/PLIST
cvs rdiff -u -r1.44 -r1.45 pkgsrc/net/py-twisted/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-twisted/Makefile.common
diff -u pkgsrc/net/py-twisted/Makefile.common:1.48 pkgsrc/net/py-twisted/Makefile.common:1.49
--- pkgsrc/net/py-twisted/Makefile.common:1.48  Tue Oct 25 18:21:27 2022
+++ pkgsrc/net/py-twisted/Makefile.common       Sun Nov 27 10:44:20 2022
@@ -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/}
 

Index: pkgsrc/net/py-twisted/PLIST
diff -u pkgsrc/net/py-twisted/PLIST:1.35 pkgsrc/net/py-twisted/PLIST:1.36
--- pkgsrc/net/py-twisted/PLIST:1.35    Tue Oct 25 18:21:27 2022
+++ pkgsrc/net/py-twisted/PLIST Sun Nov 27 10:44:20 2022
@@ -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
 ${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/manager
 ${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/te
 ${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_loa
 ${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_httpa
 ${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

Index: pkgsrc/net/py-twisted/distinfo
diff -u pkgsrc/net/py-twisted/distinfo:1.44 pkgsrc/net/py-twisted/distinfo:1.45
--- pkgsrc/net/py-twisted/distinfo:1.44 Tue Oct 25 18:21:27 2022
+++ pkgsrc/net/py-twisted/distinfo      Sun Nov 27 10:44:20 2022
@@ -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



Home | Main Index | Thread Index | Old Index