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: Mon Nov 2 08:41:31 UTC 2026
Modified Files:
pkgsrc/net/py-twisted: Makefile Makefile.common PLIST distinfo
Log Message:
py-twisted: updated to 26.10.0
twisted 26.10.0 (2026-10-30)
This is the last release with support for Python 3.10.
This include fixes for:
* CVE-2026-83813 (GHSA-jj36-9pvh-vj5r)
* CVE-2023-44487 (GHSA-vpp8-g58w-m8mp)
* CVE-2026-115778 (GHSA-cwm5-jh59-mwxr)
* CVE-2026-115775 (GHSA-3476-c5c2-fr73)
* CVE-2026-115877 (GHSA-q7qq-6mhp-9rc4)
* CVE-2026-115774 (GHSA-2qrf-pqgx-qh9v)
* CVE-2026-115776 (GHSA-53xc-49m8-p798)
Features
- It is now possible to set the SO_REUSEPORT and SO_REUSEADDR TCP socket flags from user code.
- Python 3.14 is now supported.
- `twisted.internet.defer.Deferred.__iter__`, used when awaiting a `Deferred`, is now about 2-3% faster.
Bugfixes
- twisted.internet.tcp.Port.startListening() now closes the socket when raising CannotListenError.
- Initiating a TCP connection with an address literals and a port outside of the 1-65535 range in twisted.internet.tcp.BaseClient and twisted.internet.iocpreactor.tcp.Client now triggers an errback
instead of an unhandled error. This change might also fix other unhandled errors occurred while connecting using address literals.
- twisted.logger.LoggingFile.fileno now raises io.UnsupportedOperation
instead of returning -1.
This fixes an interoperability issue with multiprocessing.
- `twistd` now exits with a non-zero status when given an unknown subcommand.
- twisted.internet.testing.MemoryReactor.removeAll() now returns what was removed to comply with IReactorFDSet.removeAll()
- twisted.internet.asyncioreactor.AsyncioSelectorReactor.callLater now has the
same signature as twisted.internet.interfaces.IReactorTime.callLater.
twisted.internet.asyncioreactor.AsyncioSelectorReactor.callFromThread now has the
same signature as twisted.internet.interfaces.IReactorFromThreads.callFromThread.
- twisted.protocols.ftp.FTPClient now uses ip address of the original ftp server to open passive data connections by default, instead of trusting PASV responses.
Improved Documentation
- The “Writing Servers” and “UDP Networking” documentation pages have been updated to remove obsolete references to persisting the reactor (a feature gone from Twisted for several decades now), and
to better explain the factory and protocol setup and teardown lifecycle.
- Twisted's policy documentation now includes a prominently featured, clear
explanation of our AI policy: to wit, including the outputs of generative AI
systems is forbidden.
Deprecations and Removals
- twisted.internet.tcp.Connection no longer supports returning a non-None value from a protocol's dataReceived method, deprecated since Twisted 11.0.0.
- `twisted.internet.error.PotentialZombieWarning`, deprecated since Twisted 10.0, has been removed.
- Implementations of `twisted.internet.interfaces.IProcessProtocol` are now required to provide a `processExited` method. Omitting this method was deprecated in Twisted 8.2.
- twisted.internet.ssl.protocolNegotiationMechanisms and twisted.internet.ssl.ProtocolNegotiationSupport are deprecated because all supported TLS backends provide ALPN. Callers can configure ALPN
without checking for support.
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/net/py-twisted/Makefile
cvs rdiff -u -r1.56 -r1.57 pkgsrc/net/py-twisted/Makefile.common
cvs rdiff -u -r1.43 -r1.44 pkgsrc/net/py-twisted/PLIST
cvs rdiff -u -r1.52 -r1.53 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.59 pkgsrc/net/py-twisted/Makefile:1.60
--- pkgsrc/net/py-twisted/Makefile:1.59 Wed May 20 06:32:56 2026
+++ pkgsrc/net/py-twisted/Makefile Mon Nov 2 08:41:31 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2026/05/20 06:32:56 adam Exp $
+# $NetBSD: Makefile,v 1.60 2026/11/02 08:41:31 adam Exp $
.include "../../net/py-twisted/Makefile.common"
@@ -8,19 +8,20 @@ COMMENT= Framework for writing networked
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.10.0:../../devel/py-hatchling
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme>=22.5.0:../../devel/py-hatch-fancy-pypi-readme
DEPENDS+= ${PYPKGPREFIX}-attrs>=22.2.0:../../devel/py-attrs
-DEPENDS+= ${PYPKGPREFIX}-automat>=24.8.0:../../devel/py-automat
+DEPENDS+= ${PYPKGPREFIX}-automat>=24.8.1:../../devel/py-automat
DEPENDS+= ${PYPKGPREFIX}-constantly>=15.1:../../devel/py-constantly
DEPENDS+= ${PYPKGPREFIX}-hyperlink>=17.1.1:../../www/py-hyperlink
-DEPENDS+= ${PYPKGPREFIX}-incremental>=24.7.0:../../devel/py-incremental
-DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.2.0:../../devel/py-typing-extensions
-DEPENDS+= ${PYPKGPREFIX}-zope.interface>=5:../../devel/py-zope.interface
+DEPENDS+= ${PYPKGPREFIX}-incremental>=24.7.1:../../devel/py-incremental
+DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.13.2:../../devel/py-typing-extensions
+DEPENDS+= ${PYPKGPREFIX}-zope.interface>=8:../../devel/py-zope.interface
# tls
-DEPENDS+= ${PYPKGPREFIX}-idna>=2.4:../../www/py-idna
-DEPENDS+= ${PYPKGPREFIX}-service_identity>=18.1.0:../../security/py-service_identity
-PYTHON_VERSIONED_DEPENDENCIES+= OpenSSL
+DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=25.3.0:../../security/py-OpenSSL
+DEPENDS+= ${PYPKGPREFIX}-idna>=2.5:../../www/py-idna
+DEPENDS+= ${PYPKGPREFIX}-service_identity>=21.1.0:../../security/py-service_identity
# conch
-PYTHON_VERSIONED_DEPENDENCIES+= bcrypt cryptography
DEPENDS+= ${PYPKGPREFIX}-appdirs>=1.4.0:../../devel/py-appdirs
+DEPENDS+= ${PYPKGPREFIX}-bcrypt>=3.2.0:../../security/py-bcrypt
+DEPENDS+= ${PYPKGPREFIX}-cryptography>=46:../../security/py-cryptography
# serial
DEPENDS+= ${PYPKGPREFIX}-serial>=3.0:../../comms/py-serial
# http2
@@ -40,5 +41,4 @@ PY_RENAME_BINARIES= cftp ckeygen conch m
.include "../../lang/python/application.mk"
.include "../../lang/python/wheel.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/py-twisted/Makefile.common
diff -u pkgsrc/net/py-twisted/Makefile.common:1.56 pkgsrc/net/py-twisted/Makefile.common:1.57
--- pkgsrc/net/py-twisted/Makefile.common:1.56 Wed May 20 06:32:56 2026
+++ pkgsrc/net/py-twisted/Makefile.common Mon Nov 2 08:41:31 2026
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.56 2026/05/20 06:32:56 adam Exp $
+# $NetBSD: Makefile.common,v 1.57 2026/11/02 08:41:31 adam Exp $
#
# used by net/py-twisted/Makefile
# used by net/py-twisted-docs/Makefile
-DISTNAME= twisted-26.4.0
+DISTNAME= twisted-26.10.0
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=T/Twisted/}
Index: pkgsrc/net/py-twisted/PLIST
diff -u pkgsrc/net/py-twisted/PLIST:1.43 pkgsrc/net/py-twisted/PLIST:1.44
--- pkgsrc/net/py-twisted/PLIST:1.43 Wed May 20 06:32:56 2026
+++ pkgsrc/net/py-twisted/PLIST Mon Nov 2 08:41:31 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.43 2026/05/20 06:32:56 adam Exp $
+@comment $NetBSD: PLIST,v 1.44 2026/11/02 08:41:31 adam Exp $
bin/cftp-${PYVERSSUFFIX}
bin/ckeygen-${PYVERSSUFFIX}
bin/conch-${PYVERSSUFFIX}
@@ -706,6 +706,9 @@ ${PYSITELIB}/twisted/internet/test/test_
${PYSITELIB}/twisted/internet/test/test_error.py
${PYSITELIB}/twisted/internet/test/test_error.pyc
${PYSITELIB}/twisted/internet/test/test_error.pyo
+${PYSITELIB}/twisted/internet/test/test_fakes.py
+${PYSITELIB}/twisted/internet/test/test_fakes.pyc
+${PYSITELIB}/twisted/internet/test/test_fakes.pyo
${PYSITELIB}/twisted/internet/test/test_fdset.py
${PYSITELIB}/twisted/internet/test/test_fdset.pyc
${PYSITELIB}/twisted/internet/test/test_fdset.pyo
Index: pkgsrc/net/py-twisted/distinfo
diff -u pkgsrc/net/py-twisted/distinfo:1.52 pkgsrc/net/py-twisted/distinfo:1.53
--- pkgsrc/net/py-twisted/distinfo:1.52 Wed May 20 06:32:56 2026
+++ pkgsrc/net/py-twisted/distinfo Mon Nov 2 08:41:31 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.52 2026/05/20 06:32:56 adam Exp $
+$NetBSD: distinfo,v 1.53 2026/11/02 08:41:31 adam Exp $
-BLAKE2s (twisted-26.4.0.tar.gz) = 67765cc3c8f13718b8cc214ec987a014281285c3cca57b775766b4a02fc155d0
-SHA512 (twisted-26.4.0.tar.gz) = 03b9f8ead925c0cf42c2f74cfb1045fd119e4cb3e197606946b075ce8caf75eb2edad208b610f0ba8628da6b4dda5b29da7f2bd04f76a61a112d45f3e4b8ad22
-Size (twisted-26.4.0.tar.gz) = 3575095 bytes
+BLAKE2s (twisted-26.10.0.tar.gz) = 49671e32d5c574a642dacab6bd0df261bdab48619374e1feb38b3be9ba94958b
+SHA512 (twisted-26.10.0.tar.gz) = 27d14bbd96d6a8a93f2674f30d2be4fc0d11d6aefcbead6d434147c7d72e937a8970cf9a2ef719cc694d963d4126f18de9cbcbad8284c626b03ab3e56ab6e6d2
+Size (twisted-26.10.0.tar.gz) = 3603405 bytes
Home |
Main Index |
Thread Index |
Old Index