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:           Fri Jun 13 06:56:56 UTC 2025

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

Log Message:
py-twisted: updated to 25.5.0

Twisted 25.5.0 (2025-06-07)

This is the last release with support for Python 3.8.
No changes since 25.5.0.rc1.

Bugfixes

- twisted.internet.runner.procmon.ProcessMonitor: startProcess() catches exceptions raised by reactor.spawnProcess() and attempts to restart the failed process.

Deprecations and Removals

- twisted.trial.unittest.TestCase.deferSetUp, twisted.trial.unittest.TestCase.deferTestMethod, twisted.trial.unittest.TestCase.deferTearDown, and twisted.trial.unittest.TestCase.deferRunCleanups were 
removed and converted to private methods. These functions expose so much of the internal structure of TestCase that it makes the code hard to change.
- twisted.internet.defer.waitForDeferred twisted.internet.defer.deferredGenerator have been removed. They have been deprecated since Twisted 15.0.0
- twisted.internet.defer.Deferred.callbacks attribute has been deprecated.

Conch

Bugfixes

- twisted.conch.client.direct.SSHClientTransport.verifyHostKey no longer crashes with an encoding error while attempting to verify the peer's IP address. This means that the `conch` command-line tool 
will no longer fail host key verification with 'bad host key' when using a known hosts file containing only plaintext, rather than hashed, hostnames.

Web

Features

- The twisted.web.websockets module has been added, adding a websockets server and client based on the wsproto library.
- ``twisted.web.server.Site`` can now be created with a ``parsePOSTFormSubmission=False`` parameter to disable parsing of HTTP request bodies.

Bugfixes

- twisted.web.http.Request.addCookie now supports the `none` value for cookie's `samesite` attribute.
- twisted.web.http.Request.requestReceived now handles multiple files in multipart/form-data with the same "name" parameter. This was a regression introduced in Twisted 24.3.0.

Improved Documentation

- An error in the example for using a Resource object in th documentation on Configuring and Using the Twisted Web Server has been correctd.

  Furthermore, a number of references to "strings" where "bytes" where expected has been adjusted.

Mail

Bugfixes

- twisted.mail.mail.MailService.addDomain now adds the given domain's credential
  checkers to the service's portal, allowing users to authenticate to the domain.

Words

No significant changes.

Names

No significant changes.

Trial

Bugfixes

- twisted.trial.unittest.TestCase.addCleanup will cause the test to fail if the returned deferred is not resolved before the test's timeout.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/net/py-twisted/Makefile
cvs rdiff -u -r1.54 -r1.55 pkgsrc/net/py-twisted/Makefile.common
cvs rdiff -u -r1.41 -r1.42 pkgsrc/net/py-twisted/PLIST
cvs rdiff -u -r1.50 -r1.51 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.57 pkgsrc/net/py-twisted/Makefile:1.58
--- pkgsrc/net/py-twisted/Makefile:1.57 Tue Feb 18 15:32:10 2025
+++ pkgsrc/net/py-twisted/Makefile      Fri Jun 13 06:56:56 2025
@@ -1,36 +1,34 @@
-# $NetBSD: Makefile,v 1.57 2025/02/18 15:32:10 wiz Exp $
+# $NetBSD: Makefile,v 1.58 2025/06/13 06:56:56 adam Exp $
 
 .include "../../net/py-twisted/Makefile.common"
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 COMMENT=       Framework for writing networked applications
 
-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}-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
+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}-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
 # tls
-DEPENDS+=                      ${PYPKGPREFIX}-idna>=2.4:../../www/py-idna
-DEPENDS+=                      ${PYPKGPREFIX}-service_identity>=18.1.0:../../security/py-service_identity
+DEPENDS+=      ${PYPKGPREFIX}-idna>=2.4:../../www/py-idna
+DEPENDS+=      ${PYPKGPREFIX}-service_identity>=18.1.0:../../security/py-service_identity
 PYTHON_VERSIONED_DEPENDENCIES+=        OpenSSL
 # conch
