Path to this page:
Subject: CVS commit: pkgsrc/net
From: Adam Ciarcinski
Date: 2024-11-13 10:11:40
Message id: 20241113091140.21DDEFC7D@cvs.NetBSD.org
Log Message:
py-twisted py-twisted-docs: updated to 24.10.0
Twisted 24.10.0 (2024-10-28)
Features
--------
- Python 3.13 is now supported.
- twisted.internet.defer.succeed() is significantly faster, and awaiting \
Deferred has also been sped up.
- twisted.python.failure.Failure creation no longer records the place where it \
was created. This reduces creation time by 60% at least, thereby speeding up \
Deferred error handling.
- twisted.internet.defer.Deferred no longer removes the traceback object from \
Failures. This may result in more objects staying in memory if you don't clean \
up failed Deferreds, but it speeds up error handling and enables improvements to \
traceback reporting.
- twisted.internet.defer APIs are 2%-4% faster in many cases.
- twisted.internet.defer.Deferred runs callbacks with chained Deferreds a little \
faster.
- The reactor now will use a little less CPU when events have been scheduled \
with callLater().
- Creation of twisted.python.failure.Failure is now faster.
Bugfixes
--------
- Fixed unreleased regression caused by PR 12109.
- twisted.logger.eventAsText can now format the output having types/classes as input.
This was a regression introduced in Twisted 24.3.0.
- twisted.internet.endpoints.clientFromString for TLS endpoints with \
"bindAddress=" no longer crashes during connect. \
twisted.internet.endpoints.HostnameEndpoint() no longer crashes when given a \
bindAddress= argument that is just a string, and that argument now accepts \
either address strings or (address, port) tuples.
- The URLs from README and pyproject.toml were updated.
Conch
-----
Features
- twisted.conch.ssh.keys.Key can now load public blob keys of type \
sk-ssh-ed25519@openssh.com and sk-ecdsa-sha2-nistp256@openssh.com.
Bugfixes
- twisted.conch tests no longer rely on OpenSSH supporting DSA keys, fixing \
compatibility with OpenSSH >= 9.8.
- twisted.conch.ssh.SSHCiphers no longer supports the cast128-ctr, cast128-cbc, \
blowfish-ctr, and blowfish-cbc ciphers.
The Blowfish and CAST5 ciphers were removed as they were deprecated by the \
Python cryptography library.
Web
---
Features
- The twisted.web HTTP server and client now reject HTTP header names containing \
whitespace or other invalid characters by raising \
twisted.web.http_headers.InvalidHeaderName, improving compliance with RFC 9110. \
As a side effect, the server is slightly faster.
- twisted.web.client and twisted.web.server now disable the Nagle algorithm \
(enable TCP_NODELAY), reducing the latency of small HTTP queries.
- twisted.web.server is 1-2% faster in some cases.
Bugfixes
- twisted.web's HTTP/1.1 server now rejects header values containing a NUL byte \
with a 400 error, in compliance with RFC 9110.
- twisted.internet.address no longer raises DeprecationWarning when used with \
attrs>=24.1.0.
- twisted.web's HTTP/1.1 server now accepts '&' within tokens (methods, \
header field names, etc.), in compliance with RFC 9110.
Trial
-----
Features
- Trial's ``-j`` flag now accepts an ``auto`` keyword to spawn a number of \
workers based on the available CPUs.
Files: