diff options
author | adam <adam@pkgsrc.org> | 2022-08-10 08:59:35 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2022-08-10 08:59:35 +0000 |
commit | b4bb4fc72b6a5e415ad2149fc815d92b48167cf6 (patch) | |
tree | 3a0b25d2f4b7ae917e62790b42b22c4d9ada8295 /net/py-twisted | |
parent | 37c96105343b97468df11f36f6ec81e7fdb084d5 (diff) | |
download | pkgsrc-b4bb4fc72b6a5e415ad2149fc815d92b48167cf6.tar.gz |
py-twisted: updated to 22.4.0
Twisted 22.4.0 (2022-04-11)
===========================
Features
--------
- twisted.python.failure.Failure tracebacks now capture module information, improving compatibility with the Raven Sentry client.
- twisted.python.failure.Failure objects are now compatible with dis.distb, improving compatibility with post-mortem debuggers.
Bugfixes
- twisted.internet.interfaces.IReactorSSL.listenSSL now has correct type annotations.
- twisted.internet.test.test_glibbase.GlibReactorBaseTests now passes.
Conch
-----
Features
- twisted.conch.ssh now supports using RSA keys with SHA-2 signatures (RFC 8332) when acting as a server. The rsa-sha2-512 and rsa-sha2-256 public key signature algorithms are automatically preferred over ssh-rsa if the client advertises support for them; the actual public keys do not need to change.
- twisted.conch.ssh now has an alternative Ed25519 implementation using PyNaCl, in order to support platforms that lack OpenSSL >= 1.1.1b. The new "conch_nacl" extra has the necessary dependency.
Web
---
Features
- Twisted is now compatible with h2 4.x.x.
Bugfixes
- twisted.web.http had several several defects in HTTP request parsing that could permit HTTP request smuggling. It now disallows signed Content-Length headers, forbids illegal characters in chunked extensions, forbids a ``0x`` prefix to chunk lengths, and only strips spaces and horizontal tab characters from header values. These changes address CVE-2022-24801 and GHSA-c2jg-hw38-jrqq.
Mail
----
Bugfixes
- twisted.mail.pop3.APOPCredentials is now correctly marked as implementing twisted.cred.credentials.IUsernamHashedPassword, rather than IUsernamePassword.
Trial
-----
Features
- `trial --until-failure --jobs=N` now reports the number of each test pass as it begins.
Bugfixes
- twisted.trial.unittest.TestCase now discards cleanup functions after running them. Notably, this prevents them from being run an ever growing number of times with `trial -u ...`.
Twisted 22.2.0 (2022-03-01)
===========================
Bugfixes
- twisted.internet.gireactor.PortableGIReactor.simulate and twisted.internet.gtk2reactor.PortableGtkReactor.simulate no longer raises TypeError when there are no delayed called. This was a regression introduced with the migration to Python 3 in which the builtin `min` function no longer accepts `None` as an argument.
- twisted.conch.ssh.transport.SSHTransportBase now disconnects the remote peer if the
SSH version string is not sent in the first 4096 bytes.
GHSA-rv6r-3f5q-9rgx)
Improved Documentation
- Add type annotations for twisted.web.http.Request.getHeader.
Deprecations and Removals
- Support for Python 3.6, which is EoL as of 2021-09-04, has been deprecated.
Diffstat (limited to 'net/py-twisted')
-rw-r--r-- | net/py-twisted/Makefile | 3 | ||||
-rw-r--r-- | net/py-twisted/Makefile.common | 4 | ||||
-rw-r--r-- | net/py-twisted/PLIST | 5 | ||||
-rw-r--r-- | net/py-twisted/distinfo | 8 |
4 files changed, 11 insertions, 9 deletions
diff --git a/net/py-twisted/Makefile b/net/py-twisted/Makefile index 42caafce8ad..4c8dda22aa4 100644 --- a/net/py-twisted/Makefile +++ b/net/py-twisted/Makefile @@ -1,6 +1,5 @@ -# $NetBSD: Makefile,v 1.50 2022/06/28 11:35:19 wiz Exp $ +# $NetBSD: Makefile,v 1.51 2022/08/10 08:59:35 adam Exp $ -PKGREVISION= 1 .include "../../net/py-twisted/Makefile.common" PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} diff --git a/net/py-twisted/Makefile.common b/net/py-twisted/Makefile.common index 9ecca7da54d..b66471eee49 100644 --- a/net/py-twisted/Makefile.common +++ b/net/py-twisted/Makefile.common @@ -1,9 +1,9 @@ -# $NetBSD: Makefile.common,v 1.46 2022/02/13 09:26:19 adam Exp $ +# $NetBSD: Makefile.common,v 1.47 2022/08/10 08:59:35 adam Exp $ # # used by net/py-twisted/Makefile # used by net/py-twisted-docs/Makefile -DISTNAME= Twisted-22.1.0 +DISTNAME= Twisted-22.4.0 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=T/Twisted/} diff --git a/net/py-twisted/PLIST b/net/py-twisted/PLIST index dbf95d569ff..085d60ba3e3 100644 --- a/net/py-twisted/PLIST +++ b/net/py-twisted/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.33 2022/02/05 13:16:13 js Exp $ +@comment $NetBSD: PLIST,v 1.34 2022/08/10 08:59:35 adam Exp $ bin/cftp-${PYVERSSUFFIX} bin/ckeygen-${PYVERSSUFFIX} bin/conch-${PYVERSSUFFIX} @@ -231,6 +231,9 @@ ${PYSITELIB}/twisted/conch/ssh/__init__.pyo ${PYSITELIB}/twisted/conch/ssh/_kex.py ${PYSITELIB}/twisted/conch/ssh/_kex.pyc ${PYSITELIB}/twisted/conch/ssh/_kex.pyo +${PYSITELIB}/twisted/conch/ssh/_keys_pynacl.py +${PYSITELIB}/twisted/conch/ssh/_keys_pynacl.pyc +${PYSITELIB}/twisted/conch/ssh/_keys_pynacl.pyo ${PYSITELIB}/twisted/conch/ssh/address.py ${PYSITELIB}/twisted/conch/ssh/address.pyc ${PYSITELIB}/twisted/conch/ssh/address.pyo diff --git a/net/py-twisted/distinfo b/net/py-twisted/distinfo index e7219e8d74c..100887447e3 100644 --- a/net/py-twisted/distinfo +++ b/net/py-twisted/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.42 2022/02/13 09:26:19 adam Exp $ +$NetBSD: distinfo,v 1.43 2022/08/10 08:59:35 adam Exp $ -BLAKE2s (Twisted-22.1.0.tar.gz) = 12359d9a322bd20b668260ec5b85e2e67d33795541e43fe1643a9b4fff755029 -SHA512 (Twisted-22.1.0.tar.gz) = b16603c15e99ddf845f42974e43c885800165158fb160238c00590e1ad22f9850b578de7bb23313040714667769af346d5dc89eada6051873884ee0a3fa01e97 -Size (Twisted-22.1.0.tar.gz) = 3729983 bytes +BLAKE2s (Twisted-22.4.0.tar.gz) = 1c92a4f69eff4bd57762831ff337da185ca475ceff41d608232db9c0b40ba457 +SHA512 (Twisted-22.4.0.tar.gz) = 53fbdf142f65b9dfa07276f422341aa45124e6d4f713e0ccedf2344879c9ed33102c49a73bf6e35fe543fa989a71fd3316eb7226a5106a79b8d09f342ea40aba +Size (Twisted-22.4.0.tar.gz) = 3744412 bytes |