Marcel Telka
2023-11-27 a5e53c3a4e47339d6a6c5371b189144d2bdfbc4c
python/aiohttp: update to 3.9.1

1 files deleted
8 files modified
100 ■■■■■ changed files
components/python/aiohttp/Makefile 6 ●●●● patch | view | raw | blame | history
components/python/aiohttp/patches/01-test-requirements.patch 46 ●●●●● patch | view | raw | blame | history
components/python/aiohttp/patches/02-requirements-path.patch 8 ●●●● patch | view | raw | blame | history
components/python/aiohttp/patches/03-pytest-disable-plugins.patch 12 ●●●● patch | view | raw | blame | history
components/python/aiohttp/patches/04-no-cov.patch 4 ●●●● patch | view | raw | blame | history
components/python/aiohttp/patches/05-test-disable-failing.patch 4 ●●●● patch | view | raw | blame | history
components/python/aiohttp/patches/06-remove-test-reqs.patch 8 ●●●● patch | view | raw | blame | history
components/python/aiohttp/python-integrate-project.conf 1 ●●●● patch | view | raw | blame | history
components/python/aiohttp/test/results-all.master 11 ●●●● patch | view | raw | blame | history
components/python/aiohttp/Makefile
@@ -19,13 +19,13 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        aiohttp
HUMAN_VERSION =            3.9.0
HUMAN_VERSION =            3.9.1
COMPONENT_SUMMARY =        aiohttp - Async http client/server framework (asyncio)
COMPONENT_PROJECT_URL =        https://github.com/aio-libs/aiohttp
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/71/80/68f3bd93240efd92e9397947301efb76461db48c5ac80be2423ffa9c20a3/aiohttp-3.9.0.tar.gz
    https://files.pythonhosted.org/packages/54/07/9467d3f8dae29b14f423b414d9e67512a76743c5bb7686fb05fe10c9cc3e/aiohttp-3.9.1.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:09f23292d29135025e19e8ff4f0a68df078fe4ee013bca0105b2e803989de92d
    sha256:8fc49a87ac269d4529da45871e2ffb6874e87779c3d0e2ccd813c0899221239d
COMPONENT_LICENSE =        Apache-2.0
COMPONENT_LICENSE_FILE =    LICENSE.txt
components/python/aiohttp/patches/01-test-requirements.patch
File was deleted
components/python/aiohttp/patches/02-requirements-path.patch
@@ -1,5 +1,5 @@
--- aiohttp-3.9.0/requirements/test.in.orig
+++ aiohttp-3.9.0/requirements/test.in
--- aiohttp-3.9.1/requirements/test.in.orig
+++ aiohttp-3.9.1/requirements/test.in
@@ -1,5 +1,4 @@
--r base.in
--c broken-projects.in
@@ -7,8 +7,8 @@
 
 coverage
 mypy; implementation_name == "cpython"
--- aiohttp-3.9.0/requirements/base.in.orig
+++ aiohttp-3.9.0/requirements/base.in
--- aiohttp-3.9.1/requirements/base.in.orig
+++ aiohttp-3.9.1/requirements/base.in
@@ -1,5 +1,5 @@
--r typing-extensions.in
--r runtime-deps.in
components/python/aiohttp/patches/03-pytest-disable-plugins.patch
@@ -1,5 +1,5 @@
--- aiohttp-3.9.0/tests/test_pytest_plugin.py.orig
+++ aiohttp-3.9.0/tests/test_pytest_plugin.py
--- aiohttp-3.9.1/tests/test_pytest_plugin.py.orig
+++ aiohttp-3.9.1/tests/test_pytest_plugin.py
@@ -146,7 +146,7 @@
 """
     )
@@ -34,8 +34,8 @@
-    result = testdir.runpytest("-p", "no:sugar", "--aiohttp-loop=pyloop")
+    result = testdir.runpytest("-p", "no:sugar", "--aiohttp-loop=pyloop", "-p", "no:black", "-p", "no:mypy", "-p", "no:reporter")
     result.assert_outcomes(passed=2)
--- aiohttp-3.9.0/tests/test_test_utils.py.orig
+++ aiohttp-3.9.0/tests/test_test_utils.py
--- aiohttp-3.9.1/tests/test_test_utils.py.orig
+++ aiohttp-3.9.1/tests/test_test_utils.py
@@ -312,7 +312,7 @@
                 pass
         """
@@ -45,8 +45,8 @@
     result.stdout.fnmatch_lines(["*RuntimeError*"])
 
 
