pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net
Module Name: pkgsrc
Committed By: adam
Date: Wed Nov 13 09:11:40 UTC 2024
Modified Files:
pkgsrc/net/py-twisted: Makefile Makefile.common PLIST distinfo
pkgsrc/net/py-twisted-docs: Makefile
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@localhost and sk-ecdsa-sha2-nistp256%openssh.com@localhost.
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.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/net/py-twisted/Makefile
cvs rdiff -u -r1.52 -r1.53 pkgsrc/net/py-twisted/Makefile.common
cvs rdiff -u -r1.39 -r1.40 pkgsrc/net/py-twisted/PLIST
cvs rdiff -u -r1.48 -r1.49 pkgsrc/net/py-twisted/distinfo
cvs rdiff -u -r1.19 -r1.20 pkgsrc/net/py-twisted-docs/Makefile
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.55 pkgsrc/net/py-twisted/Makefile:1.56
--- pkgsrc/net/py-twisted/Makefile:1.55 Fri Apr 5 17:31:54 2024
+++ pkgsrc/net/py-twisted/Makefile Wed Nov 13 09:11:39 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2024/04/05 17:31:54 adam Exp $
+# $NetBSD: Makefile,v 1.56 2024/11/13 09:11:39 adam Exp $
.include "../../net/py-twisted/Makefile.common"
@@ -7,36 +7,35 @@ 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}-zope.interface>=5:../../devel/py-zope.interface
+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}-incremental>=22.10.0:../../devel/py-incremental
-DEPENDS+= ${PYPKGPREFIX}-automat>=0.8.0:../../devel/py-automat
DEPENDS+= ${PYPKGPREFIX}-hyperlink>=17.1.1:../../www/py-hyperlink
-DEPENDS+= ${PYPKGPREFIX}-attrs>=21.3.0:../../devel/py-attrs
+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}-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
-DEPENDS+= ${PYPKGPREFIX}-bcrypt>=1.4.0:../../security/py-bcrypt
+DEPENDS+= ${PYPKGPREFIX}-bcrypt>=3.1.3:../../security/py-bcrypt
# serial
DEPENDS+= ${PYPKGPREFIX}-serial>=3.0:../../comms/py-serial
# http2
-DEPENDS+= ${PYPKGPREFIX}-h2>=3.0:../../www/py-h2
+DEPENDS+= ${PYPKGPREFIX}-h2>=3.2:../../www/py-h2
DEPENDS+= ${PYPKGPREFIX}-priority>=1.1.0:../../www/py-priority
-TEST_DEPENDS+= ${PYPKGPREFIX}-hamcrest>=1.9.0:../../devel/py-hamcrest
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+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
USE_LANGUAGES= c99
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
post-install:
.for bin in cftp ckeygen conch mailmail pyhtmlizer tkconch trial twist twistd
cd ${DESTDIR}${PREFIX}/bin && \
Index: pkgsrc/net/py-twisted/Makefile.common
diff -u pkgsrc/net/py-twisted/Makefile.common:1.52 pkgsrc/net/py-twisted/Makefile.common:1.53
--- pkgsrc/net/py-twisted/Makefile.common:1.52 Sat Aug 10 13:50:13 2024
+++ pkgsrc/net/py-twisted/Makefile.common Wed Nov 13 09:11:39 2024
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.52 2024/08/10 13:50:13 gdt Exp $
+# $NetBSD: Makefile.common,v 1.53 2024/11/13 09:11:39 adam Exp $
#
# used by net/py-twisted/Makefile
# used by net/py-twisted-docs/Makefile
-DISTNAME= twisted-24.7.0
+DISTNAME= twisted-24.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.39 pkgsrc/net/py-twisted/PLIST:1.40
--- pkgsrc/net/py-twisted/PLIST:1.39 Sat Aug 10 13:50:13 2024
+++ pkgsrc/net/py-twisted/PLIST Wed Nov 13 09:11:39 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.39 2024/08/10 13:50:13 gdt Exp $
+@comment $NetBSD: PLIST,v 1.40 2024/11/13 09:11:39 adam Exp $
bin/cftp-${PYVERSSUFFIX}
bin/ckeygen-${PYVERSSUFFIX}
bin/conch-${PYVERSSUFFIX}
@@ -61,6 +61,9 @@ ${PYSITELIB}/twisted/_version.pyo
${PYSITELIB}/twisted/application/__init__.py
${PYSITELIB}/twisted/application/__init__.pyc
${PYSITELIB}/twisted/application/__init__.pyo
+${PYSITELIB}/twisted/application/_client_service.py
+${PYSITELIB}/twisted/application/_client_service.pyc
+${PYSITELIB}/twisted/application/_client_service.pyo
${PYSITELIB}/twisted/application/app.py
${PYSITELIB}/twisted/application/app.pyc
${PYSITELIB}/twisted/application/app.pyo
@@ -2212,6 +2215,9 @@ ${PYSITELIB}/twisted/trial/util.pyo
${PYSITELIB}/twisted/web/__init__.py
${PYSITELIB}/twisted/web/__init__.pyc
${PYSITELIB}/twisted/web/__init__.pyo
+${PYSITELIB}/twisted/web/_abnf.py
+${PYSITELIB}/twisted/web/_abnf.pyc
+${PYSITELIB}/twisted/web/_abnf.pyo
${PYSITELIB}/twisted/web/_auth/__init__.py
${PYSITELIB}/twisted/web/_auth/__init__.pyc
${PYSITELIB}/twisted/web/_auth/__init__.pyo
@@ -2321,6 +2327,9 @@ ${PYSITELIB}/twisted/web/test/injectionh
${PYSITELIB}/twisted/web/test/requesthelper.py
${PYSITELIB}/twisted/web/test/requesthelper.pyc
${PYSITELIB}/twisted/web/test/requesthelper.pyo
+${PYSITELIB}/twisted/web/test/test_abnf.py
+${PYSITELIB}/twisted/web/test/test_abnf.pyc
+${PYSITELIB}/twisted/web/test/test_abnf.pyo
${PYSITELIB}/twisted/web/test/test_agent.py
${PYSITELIB}/twisted/web/test/test_agent.pyc
${PYSITELIB}/twisted/web/test/test_agent.pyo
Index: pkgsrc/net/py-twisted/distinfo
diff -u pkgsrc/net/py-twisted/distinfo:1.48 pkgsrc/net/py-twisted/distinfo:1.49
--- pkgsrc/net/py-twisted/distinfo:1.48 Sat Aug 10 13:50:13 2024
+++ pkgsrc/net/py-twisted/distinfo Wed Nov 13 09:11:39 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.48 2024/08/10 13:50:13 gdt Exp $
+$NetBSD: distinfo,v 1.49 2024/11/13 09:11:39 adam Exp $
-BLAKE2s (twisted-24.7.0.tar.gz) = 1802931a71c53835594a95c94bdcffbc418d9a250d627a9eff0e4f12ad818a9e
-SHA512 (twisted-24.7.0.tar.gz) = cd5a993c8f1dfdc82597bdc095e07c1016a2a86d1ce5b011b27f9f760db428fcba4579dda5733244979827f9c772c2480d1d419d2d24ae7af8697e2b8e852f62
-Size (twisted-24.7.0.tar.gz) = 3516844 bytes
+BLAKE2s (twisted-24.10.0.tar.gz) = 030ee2abdc4a2a7940e7b5ef4e5650ce21ea48602ef6292ce3a2cff4208d6c36
+SHA512 (twisted-24.10.0.tar.gz) = dad7c1301c3b31f096db8c4796e064e864c2c28107c46c202b4f4b123c99a0e69f9b43afbf582997dd2c15a08e95b41213e4bc67ea1fe9fd8137c76656a20162
+Size (twisted-24.10.0.tar.gz) = 3525999 bytes
Index: pkgsrc/net/py-twisted-docs/Makefile
diff -u pkgsrc/net/py-twisted-docs/Makefile:1.19 pkgsrc/net/py-twisted-docs/Makefile:1.20
--- pkgsrc/net/py-twisted-docs/Makefile:1.19 Sun Feb 13 08:53:44 2022
+++ pkgsrc/net/py-twisted-docs/Makefile Wed Nov 13 09:11:39 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2022/02/13 08:53:44 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2024/11/13 09:11:39 adam Exp $
PKGNAME= py-${DISTNAME:S/Twisted/twisted-docs/}
COMMENT= Framework for writing networked applications (documentation)
@@ -14,10 +14,8 @@ PLIST_SRC= ${WRKDIR}/.PLIST_SRC
INSTALLATION_DIRS= ${HTMLDIR}
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
do-install:
- cd ${DOC_SRCDIR} && pax -rw -pp * ${DESTDIR}${PREFIX}/${HTMLDIR}
+ cd ${DOC_SRCDIR} && ${PAX} -rw -pp * ${DESTDIR}${PREFIX}/${HTMLDIR}
cd ${DESTDIR}${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index