-PYTHON_VERSIONED_DEPENDENCIES+=        cryptography
-DEPENDS+=                      ${PYPKGPREFIX}-appdirs>=1.4.0:../../devel/py-appdirs
-PYTHON_VERSIONED_DEPENDENCIES+=        bcrypt
+PYTHON_VERSIONED_DEPENDENCIES+=        bcrypt cryptography
+DEPENDS+=      ${PYPKGPREFIX}-appdirs>=1.4.0:../../devel/py-appdirs
 # serial
-DEPENDS+=                      ${PYPKGPREFIX}-serial>=3.0:../../comms/py-serial
+DEPENDS+=      ${PYPKGPREFIX}-serial>=3.0:../../comms/py-serial
 # http2
-DEPENDS+=                      ${PYPKGPREFIX}-h2>=3.2:../../www/py-h2
-DEPENDS+=                      ${PYPKGPREFIX}-priority>=1.1.0:../../www/py-priority
-TEST_DEPENDS+=                 ${PYPKGPREFIX}-hamcrest>=2:../../devel/py-hamcrest
-TEST_DEPENDS+=                 ${PYPKGPREFIX}-httpx>=0.27:../../www/py-httpx
-TEST_DEPENDS+=                 ${PYPKGPREFIX}-hypothesis>=6.56:../../devel/py-hypothesis
+DEPENDS+=      ${PYPKGPREFIX}-h2>=3.2:../../www/py-h2
+DEPENDS+=      ${PYPKGPREFIX}-priority>=1.1.0:../../www/py-priority
+TEST_DEPENDS+= ${PYPKGPREFIX}-hamcrest>=2:../../devel/py-hamcrest
+TEST_DEPENDS+= ${PYPKGPREFIX}-httpx>=0.27:../../www/py-httpx
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=6.56:../../devel/py-hypothesis
 
 REPLACE_PYTHON+=       src/twisted/mail/test/pop3testserver.py
 REPLACE_PYTHON+=       src/twisted/trial/test/scripttest.py

Index: pkgsrc/net/py-twisted/Makefile.common
diff -u pkgsrc/net/py-twisted/Makefile.common:1.54 pkgsrc/net/py-twisted/Makefile.common:1.55
--- pkgsrc/net/py-twisted/Makefile.common:1.54  Tue Dec 31 09:54:06 2024
+++ pkgsrc/net/py-twisted/Makefile.common       Fri Jun 13 06:56:56 2025
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.54 2024/12/31 09:54:06 adam Exp $
+# $NetBSD: Makefile.common,v 1.55 2025/06/13 06:56:56 adam Exp $
 #
 # used by net/py-twisted/Makefile
 # used by net/py-twisted-docs/Makefile
 
-DISTNAME=      twisted-24.11.0
+DISTNAME=      twisted-25.5.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.41 pkgsrc/net/py-twisted/PLIST:1.42
--- pkgsrc/net/py-twisted/PLIST:1.41    Tue Dec 31 09:54:06 2024
+++ pkgsrc/net/py-twisted/PLIST Fri Jun 13 06:56:56 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.41 2024/12/31 09:54:06 adam Exp $
+@comment $NetBSD: PLIST,v 1.42 2025/06/13 06:56:56 adam Exp $
 bin/cftp-${PYVERSSUFFIX}
 bin/ckeygen-${PYVERSSUFFIX}
 bin/conch-${PYVERSSUFFIX}
@@ -1378,6 +1378,7 @@ ${PYSITELIB}/twisted/python/_appdirs.pyo
 ${PYSITELIB}/twisted/python/_inotify.py
 ${PYSITELIB}/twisted/python/_inotify.pyc
 ${PYSITELIB}/twisted/python/_inotify.pyo
+${PYSITELIB}/twisted/python/_pydoctortemplates/stable-link.js
 ${PYSITELIB}/twisted/python/_pydoctortemplates/subheader.html
 ${PYSITELIB}/twisted/python/_release.py
 ${PYSITELIB}/twisted/python/_release.pyc
@@ -1821,9 +1822,6 @@ ${PYSITELIB}/twisted/test/test_cooperato
 ${PYSITELIB}/twisted/test/test_defer.py
 ${PYSITELIB}/twisted/test/test_defer.pyc
 ${PYSITELIB}/twisted/test/test_defer.pyo
