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:           Sat Apr 13 05:13:44 UTC 2024

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

Log Message:
py-aiohttp: updated to 3.9.4

3.9.4 (2024-04-11)

Bug fixes

- The asynchronous internals now set the underlying causes
  when assigning exceptions to the future objects
- Treated values of ``Accept-Encoding`` header as case-insensitive when checking
  for gzip files
- Improved the DNS resolution performance on cache hit
  This is achieved by avoiding an :mod:`asyncio` task creation in this case.
- Changed the type annotations to allow ``dict`` on :meth:`aiohttp.MultipartWriter.append`,
  :meth:`aiohttp.MultipartWriter.append_json` and
  :meth:`aiohttp.MultipartWriter.append_form`
- Ensure websocket transport is closed when client does not close it
  The transport could remain open if the client did not close it. This
  change ensures the transport is closed when the client does not close
  it.
- Leave websocket transport open if receive times out or is cancelled
  This restores the behavior prior to the change in 7978.
- Fixed content not being read when an upgrade request was not supported with the pure Python implementation.
- Fixed a race condition with incoming connections during server shutdown
- Fixed ``multipart/form-data`` compliance with :rfc:`7578`
- Fixed blocking I/O in the event loop while processing files in a POST request
- Escaped filenames in static view
- Fixed the pure python parser to mark a connection as closing when a
  response has no length

Features

- Upgraded *llhttp* to 9.2.1, and started rejecting obsolete line folding
  in Python parser to match

Deprecations (removal in next major release)

- Deprecated ``content_transfer_encoding`` parameter in :py:meth:`FormData.add_field()
  <aiohttp.FormData.add_field>`

Improved documentation

- Added a note about canceling tasks to avoid delaying server shutdown


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/www/py-aiohttp/Makefile
cvs rdiff -u -r1.59 -r1.60 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.64 pkgsrc/www/py-aiohttp/Makefile:1.65
--- pkgsrc/www/py-aiohttp/Makefile:1.64 Tue Jan 30 11:22:07 2024
+++ pkgsrc/www/py-aiohttp/Makefile      Sat Apr 13 05:13:44 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.64 2024/01/30 11:22:07 adam Exp $
+# $NetBSD: Makefile,v 1.65 2024/04/13 05:13:44 adam Exp $
 
-DISTNAME=      aiohttp-3.9.3
+DISTNAME=      aiohttp-3.9.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aiohttp/}
@@ -19,6 +19,7 @@ DEPENDS+=     ${PYPKGPREFIX}-frozenlist>=1.1
 DEPENDS+=      ${PYPKGPREFIX}-multidict>=4.5<7.0:../../databases/py-multidict
 DEPENDS+=      ${PYPKGPREFIX}-yarl>=1.0<2.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
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout

Index: pkgsrc/www/py-aiohttp/distinfo
diff -u pkgsrc/www/py-aiohttp/distinfo:1.59 pkgsrc/www/py-aiohttp/distinfo:1.60
--- pkgsrc/www/py-aiohttp/distinfo:1.59 Tue Jan 30 11:22:07 2024
+++ pkgsrc/www/py-aiohttp/distinfo      Sat Apr 13 05:13:44 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.59 2024/01/30 11:22:07 adam Exp $
+$NetBSD: distinfo,v 1.60 2024/04/13 05:13:44 adam Exp $
 
-BLAKE2s (aiohttp-3.9.3.tar.gz) = e2c1f9cf706eb26f08f8de444a3871a45fea311e4204c4c9177490424f80e1ec
-SHA512 (aiohttp-3.9.3.tar.gz) = 6236f27b6def0c3bba1b5fc59f4af74f8076aa369cf5c1b9bd9ff9dee1c71ee49387ded812875da9450130e92d2091fd01f0608b25b03ff37e99162b89120fd7
-Size (aiohttp-3.9.3.tar.gz) = 7499669 bytes
+BLAKE2s (aiohttp-3.9.4.tar.gz) = 7842d6256edfcbb951d466f48b21f270e6fea61ae53d4c8dd4a095abf90416f4
+SHA512 (aiohttp-3.9.4.tar.gz) = e26e7148602d72c77fe46e0596614b448f38a9014834a72c4131d8b315dbbd401ce4e1a403ef35ea7a9ba7fafaddc42031d38b93b45464accdedf26ba99fc960
+Size (aiohttp-3.9.4.tar.gz) = 7500720 bytes



Home | Main Index | Thread Index | Old Index