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: Tue Oct 1 07:47:23 UTC 2024
Modified Files:
pkgsrc/www/py-aiohttp: Makefile distinfo
Log Message:
py-aiohttp: updated to 3.10.8
3.10.8 (2024-09-28)
Bug fixes
- Fixed cancellation leaking upwards on timeout
3.10.7 (2024-09-27)
Bug fixes
- Fixed assembling the :class:`~yarl.URL` for web requests when the host contains a non-default port or IPv6 address
Miscellaneous internal changes
- Improved performance of determining if a URL is absolute
- Replaced code that can now be handled by ``yarl``
3.10.6 (2024-09-24)
Bug fixes
- Added :exc:`aiohttp.ClientConnectionResetError`. Client code that previously threw :exc:`ConnectionResetError`
will now throw this
- Fixed an unclosed transport ``ResourceWarning`` on web handlers
- Fixed resolve_host() 'Task was destroyed but is pending' errors
- Fixed handling of some file-like objects (e.g. ``tarfile.extractfile()``) which raise ``AttributeError`` instead of ``OSError`` when ``fileno`` fails for streaming payload data
- Fixed web router not matching pre-encoded URLs (requires yarl 1.9.6+)
- Fixed an error when trying to add a route for multiple methods with a path containing a regex pattern
- Fixed ``Response.text`` when body is a ``Payload``
- Fixed compressed requests failing when no body was provided
- Fixed client incorrectly reusing a connection when the previous message had not been fully sent
- Fixed race condition that could cause server to close connection incorrectly at keepalive timeout
- Fixed Python parser chunked handling with multiple Transfer-Encoding values
- Fixed error handling after 100-continue so server sends 500 response instead of disconnecting
- Stopped adding a default Content-Type header when response has no content
- Added support for URL credentials with empty (zero-length) username, e.g. ``https://:password@host``
- Stopped logging exceptions from ``web.run_app()`` that would be raised regardless
- Implemented binding to IPv6 addresses in the pytest server fixture.
- Fixed the incorrect use of flags for ``getnameinfo()`` in the Resolver
- Fixed StreamResponse.prepared to return True after EOF is sent
- Changed ``make_mocked_request()`` to use empty payload by default
- Used more precise type for ``ClientResponseError.headers``, fixing some type errors when using them
- Changed behavior when returning an invalid response to send a 500 response
- Fixed response reading from closed session to throw an error immediately instead of timing out
- Fixed ``CancelledError`` from one cleanup context stopping other contexts from completing
- Fixed changing scheme/host in ``Response.clone()`` for absolute URLs
- Fixed ``Site.name`` when host is an empty string
- Updated Python parser to reject messages after a close message, matching C parser behaviour
- Fixed creation of ``SSLContext`` inside of :py:class:`aiohttp.TCPConnector` with multiple event loops in different threads
- Fixed (on Python 3.11+) some edge cases where a task cancellation may get incorrectly suppressed
- Fixed exception information getting lost on ``HttpProcessingError``
- Fixed ``If-None-Match`` not using weak comparison
- Fixed badly encoded charset crashing when getting response text instead of falling back to charset detector.
- Rejected `\n` in `reason` values to avoid sending broken HTTP messages
- Changed :py:meth:`ClientResponse.raise_for_status() <aiohttp.ClientResponse.raise_for_status>` to only release the connection when invoked outside an ``async with`` context
Features
- Improved type on ``params`` to match the underlying type allowed by ``yarl``
- Declared Python 3.13 supported
Removals and backward incompatible breaking changes
- Improved middleware performance
- Increased minimum yarl version to 1.12.0
Improved documentation
- Clarified that ``GracefulExit`` needs to be handled in ``AppRunner`` and ``ServerRunner`` when using ``handle_signals=True``.
- Clarified that auth parameter in ClientSession will persist and be included with any request to any origin, even during redirects to different origins.
- Clarified which timeout exceptions happen on which timeouts
- Updated ``ClientSession`` parameters to match current code
Packaging updates and notes for downstreams
- Fixed ``test_client_session_timeout_zero`` to not require internet access
Miscellaneous internal changes
- Improved performance of making requests when there are no auto headers to skip
- Exported ``aiohttp.TraceRequestHeadersSentParams``
- Avoided tracing overhead in the http writer when there are no active traces -- by user:`bdraco`.
- Improved performance of reify Cython implementation
- Use :meth:`URL.extend_query() <yarl.URL.extend_query>` to extend query params (requires yarl 1.11.0+)
- Improved performance of checking if a host is an IP Address
- Significantly improved performance of middlewares
- Improved performance of web requests
- Improved performance of starting web requests when there is no response prepare hook
- Significantly improved performance of expiring cookies
- Significantly sped up filtering cookies
To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/www/py-aiohttp/Makefile
cvs rdiff -u -r1.66 -r1.67 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.71 pkgsrc/www/py-aiohttp/Makefile:1.72
--- pkgsrc/www/py-aiohttp/Makefile:1.71 Thu Aug 22 12:02:03 2024
+++ pkgsrc/www/py-aiohttp/Makefile Tue Oct 1 07:47:23 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.71 2024/08/22 12:02:03 adam Exp $
+# $NetBSD: Makefile,v 1.72 2024/10/01 07:47:23 adam Exp $
-DISTNAME= aiohttp-3.10.5
+DISTNAME= aiohttp-3.10.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/aiohttp/}
@@ -18,7 +18,7 @@ DEPENDS+= ${PYPKGPREFIX}-aiosignal>=1.1.
DEPENDS+= ${PYPKGPREFIX}-attrs>=17.3.0:../../devel/py-attrs
DEPENDS+= ${PYPKGPREFIX}-frozenlist>=1.1.1:../../devel/py-frozenlist
DEPENDS+= ${PYPKGPREFIX}-multidict>=4.5:../../databases/py-multidict
-DEPENDS+= ${PYPKGPREFIX}-yarl>=1.0:../../www/py-yarl
+DEPENDS+= ${PYPKGPREFIX}-yarl>=1.12.0:../../www/py-yarl
TEST_DEPENDS+= ${PYPKGPREFIX}-brotli-[0-9]*:../../archivers/py-brotli
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
TEST_DEPENDS+= ${PYPKGPREFIX}-gunicorn-[0-9]*:../../www/py-gunicorn
Index: pkgsrc/www/py-aiohttp/distinfo
diff -u pkgsrc/www/py-aiohttp/distinfo:1.66 pkgsrc/www/py-aiohttp/distinfo:1.67
--- pkgsrc/www/py-aiohttp/distinfo:1.66 Thu Aug 22 12:02:03 2024
+++ pkgsrc/www/py-aiohttp/distinfo Tue Oct 1 07:47:23 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.66 2024/08/22 12:02:03 adam Exp $
+$NetBSD: distinfo,v 1.67 2024/10/01 07:47:23 adam Exp $
-BLAKE2s (aiohttp-3.10.5.tar.gz) = ba8402d6319f16e55c852f13762f12dc4a0921be19cbef3aabeb31d4c40d3bf7
-SHA512 (aiohttp-3.10.5.tar.gz) = bb932d24b3ce332d8a232ef3bf1fbe9b0a7df9986ad5e81d5f41bc31a81204653e5250c4f0ee77a9eeb53d404bd907b12977d31caae54c00ef0146350629e750
-Size (aiohttp-3.10.5.tar.gz) = 7524360 bytes
+BLAKE2s (aiohttp-3.10.8.tar.gz) = f3feb4a5c1d6949402b6049bc9f1fd99bb9f7e90089ab42a8bbab468c17e24f6
+SHA512 (aiohttp-3.10.8.tar.gz) = f19a58e698908faf164592037d57f1d133e064616b5552df26639a9a7248e90a960cb1b070dbbb90c058579cbdcc4edb72b2846bd20ab2867b4b0c670ddd177f
+Size (aiohttp-3.10.8.tar.gz) = 7540022 bytes
Home |
Main Index |
Thread Index |
Old Index