pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-aiohttp



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Aug 11 07:37:34 UTC 2024

Modified Files:
        pkgsrc/www/py-aiohttp: Makefile distinfo

Log Message:
py-aiohttp: updated to 3.10.3

3.10.3 (2024-08-10)

Bug fixes

- Fixed multipart reading when stream buffer splits the boundary over several read() calls
- Fixed :py:class:`aiohttp.TCPConnector` doing blocking I/O in the event loop to create the ``SSLContext``

  The blocking I/O would only happen once per verify mode. However, it could cause the event loop to block for a long time if the ``SSLContext`` creation is slow, which is more likely during startup 
when the disk cache is not yet present.

Miscellaneous internal changes

- Improved performance of :py:meth:`~aiohttp.ClientWebSocketResponse.receive` and :py:meth:`~aiohttp.web.WebSocketResponse.receive` when there is no timeout.

  The timeout context manager is now avoided when there is no timeout as it accounted for up to 50% of the time spent in the :py:meth:`~aiohttp.ClientWebSocketResponse.receive` and 
:py:meth:`~aiohttp.web.WebSocketResponse.receive` methods.

- Improved performance of starting request handlers with Python 3.12+
- Improved performance of HTTP keep-alive checks

  Previously, when processing a request for a keep-alive connection, the keep-alive check would happen every second; the check is now rescheduled if it fires too early instead.

- Improved performance of generating random WebSocket mask

3.10.2 (2024-08-08)

Bug fixes

- Fixed server checks for circular symbolic links to be compatible with Python 3.13
- Fixed request body not being read when ignoring an Upgrade request
- Fixed an edge case where shutdown would wait for timeout when the handler was already completed
- Fixed connecting to ``npipe://``, ``tcp://``, and ``unix://`` urls
- Fixed WebSocket ping tasks being prematurely garbage collected

  There was a small risk that WebSocket ping tasks would be prematurely garbage collected because the event loop only holds a weak reference to the task. The garbage collection risk has been fixed by 
holding a strong reference to the task. Additionally, the task is now scheduled eagerly with Python 3.12+ to increase the chance it can be completed immediately and avoid having to hold any 
references to the task.

- Fixed incorrectly following symlinks for compressed file variants

Removals and backward incompatible breaking changes

- Removed ``Request.wait_for_disconnection()``, which was mistakenly added briefly in 3.10.0

Contributor-facing changes

- Fixed monkey patches for ``Path.stat()`` and ``Path.is_dir()`` for Python 3.13 compatibility

Miscellaneous internal changes

- Improved WebSocket performance when messages are sent or received frequently

  The WebSocket heartbeat scheduling algorithm was improved to reduce the ``asyncio`` scheduling overhead by decreasing the number of ``asyncio.TimerHandle`` creations and cancellations.

- Minor improvements to various type annotations


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 pkgsrc/www/py-aiohttp/Makefile
cvs rdiff -u -r1.63 -r1.64 pkgsrc/www/py-aiohttp/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-aiohttp/Makefile
diff -u pkgsrc/www/py-aiohttp/Makefile:1.68 pkgsrc/www/py-aiohttp/Makefile:1.69
--- pkgsrc/www/py-aiohttp/Makefile:1.68 Mon Aug  5 05:42:09 2024
+++ pkgsrc/www/py-aiohttp/Makefile      Sun Aug 11 07:37:34 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.68 2024/08/05 05:42:09 adam Exp $
+# $NetBSD: Makefile,v 1.69 2024/08/11 07:37:34 adam Exp $
 
-DISTNAME=      aiohttp-3.10.1
+DISTNAME=      aiohttp-3.10.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aiohttp/}

Index: pkgsrc/www/py-aiohttp/distinfo
diff -u pkgsrc/www/py-aiohttp/distinfo:1.63 pkgsrc/www/py-aiohttp/distinfo:1.64
--- pkgsrc/www/py-aiohttp/distinfo:1.63 Mon Aug  5 05:42:09 2024
+++ pkgsrc/www/py-aiohttp/distinfo      Sun Aug 11 07:37:34 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.63 2024/08/05 05:42:09 adam Exp $
+$NetBSD: distinfo,v 1.64 2024/08/11 07:37:34 adam Exp $
 
-BLAKE2s (aiohttp-3.10.1.tar.gz) = 21cc8ba78bf059887acc43843cbdcb9e5f502ca650ef161961f5395fb5b66f17
-SHA512 (aiohttp-3.10.1.tar.gz) = 59f743ce7821b46da531eb576bbf20409407726b6ba78be9615f715ab2404cc3668120d2ec1566dcab7017ba36bf1753a3365b81097da53685c93ba013c3c94a
-Size (aiohttp-3.10.1.tar.gz) = 7517572 bytes
+BLAKE2s (aiohttp-3.10.3.tar.gz) = 5890b62c7d309125759cc3414bb5ee74bcd33f17894ee335076f88c0cab4055f
+SHA512 (aiohttp-3.10.3.tar.gz) = fabf06bb8556b5870be37c76c50664289227d79a0f322aef830ebbcbdd2429d4499a767c74f53c83b1622cbb8278c36294777baae84ee5b86fab652d7fcd5c7c
+Size (aiohttp-3.10.3.tar.gz) = 7521618 bytes



Home | Main Index | Thread Index | Old Index