-${PYSITELIB}/twisted/test/test_defgen.py
-${PYSITELIB}/twisted/test/test_defgen.pyc
-${PYSITELIB}/twisted/test/test_defgen.pyo
 ${PYSITELIB}/twisted/test/test_dirdbm.py
 ${PYSITELIB}/twisted/test/test_dirdbm.pyc
 ${PYSITELIB}/twisted/test/test_dirdbm.pyo
@@ -2248,6 +2246,9 @@ ${PYSITELIB}/twisted/web/_stan.pyo
 ${PYSITELIB}/twisted/web/_template_util.py
 ${PYSITELIB}/twisted/web/_template_util.pyc
 ${PYSITELIB}/twisted/web/_template_util.pyo
+${PYSITELIB}/twisted/web/_websocket_impl.py
+${PYSITELIB}/twisted/web/_websocket_impl.pyc
+${PYSITELIB}/twisted/web/_websocket_impl.pyo
 ${PYSITELIB}/twisted/web/client.py
 ${PYSITELIB}/twisted/web/client.pyc
 ${PYSITELIB}/twisted/web/client.pyo
@@ -2405,6 +2406,9 @@ ${PYSITELIB}/twisted/web/test/test_web__
 ${PYSITELIB}/twisted/web/test/test_webclient.py
 ${PYSITELIB}/twisted/web/test/test_webclient.pyc
 ${PYSITELIB}/twisted/web/test/test_webclient.pyo
+${PYSITELIB}/twisted/web/test/test_websocket.py
+${PYSITELIB}/twisted/web/test/test_websocket.pyc
+${PYSITELIB}/twisted/web/test/test_websocket.pyo
 ${PYSITELIB}/twisted/web/test/test_wsgi.py
 ${PYSITELIB}/twisted/web/test/test_wsgi.pyc
 ${PYSITELIB}/twisted/web/test/test_wsgi.pyo
@@ -2423,6 +2427,9 @@ ${PYSITELIB}/twisted/web/util.pyo
 ${PYSITELIB}/twisted/web/vhost.py
 ${PYSITELIB}/twisted/web/vhost.pyc
 ${PYSITELIB}/twisted/web/vhost.pyo
+${PYSITELIB}/twisted/web/websocket.py
+${PYSITELIB}/twisted/web/websocket.pyc
+${PYSITELIB}/twisted/web/websocket.pyo
 ${PYSITELIB}/twisted/web/wsgi.py
 ${PYSITELIB}/twisted/web/wsgi.pyc
 ${PYSITELIB}/twisted/web/wsgi.pyo

Index: pkgsrc/net/py-twisted/distinfo
diff -u pkgsrc/net/py-twisted/distinfo:1.50 pkgsrc/net/py-twisted/distinfo:1.51
--- pkgsrc/net/py-twisted/distinfo:1.50 Tue Dec 31 09:54:06 2024
+++ pkgsrc/net/py-twisted/distinfo      Fri Jun 13 06:56:56 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.50 2024/12/31 09:54:06 adam Exp $
+$NetBSD: distinfo,v 1.51 2025/06/13 06:56:56 adam Exp $
 
-BLAKE2s (twisted-24.11.0.tar.gz) = 6ca51b53568beafe278ff45808aedc1f1c969ae589390b4883ffaca5d035d5ad
-SHA512 (twisted-24.11.0.tar.gz) = cfd17cad9573b47b43761625ab529a1a0b27ce75545d9bc277622a7ce138b5dccf554d3c8764de1baafc07192e1172e50f4c6d19dc65590b5318a603a808efb9
-Size (twisted-24.11.0.tar.gz) = 3526722 bytes
+BLAKE2s (twisted-25.5.0.tar.gz) = 78826d9918335868680c2edd016ddd2eb8ddff9ad6159bb6f2a1537416a399bd
+SHA512 (twisted-25.5.0.tar.gz) = 3d023777854fdf54e06f4bbaf3159359767aac9ba33e90d2b2e8abe29815d088e00eebd06944c12610a28c517d9cb397a5104ff153160edabfb91dd16a15f597
+Size (twisted-25.5.0.tar.gz) = 3545725 bytes



Home | Main Index | Thread Index | Old Index