--- aiohttp-3.9.0/tests/test_imports.py.orig
+++ aiohttp-3.9.0/tests/test_imports.py
--- aiohttp-3.9.1/tests/test_imports.py.orig
+++ aiohttp-3.9.1/tests/test_imports.py
@@ -14,7 +14,7 @@
             assert 'GunicornWebWorker' in globals()
         """
components/python/aiohttp/patches/04-no-cov.patch
@@ -2,8 +2,8 @@
Can't combine line data with arc data
--- aiohttp-3.9.0/setup.cfg.orig
+++ aiohttp-3.9.0/setup.cfg
--- aiohttp-3.9.1/setup.cfg.orig
+++ aiohttp-3.9.1/setup.cfg
@@ -111,9 +111,6 @@
     
     --showlocals
components/python/aiohttp/patches/05-test-disable-failing.patch
@@ -1,5 +1,5 @@
--- aiohttp-3.9.0/tests/test_client_session.py.orig
+++ aiohttp-3.9.0/tests/test_client_session.py
--- aiohttp-3.9.1/tests/test_client_session.py.orig
+++ aiohttp-3.9.1/tests/test_client_session.py
@@ -608,6 +608,7 @@
             assert gathered_req_headers["Custom-Header"] == "Custom value"
 
components/python/aiohttp/patches/06-remove-test-reqs.patch
@@ -1,7 +1,7 @@
We do not have these projects packaged yet.
--- aiohttp-3.9.0/requirements/test.in.orig
+++ aiohttp-3.9.0/requirements/test.in
--- aiohttp-3.9.1/requirements/test.in.orig
+++ aiohttp-3.9.1/requirements/test.in
@@ -2,13 +2,9 @@
 
 coverage
@@ -16,8 +16,8 @@
 time-machine; implementation_name == "cpython"
 trustme; platform_machine != "i686"  # no 32-bit wheels
-wait-for-it
--- aiohttp-3.9.0/requirements/base.in.orig
+++ aiohttp-3.9.0/requirements/base.in
--- aiohttp-3.9.1/requirements/base.in.orig
+++ aiohttp-3.9.1/requirements/base.in
@@ -2,4 +2,3 @@
 -r requirements/runtime-deps.in
 
components/python/aiohttp/python-integrate-project.conf
@@ -13,7 +13,6 @@
# Copyright 2023 Marcel Telka
#
%patch% 01-test-requirements.patch
%patch% 02-requirements-path.patch
%patch% 03-pytest-disable-plugins.patch
%patch% 04-no-cov.patch
components/python/aiohttp/test/results-all.master
@@ -4,7 +4,7 @@
rootdir: $(@D)
configfile: setup.cfg
testpaths: tests/
collecting ... collected 2778 items / 4 deselected / 2774 selected
collecting ... collected 2785 items / 4 deselected / 2781 selected
Event loop present only in Windows)
applied in DEBUG mode only)
@@ -269,6 +269,7 @@
tests/test_client_functional.py::test_read_from_closed_response[pyloop] PASSED
tests/test_client_functional.py::test_read_timeout[pyloop] PASSED
tests/test_client_functional.py::test_read_timeout_between_chunks[pyloop] PASSED
tests/test_client_functional.py::test_read_timeout_closes_connection[pyloop] PASSED
tests/test_client_functional.py::test_read_timeout_on_prepared_response[pyloop] PASSED
tests/test_client_functional.py::test_read_timeout_on_reading_chunks[pyloop] PASSED
tests/test_client_functional.py::test_read_timeout_on_write[pyloop] PASSED
@@ -312,6 +313,7 @@
tests/test_client_functional.py::test_timeout_on_reading_headers[pyloop] PASSED
tests/test_client_functional.py::test_timeout_on_session_read_timeout[pyloop] PASSED
tests/test_client_functional.py::test_timeout_with_full_buffer[pyloop] PASSED
tests/test_client_functional.py::test_upgrade_connection_not_released_after_read[pyloop] PASSED
tests/test_client_functional.py::test_wait_for[pyloop] PASSED
tests/test_client_functional.py::test_yield_from_in_session_request[pyloop] PASSED
tests/test_client_proto.py::test_client_proto_bad_message[pyloop] PASSED
@@ -1007,6 +1009,8 @@
tests/test_http_parser.py::test_bad_headers[py-parser-pyloop-Foo: abc\rdef] PASSED
tests/test_http_parser.py::test_bad_headers[py-parser-pyloop-Foo\t: bar] PASSED
tests/test_http_parser.py::test_bad_headers[py-parser-pyloop-\xffoo: bar] PASSED
tests/test_http_parser.py::test_bad_upgrade[c-parser-pyloop] PASSED
tests/test_http_parser.py::test_bad_upgrade[py-parser-pyloop] PASSED
tests/test_http_parser.py::test_c_parser_loaded PASSED
tests/test_http_parser.py::test_compression_brotli[c-parser-pyloop] PASSED
tests/test_http_parser.py::test_compression_brotli[py-parser-pyloop] PASSED
@@ -2759,6 +2763,9 @@
tests/test_websocket_parser.py::test_websocket_mask_python PASSED
tests/test_websocket_parser.py::test_websocket_mask_python_empty PASSED
tests/test_websocket_writer.py::test_close PASSED
tests/test_websocket_writer.py::test_concurrent_messages[16-<lambda>] PASSED
tests/test_websocket_writer.py::test_concurrent_messages[32-<lambda>] PASSED
tests/test_websocket_writer.py::test_concurrent_messages[4096-<lambda>] PASSED
tests/test_websocket_writer.py::test_ping PASSED
tests/test_websocket_writer.py::test_pong PASSED
tests/test_websocket_writer.py::test_send_binary PASSED
@@ -2789,4 +2796,4 @@
============================= slowest 10 durations =============================
=========================== short test summary info ============================
======== 2736 passed, 29 skipped, 4 deselected, 9 xfailed ========
======== 2743 passed, 29 skipped, 4 deselected, 9 xfailed ========