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 Feb 13 09:26:19 UTC 2022

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/net/py-twisted/Makefile
cvs rdiff -u -r1.45 -r1.46 pkgsrc/net/py-twisted/Makefile.common
cvs rdiff -u -r1.41 -r1.42 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
diff -u pkgsrc/net/py-twisted/Makefile:1.48 pkgsrc/net/py-twisted/Makefile:1.49
--- pkgsrc/net/py-twisted/Makefile:1.48 Sun Feb 13 08:54:22 2022
+++ pkgsrc/net/py-twisted/Makefile      Sun Feb 13 09:26:19 2022
@@ -1,16 +1,18 @@
-# $NetBSD: Makefile,v 1.48 2022/02/13 08:54:22 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2022/02/13 09:26:19 adam Exp $
+
+.include "../../net/py-twisted/Makefile.common"
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 COMMENT=       Framework for writing networked applications
-.include "../../net/py-twisted/Makefile.common"
 
-DEPENDS+=      ${PYPKGPREFIX}-attrs>=17.4.0:../../devel/py-attrs
-DEPENDS+=      ${PYPKGPREFIX}-automat>=0.3.0:../../devel/py-automat
+DEPENDS+=      ${PYPKGPREFIX}-ZopeInterface>=4.4.2:../../devel/py-ZopeInterface
+DEPENDS+=      ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
+DEPENDS+=      ${PYPKGPREFIX}-automat>=0.8.0:../../devel/py-automat
 DEPENDS+=      ${PYPKGPREFIX}-constantly>=15.1:../../devel/py-constantly
 DEPENDS+=      ${PYPKGPREFIX}-hamcrest>=1.9.0:../../devel/py-hamcrest
 DEPENDS+=      ${PYPKGPREFIX}-hyperlink>=17.1.1:../../www/py-hyperlink
-DEPENDS+=      ${PYPKGPREFIX}-incremental>=16.10.1:../../devel/py-incremental
-DEPENDS+=      ${PYPKGPREFIX}-ZopeInterface>=4.4.2:../../devel/py-ZopeInterface
+DEPENDS+=      ${PYPKGPREFIX}-incremental>=21.3.0:../../devel/py-incremental
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.6.5:../../devel/py-typing-extensions
 # TLS
 DEPENDS+=      ${PYPKGPREFIX}-OpenSSL>=16.0.0:../../security/py-OpenSSL
 DEPENDS+=      ${PYPKGPREFIX}-service_identity>=18.1.0:../../security/py-service_identity

Index: pkgsrc/net/py-twisted/Makefile.common
diff -u pkgsrc/net/py-twisted/Makefile.common:1.45 pkgsrc/net/py-twisted/Makefile.common:1.46
--- pkgsrc/net/py-twisted/Makefile.common:1.45  Sat Feb  5 13:16:13 2022
+++ pkgsrc/net/py-twisted/Makefile.common       Sun Feb 13 09:26:19 2022
@@ -1,16 +1,15 @@
-# $NetBSD: Makefile.common,v 1.45 2022/02/05 13:16:13 js Exp $
+# $NetBSD: Makefile.common,v 1.46 2022/02/13 09:26:19 adam Exp $
 #
 # used by net/py-twisted/Makefile
 # used by net/py-twisted-docs/Makefile
 
-DISTNAME=      Twisted-22.1.0rc1
+DISTNAME=      Twisted-22.1.0
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=T/Twisted/}
-EXTRACT_SUFX=  .tar.gz
 
 MAINTAINER?=   pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://www.twistedmatrix.com/
 LICENSE=       mit
 
 DISTINFO_FILE?=        ${.CURDIR}/../../net/py-twisted/distinfo
-PATCHDIR?=     ${.CURDIR}/../../net/py-twisted/patches
+#PATCHDIR?=    ${.CURDIR}/../../net/py-twisted/patches

Index: pkgsrc/net/py-twisted/distinfo
diff -u pkgsrc/net/py-twisted/distinfo:1.41 pkgsrc/net/py-twisted/distinfo:1.42
--- pkgsrc/net/py-twisted/distinfo:1.41 Sat Feb  5 13:16:13 2022
+++ pkgsrc/net/py-twisted/distinfo      Sun Feb 13 09:26:19 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.41 2022/02/05 13:16:13 js Exp $
+$NetBSD: distinfo,v 1.42 2022/02/13 09:26:19 adam Exp $
 
-BLAKE2s (Twisted-22.1.0rc1.tar.gz) = d773054ca8ba8b2e0a04d931b721e40935284a01274026f25d919ed7f4ae0931
-SHA512 (Twisted-22.1.0rc1.tar.gz) = 08e0fc9f973f79a3592cbd9a741b5a7f44df76dd98129818da3200d19290bfb2ee288506ed901ccd96ed5dcb8a1789654c20da8c022c7bbd52329374b7d0c996
-Size (Twisted-22.1.0rc1.tar.gz) = 3730403 bytes
+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



Home | Main Index | Thread Index | Old Index