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 Apr 5 17:31:54 UTC 2024
Modified Files:
pkgsrc/net/py-twisted: Makefile Makefile.common PLIST distinfo
Log Message:
py-twisted: updated to 24.3.0
Twisted 24.3.0 (2024-03-01)
===========================
This release supports PyPy v7.3.14.
Bugfixes
--------
- twisted.logger.formatEvent now honors dotted method names, not just flat
function names, in format strings, as it has long been explicitly documented to
do. So, you will now get the expected result from `formatEvent("here's the
result of calling a method at log-format time: {obj.method()}", obj=...)`
- twisted.web.http.HTTPChannel now ignores the trailer headers provided in the last chunk of a chunked encoded response, rather than raising an exception.
- twisted.protocols.tls.BufferingTLSTransport, used by default by twisted.protocols.tls.TLSMemoryBIOFactory, was refactored for improved performance when doing a high number of small writes.
- twisted.python.failure.Failure now throws exception for generators without triggering a deprecation warnings on Python 3.12.
- twisted.internet.process.Process, used by ``reactor.spawnProcess``, now copies the parent environment when the `env=None` argument is passed on Posix systems and ``os.posix_spawnp`` is used
internally.
- twisted.internet.defer.inlineCallbacks.returnValue's stack introspection was adjusted for the latest PyPy 7.3.14 release, allowing legacy @inlineCallbacks to run on new PyPY versions.
Deprecations and Removals
-------------------------
- twisted.trial.reporter.TestRun.startTest() is no longer called for tests
with skip annotation or skip attribute for Python 3.12.1 or newer.
This is the result of upstream Python gh-106584 change.
The behavior is not change in 3.12.0 or older.
Conch
-----
No significant changes.
Web
---
Bugfixes
~~~~~~~~
- The documentation for twisted.web.client.CookieAgent no longer references
long-deprecated ``cookielib`` and ``urllib2`` standard library modules.
Deprecations and Removals
~~~~~~~~~~~~~~~~~~~~~~~~~
- twisted.web.http.Request now parses the `multipart/form-data` using `email.message_from_bytes`.
The usage of `cgi.parse_multipart` was removed as the `cgi` module will be removed in Python 3.13.
Mail
----
No significant changes.
Words
-----
Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~
- The documented IRC example was updated for Python3 usage.
Names
-----
No significant changes.
Trial
-----
No significant changes.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/net/py-twisted/Makefile
cvs rdiff -u -r1.50 -r1.51 pkgsrc/net/py-twisted/Makefile.common
cvs rdiff -u -r1.37 -r1.38 pkgsrc/net/py-twisted/PLIST
cvs rdiff -u -r1.46 -r1.47 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.54 pkgsrc/net/py-twisted/Makefile:1.55
--- pkgsrc/net/py-twisted/Makefile:1.54 Sun Nov 5 10:38:35 2023
+++ pkgsrc/net/py-twisted/Makefile Fri Apr 5 17:31:54 2024
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.54 2023/11/05 10:38:35 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2024/04/05 17:31:54 adam Exp $
.include "../../net/py-twisted/Makefile.common"
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
COMMENT= Framework for writing networked applications
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme-[0-9]*:../../devel/py-hatch-fancy-pypi-readme
+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}-constantly>=15.1:../../devel/py-constantly
DEPENDS+= ${PYPKGPREFIX}-incremental>=22.10.0:../../devel/py-incremental
@@ -35,8 +35,6 @@ REPLACE_PYTHON+= src/twisted/trial/test/
USE_LANGUAGES= c99
-USE_PKG_RESOURCES= yes
-
PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
Index: pkgsrc/net/py-twisted/Makefile.common
diff -u pkgsrc/net/py-twisted/Makefile.common:1.50 pkgsrc/net/py-twisted/Makefile.common:1.51
--- pkgsrc/net/py-twisted/Makefile.common:1.50 Sun Nov 5 10:38:35 2023
+++ pkgsrc/net/py-twisted/Makefile.common Fri Apr 5 17:31:54 2024
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.50 2023/11/05 10:38:35 wiz Exp $
+# $NetBSD: Makefile.common,v 1.51 2024/04/05 17:31:54 adam Exp $
#
# used by net/py-twisted/Makefile
# used by net/py-twisted-docs/Makefile
-DISTNAME= twisted-23.10.0
+DISTNAME= twisted-24.3.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.37 pkgsrc/net/py-twisted/PLIST:1.38
--- pkgsrc/net/py-twisted/PLIST:1.37 Sun Nov 5 10:38:35 2023
+++ pkgsrc/net/py-twisted/PLIST Fri Apr 5 17:31:54 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.37 2023/11/05 10:38:35 wiz Exp $
+@comment $NetBSD: PLIST,v 1.38 2024/04/05 17:31:54 adam Exp $
bin/cftp-${PYVERSSUFFIX}
bin/ckeygen-${PYVERSSUFFIX}
bin/conch-${PYVERSSUFFIX}
@@ -13,7 +13,6 @@ ${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
Index: pkgsrc/net/py-twisted/distinfo
diff -u pkgsrc/net/py-twisted/distinfo:1.46 pkgsrc/net/py-twisted/distinfo:1.47
--- pkgsrc/net/py-twisted/distinfo:1.46 Sun Nov 5 10:38:35 2023
+++ pkgsrc/net/py-twisted/distinfo Fri Apr 5 17:31:54 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.46 2023/11/05 10:38:35 wiz Exp $
+$NetBSD: distinfo,v 1.47 2024/04/05 17:31:54 adam Exp $
-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
+BLAKE2s (twisted-24.3.0.tar.gz) = 1fd880036d607c056258c9e18626c56218417af9557849d91766e2f0a86d56e6
+SHA512 (twisted-24.3.0.tar.gz) = c3dd227f5936ffa586a0b7447f5df4c2257dce0c0ba740373d82197a72029e7eeb0aef9789247dde73e2f24dd043f3b0b7d795f16e6e908583b054aad9b9eb6a
+Size (twisted-24.3.0.tar.gz) = 3500456 bytes
Home |
Main Index |
Thread Index |
Old Index