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:   wiz
Date:           Sun Nov  5 10:38:35 UTC 2023

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

Log Message:
py-twisted: update to 23.10.0

Twisted 23.10.0 (2023-10-31)
============================

Features
--------

- twisted.python.filepath.FilePath and related classes (twisted.python.filepath.IFilepath, twisted.python.filepath.AbstractFilePath, twisted.python.zippath.ZipPath, and 
twisted.python.zippath.ZipArchive) now have type annotations.  Additionally, FilePath is now generic, describing its mode, so you can annotate variables as FilePath[str] or FilePath[bytes] depending 
on the types that you wish to get back from the 'path' attribute and related methods like 'basename'. (#11822)
- When using `CPython`, functions wrapped by `twisted.internet.defer.inlineCallbacks` can have their arguments and return values freed immediately after completion (due to there no longer being 
circular references). (#11885)

Bugfixes
--------

- Fix TypeError on t.i.cfreactor due to 3.10 type annotation syntax (#11965)
- Fix the type annotations of DeferredLock.run, DeferredSemaphore.run, maybeDeferred, ensureDeferred, inlineCallbacks and fromCoroutine that used to return Deferred[Any] to return the result of the 
passed Coroutine/Coroutine function (#11985)
- Fixed significant performance overhead (CPU and bandwidth) when doing small writes to a TLS transport. Specifically, small writes to a TLS transport are now buffered until the next reactor 
iteration. (#11989)
- fix mypy due to hypothesis 6.85 (#11995)


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/net/py-twisted/Makefile
cvs rdiff -u -r1.49 -r1.50 pkgsrc/net/py-twisted/Makefile.common
cvs rdiff -u -r1.36 -r1.37 pkgsrc/net/py-twisted/PLIST
cvs rdiff -u -r1.45 -r1.46 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.53 pkgsrc/net/py-twisted/Makefile:1.54
--- pkgsrc/net/py-twisted/Makefile:1.53 Sun Jun 18 05:39:37 2023
+++ pkgsrc/net/py-twisted/Makefile      Sun Nov  5 10:38:35 2023
@@ -1,20 +1,34 @@
-# $NetBSD: Makefile,v 1.53 2023/06/18 05:39:37 adam Exp $
+# $NetBSD: Makefile,v 1.54 2023/11/05 10:38:35 wiz Exp $
 
 .include "../../net/py-twisted/Makefile.common"
 
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 COMMENT=       Framework for writing networked applications
 
-DEPENDS+=      ${PYPKGPREFIX}-zope.interface>=4.4.2:../../devel/py-zope.interface
-DEPENDS+=      ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
-DEPENDS+=      ${PYPKGPREFIX}-automat>=0.8.0:../../devel/py-automat
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme-[0-9]*:../../devel/py-hatch-fancy-pypi-readme
+DEPENDS+=      ${PYPKGPREFIX}-zope.interface>=5:../../devel/py-zope.interface
 DEPENDS+=      ${PYPKGPREFIX}-constantly>=15.1:../../devel/py-constantly
-DEPENDS+=      ${PYPKGPREFIX}-hamcrest>=1.9.0:../../devel/py-hamcrest
+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}-incremental>=21.3.0:../../devel/py-incremental
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.6.5:../../devel/py-typing-extensions
+DEPENDS+=      ${PYPKGPREFIX}-attrs>=21.3.0:../../devel/py-attrs
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.2.0:../../devel/py-typing-extensions
+# tls
 DEPENDS+=      ${PYPKGPREFIX}-service_identity>=18.1.0:../../security/py-service_identity
 DEPENDS+=      ${PYPKGPREFIX}-idna>=2.4:../../www/py-idna
+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
+# serial
+DEPENDS+=      ${PYPKGPREFIX}-serial>=3.0:../../comms/py-serial
+# http2
+DEPENDS+=      ${PYPKGPREFIX}-h2>=3.0:../../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
 
 REPLACE_PYTHON+=       src/twisted/mail/test/pop3testserver.py
 REPLACE_PYTHON+=       src/twisted/trial/test/scripttest.py
@@ -32,7 +46,6 @@ post-install:
 .endfor
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/egg.mk"
-PYTHON_VERSIONED_DEPENDENCIES+=        OpenSSL
+.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.49 pkgsrc/net/py-twisted/Makefile.common:1.50
--- pkgsrc/net/py-twisted/Makefile.common:1.49  Sun Nov 27 10:44:20 2022
+++ pkgsrc/net/py-twisted/Makefile.common       Sun Nov  5 10:38:35 2023
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.49 2022/11/27 10:44:20 adam Exp $
+# $NetBSD: Makefile.common,v 1.50 2023/11/05 10:38:35 wiz Exp $
 #
 # used by net/py-twisted/Makefile
 # used by net/py-twisted-docs/Makefile
 
-DISTNAME=      Twisted-22.10.0
+DISTNAME=      twisted-23.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.36 pkgsrc/net/py-twisted/PLIST:1.37
--- pkgsrc/net/py-twisted/PLIST:1.36    Sun Nov 27 10:44:20 2022
+++ pkgsrc/net/py-twisted/PLIST Sun Nov  5 10:38:35 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.36 2022/11/27 10:44:20 adam Exp $
+@comment $NetBSD: PLIST,v 1.37 2023/11/05 10:38:35 wiz Exp $
 bin/cftp-${PYVERSSUFFIX}
 bin/ckeygen-${PYVERSSUFFIX}
 bin/conch-${PYVERSSUFFIX}
@@ -8,13 +8,12 @@ bin/tkconch-${PYVERSSUFFIX}
 bin/trial-${PYVERSSUFFIX}
 bin/twist-${PYVERSSUFFIX}
 bin/twistd-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/twisted/11715.misc
 ${PYSITELIB}/twisted/__init__.py
 ${PYSITELIB}/twisted/__init__.pyc
 ${PYSITELIB}/twisted/__init__.pyo
@@ -69,6 +68,8 @@ ${PYSITELIB}/twisted/application/app.pyo
 ${PYSITELIB}/twisted/application/internet.py
 ${PYSITELIB}/twisted/application/internet.pyc
 ${PYSITELIB}/twisted/application/internet.pyo
+${PYSITELIB}/twisted/application/newsfragments/10146.misc
+${PYSITELIB}/twisted/application/newsfragments/9746.misc
 ${PYSITELIB}/twisted/application/reactors.py
 ${PYSITELIB}/twisted/application/reactors.pyc
 ${PYSITELIB}/twisted/application/reactors.pyo
@@ -198,6 +199,7 @@ ${PYSITELIB}/twisted/conch/manhole_tap.p
 ${PYSITELIB}/twisted/conch/mixin.py
 ${PYSITELIB}/twisted/conch/mixin.pyc
 ${PYSITELIB}/twisted/conch/mixin.pyo
+${PYSITELIB}/twisted/conch/newsfragments/.gitignore
 ${PYSITELIB}/twisted/conch/openssh_compat/__init__.py
 ${PYSITELIB}/twisted/conch/openssh_compat/__init__.pyc
 ${PYSITELIB}/twisted/conch/openssh_compat/__init__.pyo
@@ -231,9 +233,6 @@ ${PYSITELIB}/twisted/conch/ssh/__init__.
 ${PYSITELIB}/twisted/conch/ssh/_kex.py
 ${PYSITELIB}/twisted/conch/ssh/_kex.pyc
 ${PYSITELIB}/twisted/conch/ssh/_kex.pyo
-${PYSITELIB}/twisted/conch/ssh/_keys_pynacl.py
-${PYSITELIB}/twisted/conch/ssh/_keys_pynacl.pyc
-${PYSITELIB}/twisted/conch/ssh/_keys_pynacl.pyo
 ${PYSITELIB}/twisted/conch/ssh/address.py
 ${PYSITELIB}/twisted/conch/ssh/address.pyc
 ${PYSITELIB}/twisted/conch/ssh/address.pyo
@@ -456,6 +455,9 @@ ${PYSITELIB}/twisted/internet/__init__.p
 ${PYSITELIB}/twisted/internet/_baseprocess.py
 ${PYSITELIB}/twisted/internet/_baseprocess.pyc
 ${PYSITELIB}/twisted/internet/_baseprocess.pyo
+${PYSITELIB}/twisted/internet/_deprecate.py
+${PYSITELIB}/twisted/internet/_deprecate.pyc
+${PYSITELIB}/twisted/internet/_deprecate.pyo
 ${PYSITELIB}/twisted/internet/_dumbwin32proc.py
 ${PYSITELIB}/twisted/internet/_dumbwin32proc.pyc
 ${PYSITELIB}/twisted/internet/_dumbwin32proc.pyo
@@ -669,6 +671,9 @@ ${PYSITELIB}/twisted/internet/test/test_
 ${PYSITELIB}/twisted/internet/test/test_baseprocess.py
 ${PYSITELIB}/twisted/internet/test/test_baseprocess.pyc
 ${PYSITELIB}/twisted/internet/test/test_baseprocess.pyo
+${PYSITELIB}/twisted/internet/test/test_cfreactor.py
+${PYSITELIB}/twisted/internet/test/test_cfreactor.pyc
+${PYSITELIB}/twisted/internet/test/test_cfreactor.pyo
 ${PYSITELIB}/twisted/internet/test/test_core.py
 ${PYSITELIB}/twisted/internet/test/test_core.pyc
 ${PYSITELIB}/twisted/internet/test/test_core.pyo
@@ -735,6 +740,9 @@ ${PYSITELIB}/twisted/internet/test/test_
 ${PYSITELIB}/twisted/internet/test/test_protocol.py
 ${PYSITELIB}/twisted/internet/test/test_protocol.pyc
 ${PYSITELIB}/twisted/internet/test/test_protocol.pyo
+${PYSITELIB}/twisted/internet/test/test_reactormixins.py
+${PYSITELIB}/twisted/internet/test/test_reactormixins.pyc
+${PYSITELIB}/twisted/internet/test/test_reactormixins.pyo
 ${PYSITELIB}/twisted/internet/test/test_resolver.py
 ${PYSITELIB}/twisted/internet/test/test_resolver.pyc
 ${PYSITELIB}/twisted/internet/test/test_resolver.pyo
@@ -936,6 +944,7 @@ ${PYSITELIB}/twisted/mail/mail.pyo
 ${PYSITELIB}/twisted/mail/maildir.py
 ${PYSITELIB}/twisted/mail/maildir.pyc
 ${PYSITELIB}/twisted/mail/maildir.pyo
+${PYSITELIB}/twisted/mail/newsfragments/.gitignore
 ${PYSITELIB}/twisted/mail/pb.py
 ${PYSITELIB}/twisted/mail/pb.pyc
 ${PYSITELIB}/twisted/mail/pb.pyo
@@ -1027,6 +1036,7 @@ ${PYSITELIB}/twisted/names/error.pyo
 ${PYSITELIB}/twisted/names/hosts.py
 ${PYSITELIB}/twisted/names/hosts.pyc
 ${PYSITELIB}/twisted/names/hosts.pyo
+${PYSITELIB}/twisted/names/newsfragments/.gitignore
 ${PYSITELIB}/twisted/names/resolve.py
 ${PYSITELIB}/twisted/names/resolve.pyc
 ${PYSITELIB}/twisted/names/resolve.pyo
@@ -1090,6 +1100,7 @@ ${PYSITELIB}/twisted/names/test/test_tap
 ${PYSITELIB}/twisted/names/test/test_util.py
 ${PYSITELIB}/twisted/names/test/test_util.pyc
 ${PYSITELIB}/twisted/names/test/test_util.pyo
+${PYSITELIB}/twisted/newsfragments/.gitignore
 ${PYSITELIB}/twisted/pair/__init__.py
 ${PYSITELIB}/twisted/pair/__init__.pyc
 ${PYSITELIB}/twisted/pair/__init__.pyo
@@ -1129,6 +1140,12 @@ ${PYSITELIB}/twisted/pair/tuntap.pyo
 ${PYSITELIB}/twisted/persisted/__init__.py
 ${PYSITELIB}/twisted/persisted/__init__.pyc
 ${PYSITELIB}/twisted/persisted/__init__.pyo
+${PYSITELIB}/twisted/persisted/_token.py
+${PYSITELIB}/twisted/persisted/_token.pyc
+${PYSITELIB}/twisted/persisted/_token.pyo
+${PYSITELIB}/twisted/persisted/_tokenize.py
+${PYSITELIB}/twisted/persisted/_tokenize.pyc
+${PYSITELIB}/twisted/persisted/_tokenize.pyo
 ${PYSITELIB}/twisted/persisted/aot.py
 ${PYSITELIB}/twisted/persisted/aot.pyc
 ${PYSITELIB}/twisted/persisted/aot.pyo
@@ -1138,6 +1155,7 @@ ${PYSITELIB}/twisted/persisted/crefutil.
 ${PYSITELIB}/twisted/persisted/dirdbm.py
 ${PYSITELIB}/twisted/persisted/dirdbm.pyc
 ${PYSITELIB}/twisted/persisted/dirdbm.pyo
+${PYSITELIB}/twisted/persisted/newsfragments/9831.misc
 ${PYSITELIB}/twisted/persisted/sob.py
 ${PYSITELIB}/twisted/persisted/sob.pyc
 ${PYSITELIB}/twisted/persisted/sob.pyo
@@ -1576,6 +1594,8 @@ ${PYSITELIB}/twisted/runner/inetdconf.py
 ${PYSITELIB}/twisted/runner/inetdtap.py
 ${PYSITELIB}/twisted/runner/inetdtap.pyc
 ${PYSITELIB}/twisted/runner/inetdtap.pyo
+${PYSITELIB}/twisted/runner/newsfragments/11681.misc
+${PYSITELIB}/twisted/runner/newsfragments/9657.doc
 ${PYSITELIB}/twisted/runner/procmon.py
 ${PYSITELIB}/twisted/runner/procmon.pyc
 ${PYSITELIB}/twisted/runner/procmon.pyo
@@ -1606,6 +1626,7 @@ ${PYSITELIB}/twisted/scripts/_twistw.pyo
 ${PYSITELIB}/twisted/scripts/htmlizer.py
 ${PYSITELIB}/twisted/scripts/htmlizer.pyc
 ${PYSITELIB}/twisted/scripts/htmlizer.pyo
+${PYSITELIB}/twisted/scripts/newsfragments/761.bugfix
 ${PYSITELIB}/twisted/scripts/test/__init__.py
 ${PYSITELIB}/twisted/scripts/test/__init__.pyc
 ${PYSITELIB}/twisted/scripts/test/__init__.pyo
@@ -2056,6 +2077,7 @@ ${PYSITELIB}/twisted/trial/_synctest.pyo
 ${PYSITELIB}/twisted/trial/itrial.py
 ${PYSITELIB}/twisted/trial/itrial.pyc
 ${PYSITELIB}/twisted/trial/itrial.pyo
+${PYSITELIB}/twisted/trial/newsfragments/.gitignore
 ${PYSITELIB}/twisted/trial/reporter.py
 ${PYSITELIB}/twisted/trial/reporter.pyc
 ${PYSITELIB}/twisted/trial/reporter.pyo
@@ -2254,6 +2276,7 @@ ${PYSITELIB}/twisted/web/iweb.pyo
 ${PYSITELIB}/twisted/web/microdom.py
 ${PYSITELIB}/twisted/web/microdom.pyc
 ${PYSITELIB}/twisted/web/microdom.pyo
+${PYSITELIB}/twisted/web/newsfragments/.gitignore
 ${PYSITELIB}/twisted/web/pages.py
 ${PYSITELIB}/twisted/web/pages.pyc
 ${PYSITELIB}/twisted/web/pages.pyo
@@ -2438,6 +2461,7 @@ ${PYSITELIB}/twisted/words/im/pbsupport.
 ${PYSITELIB}/twisted/words/iwords.py
 ${PYSITELIB}/twisted/words/iwords.pyc
 ${PYSITELIB}/twisted/words/iwords.pyo
+${PYSITELIB}/twisted/words/newsfragments/.gitignore
 ${PYSITELIB}/twisted/words/protocols/__init__.py
 ${PYSITELIB}/twisted/words/protocols/__init__.pyc
 ${PYSITELIB}/twisted/words/protocols/__init__.pyo

Index: pkgsrc/net/py-twisted/distinfo
diff -u pkgsrc/net/py-twisted/distinfo:1.45 pkgsrc/net/py-twisted/distinfo:1.46
--- pkgsrc/net/py-twisted/distinfo:1.45 Sun Nov 27 10:44:20 2022
+++ pkgsrc/net/py-twisted/distinfo      Sun Nov  5 10:38:35 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.45 2022/11/27 10:44:20 adam Exp $
+$NetBSD: distinfo,v 1.46 2023/11/05 10:38:35 wiz Exp $
 
-BLAKE2s (Twisted-22.10.0.tar.gz) = 2055f9cc5e64078d17a77e76dde0db0dc9d7eb7874fba29998e0d89b2d54b6a2
-SHA512 (Twisted-22.10.0.tar.gz) = 36adac424f6776c7db870d2291713da41054e974dfac0dbc1cbd55f76915a92073bcb25d4593b82e229d154d5297c67e7ba82d808921d206c97c8024bd5431a8
-Size (Twisted-22.10.0.tar.gz) = 3524935 bytes
+BLAKE2s (twisted-23.10.0.tar.gz) = 534921f7e5c305946e193bb850d2662ef4870147d6c9d3ba710b735fefb55147
+SHA512 (twisted-23.10.0.tar.gz) = da6cc663005776fca716503ec53ae367576e9c89ec2b90a367e73afb1e63c51a24dfad39b9ed1edb597e77e1d805dcbd179cefc1685faddd4044efc8f6c82d5f
+Size (twisted-23.10.0.tar.gz) = 3495627 bytes



Home | Main Index | Thread Index | Old Index