Path to this page:
Subject: CVS commit: pkgsrc/net/py-twisted
From: Adam Ciarcinski
Date: 2022-02-13 10:26:19
Message id: 20220213092619.332C5FB24@cvs.NetBSD.org
Log Message:
py-twisted: updated to 22.1.0
Twisted 22.1.0 (2022-02-03)
===========================
Features
--------
- Python 3.10 is now a supported platform
- Type annotations have been added to the twisted.python.fakepwd module.
Bugfixes
--------
- twisted.internet.defer.inlineCallbacks has an improved type annotation, to \
avoid typing errors when it is used on a function which returns a non-None \
result.
- ``twisted.internet.base.DelayedCall.__repr__`` and \
``twisted.internet.task.LoopingCall.__repr__`` had the changes from 10155 \
reverted to accept non-function callables.
- Revert the removal of .whl building that was done as part of 10177.
- The type annotation of the host parameter to \
twisted.internet.interfaces.IReactorTCP.connectTCP has been corrected from bytes \
to str.
- Deprecated ``twisted.python.threading.ThreadPool.currentThread()`` in favor of \
``threading.current_thread()``.
Switched ``twisted.python.threading.ThreadPool.currentThread()`` and \
``twisted.python.threadable.getThreadID()`` to use `threading.current_thread()`` \
to avoid the deprecation warnings introduced for ``threading.currentThread()`` \
in Python 3.10.
Improved Documentation
----------------------
- twisted.internet.utils.runWithWarningsSupressed behavior of waiting on \
deferreds has been documented.
- Sync API docs templates with pydoctor 21.9.0 release, using new theming \
capabilities.
Bugfixes
--------
- SSHTransportBase.ssh_KEXINIT now uses the remote peer preferred MAC list for \
negotiation. In previous versions it was only using the local preferred MAC \
list.
Features
~~~~~~~~
- twisted.conch.ssh now supports SSH extension negotiation (RFC 8308).
Bugfixes
~~~~~~~~
- twisted.conch now uses constant-time comparisons for MACs.
- twisted.conch.ssh.filetransfer.FileTransferServer will now return an ENOENT \
error status if an SFTP client tries to close an unrecognized file handle.
- twisted.web.client.RedirectAgent and \
twisted.web.client.BrowserLikeRedirectAgent now properly remove sensitive \
headers when redirecting to a different origin.
Improved Documentation
----------------------
- Add type annotations for twisted.web.client.readBody.
Deprecations and Removals
~~~~~~~~~~~~~~~~~~~~~~~~~
- twisted.web.client.getPage, twisted.web.client.downladPage, and the associated \
implementation classes (HTTPPageGetter, HTTPPageDownloader, HTTPClientFactory, \
HTTPDownloader) have been removed because they do not segregate cookies by \
domain. They were deprecated in Twisted 16.7.0 in favor of \
twisted.web.client.Agent. GHSA-92x2-jw7w-xvvx.
Mail
----
No significant changes.
Words
-----
No significant changes.
Names
-----
No significant changes.
Trial
-----
Bugfixes
~~~~~~~~
- trial.runner.filenameToModule now sets the correct module.__name__ and \
sys.modules key
Files: