pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-twisted py-twisted: updated to 22.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb5da884932b
branches:  trunk
changeset: 382985:eb5da884932b
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Aug 10 08:59:35 2022 +0000

description:
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:

 net/py-twisted/Makefile        |  3 +--
 net/py-twisted/Makefile.common |  4 ++--
 net/py-twisted/PLIST           |  5 ++++-
 net/py-twisted/distinfo        |  8 ++++----
 4 files changed, 11 insertions(+), 9 deletions(-)

diffs (58 lines):

diff -r 4d80fe432af2 -r eb5da884932b net/py-twisted/Makefile
--- a/net/py-twisted/Makefile   Wed Aug 10 07:41:04 2022 +0000
+++ b/net/py-twisted/Makefile   Wed Aug 10 08:59:35 2022 +0000
@@ -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 -r 4d80fe432af2 -r eb5da884932b net/py-twisted/Makefile.common
--- a/net/py-twisted/Makefile.common    Wed Aug 10 07:41:04 2022 +0000
+++ b/net/py-twisted/Makefile.common    Wed Aug 10 08:59:35 2022 +0000
@@ -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 -r 4d80fe432af2 -r eb5da884932b net/py-twisted/PLIST
--- a/net/py-twisted/PLIST      Wed Aug 10 07:41:04 2022 +0000
+++ b/net/py-twisted/PLIST      Wed Aug 10 08:59:35 2022 +0000
@@ -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/_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 -r 4d80fe432af2 -r eb5da884932b net/py-twisted/distinfo
--- a/net/py-twisted/distinfo   Wed Aug 10 07:41:04 2022 +0000
+++ b/net/py-twisted/distinfo   Wed Aug 10 08:59:35 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index