From 2f9d779c9a3ce421d1646a06346ed8c50b4d20a5 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Sat, 21 Nov 2020 17:47:16 +0200 Subject: [PATCH] Implement CHANGES cleanup script --- CHANGES/2469.doc | 1 - CHANGES/3035.bugfix | 6 ------ CHANGES/3313.feature | 2 -- CHANGES/3464.bugfix | 1 - CHANGES/3468.bugfix | 1 - CHANGES/3471.bugfix | 2 -- CHANGES/3477.bugfix | 1 - CHANGES/3480.bugfix | 1 - CHANGES/3483.feature | 1 - CHANGES/3484.bugfix | 1 - CHANGES/3487.misc | 1 - CHANGES/3490.doc | 1 - CHANGES/3497.bugfix | 1 - CHANGES/3504.bugfix | 1 - CHANGES/3511.bugfix | 1 - CHANGES/3515.bugfix | 1 - CHANGES/3526.doc | 1 - CHANGES/3532.bugfix | 2 -- CHANGES/3576.bugfix | 1 - CHANGES/3579.bugfix | 4 ---- CHANGES/3587.bugfix | 1 - CHANGES/3595.bugfix | 1 - CHANGES/3621.bugfix | 2 -- CHANGES/3628.bugfix | 1 - CHANGES/3629.feature | 1 - CHANGES/3631.bugfix | 1 - CHANGES/3633.bugfix | 1 - CHANGES/3644.bugfix | 1 - CHANGES/3648.bugfix | 2 -- CHANGES/3660.bugfix | 1 - CHANGES/3669.bugfix | 1 - CHANGES/3701.bugfix | 1 - CHANGES/3720.bugfix | 1 - CHANGES/3723.doc | 1 - CHANGES/3736.bugfix | 1 - CHANGES/3775.doc | 1 - CHANGES/3783.doc | 1 - CHANGES/3791.doc | 1 - CHANGES/3798.feature | 1 - CHANGES/3803.feature | 1 - CHANGES/3808.bugfix | 1 - CHANGES/3818.bugfix | 1 - CHANGES/3841.bugfix | 1 - CHANGES/3852.bugfix | 1 - CHANGES/3868.bugfix | 1 - CHANGES/3880.bugfix | 1 - CHANGES/3906.bugfix | 1 - CHANGES/3958.doc | 1 - CHANGES/3959.bugfix | 1 - CHANGES/3964.doc | 1 - CHANGES/3976.bugfix | 1 - CHANGES/3980.feature | 1 - CHANGES/4013.bugfix | 1 - CHANGES/4039.bugfix | 1 - CHANGES/4052.bugfix | 3 --- CHANGES/4056.feature | 1 - CHANGES/4057.bugfix | 1 - CHANGES/4063.bugfix | 1 - CHANGES/4068.bugfix | 1 - CHANGES/4077.feature | 1 - CHANGES/4097.bugfix | 1 - CHANGES/4100.doc | 1 - CHANGES/4102.misc | 1 - CHANGES/4106.bugfix | 1 - CHANGES/4108.doc | 1 - CHANGES/4125.feature | 1 - CHANGES/4603.doc | 1 - CHANGES/5156.bugfix | 1 - CHANGES/5163.bugfix | 1 - CHANGES/5228.doc | 1 - CHANGES/5230.bugfix | 1 - tools/cleanup_changes.py | 25 +++++++++++++++++++++++++ 72 files changed, 25 insertions(+), 86 deletions(-) delete mode 100644 CHANGES/2469.doc delete mode 100644 CHANGES/3035.bugfix delete mode 100644 CHANGES/3313.feature delete mode 100644 CHANGES/3464.bugfix delete mode 100644 CHANGES/3468.bugfix delete mode 100644 CHANGES/3471.bugfix delete mode 100644 CHANGES/3477.bugfix delete mode 100644 CHANGES/3480.bugfix delete mode 100644 CHANGES/3483.feature delete mode 100644 CHANGES/3484.bugfix delete mode 100644 CHANGES/3487.misc delete mode 100644 CHANGES/3490.doc delete mode 100644 CHANGES/3497.bugfix delete mode 100644 CHANGES/3504.bugfix delete mode 100644 CHANGES/3511.bugfix delete mode 100644 CHANGES/3515.bugfix delete mode 100644 CHANGES/3526.doc delete mode 100644 CHANGES/3532.bugfix delete mode 100644 CHANGES/3576.bugfix delete mode 100644 CHANGES/3579.bugfix delete mode 100644 CHANGES/3587.bugfix delete mode 100644 CHANGES/3595.bugfix delete mode 100644 CHANGES/3621.bugfix delete mode 100644 CHANGES/3628.bugfix delete mode 100644 CHANGES/3629.feature delete mode 100644 CHANGES/3631.bugfix delete mode 100644 CHANGES/3633.bugfix delete mode 100644 CHANGES/3644.bugfix delete mode 100644 CHANGES/3648.bugfix delete mode 100644 CHANGES/3660.bugfix delete mode 100644 CHANGES/3669.bugfix delete mode 100644 CHANGES/3701.bugfix delete mode 100644 CHANGES/3720.bugfix delete mode 100644 CHANGES/3723.doc delete mode 100644 CHANGES/3736.bugfix delete mode 100644 CHANGES/3775.doc delete mode 100644 CHANGES/3783.doc delete mode 100644 CHANGES/3791.doc delete mode 100644 CHANGES/3798.feature delete mode 100644 CHANGES/3803.feature delete mode 100644 CHANGES/3808.bugfix delete mode 100644 CHANGES/3818.bugfix delete mode 100644 CHANGES/3841.bugfix delete mode 100644 CHANGES/3852.bugfix delete mode 100644 CHANGES/3868.bugfix delete mode 100644 CHANGES/3880.bugfix delete mode 100644 CHANGES/3906.bugfix delete mode 100644 CHANGES/3958.doc delete mode 100644 CHANGES/3959.bugfix delete mode 100644 CHANGES/3964.doc delete mode 100644 CHANGES/3976.bugfix delete mode 100644 CHANGES/3980.feature delete mode 100644 CHANGES/4013.bugfix delete mode 100644 CHANGES/4039.bugfix delete mode 100644 CHANGES/4052.bugfix delete mode 100644 CHANGES/4056.feature delete mode 100644 CHANGES/4057.bugfix delete mode 100644 CHANGES/4063.bugfix delete mode 100644 CHANGES/4068.bugfix delete mode 100644 CHANGES/4077.feature delete mode 100644 CHANGES/4097.bugfix delete mode 100644 CHANGES/4100.doc delete mode 100644 CHANGES/4102.misc delete mode 100644 CHANGES/4106.bugfix delete mode 100644 CHANGES/4108.doc delete mode 100644 CHANGES/4125.feature delete mode 100644 CHANGES/4603.doc delete mode 100644 CHANGES/5156.bugfix delete mode 100644 CHANGES/5163.bugfix delete mode 100644 CHANGES/5228.doc delete mode 100644 CHANGES/5230.bugfix create mode 100755 tools/cleanup_changes.py diff --git a/CHANGES/2469.doc b/CHANGES/2469.doc deleted file mode 100644 index f1040ca4d3c..00000000000 --- a/CHANGES/2469.doc +++ /dev/null @@ -1 +0,0 @@ -Added minimal required logging configuration to logging documentation. diff --git a/CHANGES/3035.bugfix b/CHANGES/3035.bugfix deleted file mode 100644 index 37d2941837e..00000000000 --- a/CHANGES/3035.bugfix +++ /dev/null @@ -1,6 +0,0 @@ -Preserve MultipartWriter parts headers on write. - -Refactor the way how Payload.headers are handled. Payload instances now always -have headers and Content-Type defined. - -Fix Payload Content-Disposition header reset after initial creation. diff --git a/CHANGES/3313.feature b/CHANGES/3313.feature deleted file mode 100644 index b272f8abd38..00000000000 --- a/CHANGES/3313.feature +++ /dev/null @@ -1,2 +0,0 @@ -FileResponse from web_fileresponse.py uses a ThreadPoolExecutor to work with files asynchronously. -I/O based payloads from payload.py uses a ThreadPoolExecutor to work with I/O objects asynchronously. diff --git a/CHANGES/3464.bugfix b/CHANGES/3464.bugfix deleted file mode 100644 index 1d98fd78280..00000000000 --- a/CHANGES/3464.bugfix +++ /dev/null @@ -1 +0,0 @@ -Log suppressed exceptions in ``GunicornWebWorker``. diff --git a/CHANGES/3468.bugfix b/CHANGES/3468.bugfix deleted file mode 100644 index 1c73d676d20..00000000000 --- a/CHANGES/3468.bugfix +++ /dev/null @@ -1 +0,0 @@ -Remove wildcard imports. diff --git a/CHANGES/3471.bugfix b/CHANGES/3471.bugfix deleted file mode 100644 index 98e28e68465..00000000000 --- a/CHANGES/3471.bugfix +++ /dev/null @@ -1,2 +0,0 @@ -Use the same task for app initialization and web server handling in gunicorn workers. -It allows to use Python3.7 context vars smoothly. diff --git a/CHANGES/3477.bugfix b/CHANGES/3477.bugfix deleted file mode 100644 index ae25f225d8d..00000000000 --- a/CHANGES/3477.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix handling of chunked+gzipped response when first chunk does not give uncompressed data diff --git a/CHANGES/3480.bugfix b/CHANGES/3480.bugfix deleted file mode 100644 index eea52e84135..00000000000 --- a/CHANGES/3480.bugfix +++ /dev/null @@ -1 +0,0 @@ -Replace ``collections.MutableMapping`` with ``collections.abc.MutableMapping`` to avoid a deprecation warning. diff --git a/CHANGES/3483.feature b/CHANGES/3483.feature deleted file mode 100644 index 082f66b2803..00000000000 --- a/CHANGES/3483.feature +++ /dev/null @@ -1 +0,0 @@ -Internal Server Errors in plain text if the browser does not support HTML. diff --git a/CHANGES/3484.bugfix b/CHANGES/3484.bugfix deleted file mode 100644 index b0276934890..00000000000 --- a/CHANGES/3484.bugfix +++ /dev/null @@ -1 +0,0 @@ -``Payload.size`` type annotation changesd from `Optional[float]` to `Optional[int]`. diff --git a/CHANGES/3487.misc b/CHANGES/3487.misc deleted file mode 100644 index 19d2173b26b..00000000000 --- a/CHANGES/3487.misc +++ /dev/null @@ -1 +0,0 @@ -Integrate [`trustme`](https://trustme.readthedocs.io/en/latest/) to better test TLS support. diff --git a/CHANGES/3490.doc b/CHANGES/3490.doc deleted file mode 100644 index 1a7aac9b6f3..00000000000 --- a/CHANGES/3490.doc +++ /dev/null @@ -1 +0,0 @@ -Add documentation for ``aiohttp.web.HTTPException``. diff --git a/CHANGES/3497.bugfix b/CHANGES/3497.bugfix deleted file mode 100644 index a20b8f9b3bf..00000000000 --- a/CHANGES/3497.bugfix +++ /dev/null @@ -1 +0,0 @@ -Ignore done tasks when cancels pending activities on ``web.run_app`` finalization. diff --git a/CHANGES/3504.bugfix b/CHANGES/3504.bugfix deleted file mode 100644 index 8ffa3e907a6..00000000000 --- a/CHANGES/3504.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix type stubs for ``aiohttp.web.run_app(access_log=True)`` and fix edge case of ``access_log=True`` and the event loop being in debug mode. diff --git a/CHANGES/3511.bugfix b/CHANGES/3511.bugfix deleted file mode 100644 index 0eef1d06cc1..00000000000 --- a/CHANGES/3511.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix ``aiohttp.ClientTimeout`` type annotations to accept ``None`` for fields diff --git a/CHANGES/3515.bugfix b/CHANGES/3515.bugfix deleted file mode 100644 index 99f9993eb45..00000000000 --- a/CHANGES/3515.bugfix +++ /dev/null @@ -1 +0,0 @@ -Send custom per-request cookies even if session jar is empty diff --git a/CHANGES/3526.doc b/CHANGES/3526.doc deleted file mode 100644 index b5edd928bc3..00000000000 --- a/CHANGES/3526.doc +++ /dev/null @@ -1 +0,0 @@ -Modify documentation for Background Tasks to remove deprecated usage of event loop. diff --git a/CHANGES/3532.bugfix b/CHANGES/3532.bugfix deleted file mode 100644 index 030f0dd829c..00000000000 --- a/CHANGES/3532.bugfix +++ /dev/null @@ -1,2 +0,0 @@ -Raise a ClientResponseError instead of an AssertionError for a blank -HTTP Reason Phrase. diff --git a/CHANGES/3576.bugfix b/CHANGES/3576.bugfix deleted file mode 100644 index 63215831e41..00000000000 --- a/CHANGES/3576.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix an issue where cookies would sometimes not be set during a redirect. diff --git a/CHANGES/3579.bugfix b/CHANGES/3579.bugfix deleted file mode 100644 index 57fa794343b..00000000000 --- a/CHANGES/3579.bugfix +++ /dev/null @@ -1,4 +0,0 @@ -Change normalize_path_middleware to use 308 redirect instead of 301. - -This behavior should prevent clients from being unable to use PUT/POST -methods on endpoints that are redirected because of a trailing slash. diff --git a/CHANGES/3587.bugfix b/CHANGES/3587.bugfix deleted file mode 100644 index c0f6729cfa2..00000000000 --- a/CHANGES/3587.bugfix +++ /dev/null @@ -1 +0,0 @@ -Drop the processed task from ``all_tasks()`` list early. It prevents logging about a task with unhandled exception when the server is used in conjunction with ``asyncio.run()``. diff --git a/CHANGES/3595.bugfix b/CHANGES/3595.bugfix deleted file mode 100644 index 85d7fb55a72..00000000000 --- a/CHANGES/3595.bugfix +++ /dev/null @@ -1 +0,0 @@ -``Signal`` type annotation changed from `Signal[Callable[['TraceConfig'], Awaitable[None]]]` to `Signal[Callable[ClientSession, SimpleNamespace, ...]`. diff --git a/CHANGES/3621.bugfix b/CHANGES/3621.bugfix deleted file mode 100644 index 76df4a1719f..00000000000 --- a/CHANGES/3621.bugfix +++ /dev/null @@ -1,2 +0,0 @@ -Improve typing annotations for multipart.py along with changes required -by mypy in files that references multipart.py. diff --git a/CHANGES/3628.bugfix b/CHANGES/3628.bugfix deleted file mode 100644 index 22be2a07d27..00000000000 --- a/CHANGES/3628.bugfix +++ /dev/null @@ -1 +0,0 @@ -Close session created inside ``aiohttp.request`` when unhandled exception occurs diff --git a/CHANGES/3629.feature b/CHANGES/3629.feature deleted file mode 100644 index b2fd7c8977a..00000000000 --- a/CHANGES/3629.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for Named Pipes (Site and Connector) under Windows. This feature requires Proactor event loop to work. diff --git a/CHANGES/3631.bugfix b/CHANGES/3631.bugfix deleted file mode 100644 index 1acb123c4b2..00000000000 --- a/CHANGES/3631.bugfix +++ /dev/null @@ -1 +0,0 @@ -Cleanup per-chunk data in generic data read. Memory leak fixed. diff --git a/CHANGES/3633.bugfix b/CHANGES/3633.bugfix deleted file mode 100644 index 3c990e82e41..00000000000 --- a/CHANGES/3633.bugfix +++ /dev/null @@ -1 +0,0 @@ -Use correct type for add_view and family diff --git a/CHANGES/3644.bugfix b/CHANGES/3644.bugfix deleted file mode 100644 index d124704c50a..00000000000 --- a/CHANGES/3644.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix _keepalive field in __slots__ of web_protocol.RequestHandler. diff --git a/CHANGES/3648.bugfix b/CHANGES/3648.bugfix deleted file mode 100644 index 3503186a86c..00000000000 --- a/CHANGES/3648.bugfix +++ /dev/null @@ -1,2 +0,0 @@ -Properly handle ConnectionResetError, to silence the "Cannot write to closing -transport" exception when clients disconnect uncleanly. diff --git a/CHANGES/3660.bugfix b/CHANGES/3660.bugfix deleted file mode 100644 index 2a74c5e70ae..00000000000 --- a/CHANGES/3660.bugfix +++ /dev/null @@ -1 +0,0 @@ -Suppress pytest warnings due to test util classes diff --git a/CHANGES/3669.bugfix b/CHANGES/3669.bugfix deleted file mode 100644 index 106d5f6d946..00000000000 --- a/CHANGES/3669.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix ``web_middlewares.normalize_path_middleware`` behavior for patch without slash. diff --git a/CHANGES/3701.bugfix b/CHANGES/3701.bugfix deleted file mode 100644 index 0f3ef1b63cd..00000000000 --- a/CHANGES/3701.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix overshadowing of overlapped subbaps prefixes. diff --git a/CHANGES/3720.bugfix b/CHANGES/3720.bugfix deleted file mode 100644 index f02318f417e..00000000000 --- a/CHANGES/3720.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed return type annotation for WSMessage.json() diff --git a/CHANGES/3723.doc b/CHANGES/3723.doc deleted file mode 100644 index bde0f69f15b..00000000000 --- a/CHANGES/3723.doc +++ /dev/null @@ -1 +0,0 @@ -Provide pytest-aiohttp namespace for pytest fixtures in docs. diff --git a/CHANGES/3736.bugfix b/CHANGES/3736.bugfix deleted file mode 100644 index bdd2f7f9539..00000000000 --- a/CHANGES/3736.bugfix +++ /dev/null @@ -1 +0,0 @@ -Make `BaseConnector.close()` a coroutine and wait until the client closes all connections. Drop deprecated "with Connector():" syntax. diff --git a/CHANGES/3775.doc b/CHANGES/3775.doc deleted file mode 100644 index 8b3c48693d1..00000000000 --- a/CHANGES/3775.doc +++ /dev/null @@ -1 +0,0 @@ -use ``if __name__ == '__main__':`` in server examples. diff --git a/CHANGES/3783.doc b/CHANGES/3783.doc deleted file mode 100644 index f720eb8f333..00000000000 --- a/CHANGES/3783.doc +++ /dev/null @@ -1 +0,0 @@ -Update documentation reference to the default access logger. diff --git a/CHANGES/3791.doc b/CHANGES/3791.doc deleted file mode 100644 index 958a0fcfc4b..00000000000 --- a/CHANGES/3791.doc +++ /dev/null @@ -1 +0,0 @@ -Improve documentation for ``web.BaseRequest.path`` and ``web.BaseRequest.raw_path``. diff --git a/CHANGES/3798.feature b/CHANGES/3798.feature deleted file mode 100644 index 175ce49fe05..00000000000 --- a/CHANGES/3798.feature +++ /dev/null @@ -1 +0,0 @@ -Removed `Transfer-Encoding: chunked` header from websocket responses to be compatible with more http proxy servers. diff --git a/CHANGES/3803.feature b/CHANGES/3803.feature deleted file mode 100644 index b2a4656196a..00000000000 --- a/CHANGES/3803.feature +++ /dev/null @@ -1 +0,0 @@ -Use Brotli instead of brotlipy diff --git a/CHANGES/3808.bugfix b/CHANGES/3808.bugfix deleted file mode 100644 index c06564eb3e2..00000000000 --- a/CHANGES/3808.bugfix +++ /dev/null @@ -1 +0,0 @@ -Reset the ``sock_read`` timeout each time data is received for a ``aiohttp.client`` response. diff --git a/CHANGES/3818.bugfix b/CHANGES/3818.bugfix deleted file mode 100644 index 4c130def923..00000000000 --- a/CHANGES/3818.bugfix +++ /dev/null @@ -1 +0,0 @@ -Properly expose TooManyRedirects publicly as documented. diff --git a/CHANGES/3841.bugfix b/CHANGES/3841.bugfix deleted file mode 100644 index 3cffa3c190c..00000000000 --- a/CHANGES/3841.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix missing brackets for IPv6 in proxy CONNECT request diff --git a/CHANGES/3852.bugfix b/CHANGES/3852.bugfix deleted file mode 100644 index 126817cda9d..00000000000 --- a/CHANGES/3852.bugfix +++ /dev/null @@ -1 +0,0 @@ -Make the signature of `aiohttp.test_utils.TestClient.request` match `asyncio.ClientSession.request` according to the docs diff --git a/CHANGES/3868.bugfix b/CHANGES/3868.bugfix deleted file mode 100644 index f6281b899c1..00000000000 --- a/CHANGES/3868.bugfix +++ /dev/null @@ -1 +0,0 @@ -Use correct style for re-exported imports, makes mypy ``--strict`` mode happy. diff --git a/CHANGES/3880.bugfix b/CHANGES/3880.bugfix deleted file mode 100644 index 5bca8738db3..00000000000 --- a/CHANGES/3880.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed type annotation for add_view method of UrlDispatcher to accept any subclass of View diff --git a/CHANGES/3906.bugfix b/CHANGES/3906.bugfix deleted file mode 100644 index 59b5eeefb78..00000000000 --- a/CHANGES/3906.bugfix +++ /dev/null @@ -1 +0,0 @@ -Made cython HTTP parser set Reason-Phrase of the response to an empty string if it is missing. diff --git a/CHANGES/3958.doc b/CHANGES/3958.doc deleted file mode 100644 index 9f3a9de1743..00000000000 --- a/CHANGES/3958.doc +++ /dev/null @@ -1 +0,0 @@ -Add documentation for ``aiohttp.web.FileResponse``. diff --git a/CHANGES/3959.bugfix b/CHANGES/3959.bugfix deleted file mode 100644 index 1ea21f63eea..00000000000 --- a/CHANGES/3959.bugfix +++ /dev/null @@ -1 +0,0 @@ -Add URL to the string representation of ClientResponseError. diff --git a/CHANGES/3964.doc b/CHANGES/3964.doc deleted file mode 100644 index f345d8a45be..00000000000 --- a/CHANGES/3964.doc +++ /dev/null @@ -1 +0,0 @@ -Removed deprecation warning in tracing example docs diff --git a/CHANGES/3976.bugfix b/CHANGES/3976.bugfix deleted file mode 100644 index 4e567ff3a11..00000000000 --- a/CHANGES/3976.bugfix +++ /dev/null @@ -1 +0,0 @@ -Accept istr keys in LooseHeaders type hints. diff --git a/CHANGES/3980.feature b/CHANGES/3980.feature deleted file mode 100644 index 89654c156c4..00000000000 --- a/CHANGES/3980.feature +++ /dev/null @@ -1 +0,0 @@ -Accept non-GET request for starting websocket handshake on server side. diff --git a/CHANGES/4013.bugfix b/CHANGES/4013.bugfix deleted file mode 100644 index 1793f2137b5..00000000000 --- a/CHANGES/4013.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed race conditions in _resolve_host caching and throttling when tracing is enabled. diff --git a/CHANGES/4039.bugfix b/CHANGES/4039.bugfix deleted file mode 100644 index 27c4cdc9682..00000000000 --- a/CHANGES/4039.bugfix +++ /dev/null @@ -1 +0,0 @@ -For URLs like "unix://localhost/..." set Host HTTP header to "localhost" instead of "localhost:None". diff --git a/CHANGES/4052.bugfix b/CHANGES/4052.bugfix deleted file mode 100644 index 6b07710e43e..00000000000 --- a/CHANGES/4052.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Emit a warning when :py:attr:`ssl.OP_NO_COMPRESSION` is -unavailable because the runtime is built against -an outdated OpenSSL. diff --git a/CHANGES/4056.feature b/CHANGES/4056.feature deleted file mode 100644 index b7fa18b268d..00000000000 --- a/CHANGES/4056.feature +++ /dev/null @@ -1 +0,0 @@ -Compat Python 3.8. diff --git a/CHANGES/4057.bugfix b/CHANGES/4057.bugfix deleted file mode 100644 index 990694930eb..00000000000 --- a/CHANGES/4057.bugfix +++ /dev/null @@ -1 +0,0 @@ -Update multidict requirement to >= 4.5 diff --git a/CHANGES/4063.bugfix b/CHANGES/4063.bugfix deleted file mode 100644 index 4a7e73b51b6..00000000000 --- a/CHANGES/4063.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix handling of expired cookies so they are not stored in CookieJar. diff --git a/CHANGES/4068.bugfix b/CHANGES/4068.bugfix deleted file mode 100644 index 54c82a16e7b..00000000000 --- a/CHANGES/4068.bugfix +++ /dev/null @@ -1 +0,0 @@ -correct some exception string format diff --git a/CHANGES/4077.feature b/CHANGES/4077.feature deleted file mode 100644 index cb0fbba25b0..00000000000 --- a/CHANGES/4077.feature +++ /dev/null @@ -1 +0,0 @@ -Made exceptions pickleable. Also changed the repr of some exceptions. diff --git a/CHANGES/4097.bugfix b/CHANGES/4097.bugfix deleted file mode 100644 index af521a4e6fa..00000000000 --- a/CHANGES/4097.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix misleading message in the string representation of `ClientConnectorError`; `self.ssl == None` means certification checks relaxed, not SSL disabled diff --git a/CHANGES/4100.doc b/CHANGES/4100.doc deleted file mode 100644 index dc2335d50ad..00000000000 --- a/CHANGES/4100.doc +++ /dev/null @@ -1 +0,0 @@ -Update docs to reflect proxy support. diff --git a/CHANGES/4102.misc b/CHANGES/4102.misc deleted file mode 100644 index 414f40c8836..00000000000 --- a/CHANGES/4102.misc +++ /dev/null @@ -1 +0,0 @@ -web.Application and web.BaseRequest objects now has a boolean value of True diff --git a/CHANGES/4106.bugfix b/CHANGES/4106.bugfix deleted file mode 100644 index 26bf89bba28..00000000000 --- a/CHANGES/4106.bugfix +++ /dev/null @@ -1 +0,0 @@ -Don't clobber HTTP status when using FileResponse. diff --git a/CHANGES/4108.doc b/CHANGES/4108.doc deleted file mode 100644 index 157800870e8..00000000000 --- a/CHANGES/4108.doc +++ /dev/null @@ -1 +0,0 @@ -Fix typo in code example in testing docs. diff --git a/CHANGES/4125.feature b/CHANGES/4125.feature deleted file mode 100644 index 43dd2638b4f..00000000000 --- a/CHANGES/4125.feature +++ /dev/null @@ -1 +0,0 @@ -Use `Iterable` hint instead of `Sequence` for `Application` `middleware` parameter. diff --git a/CHANGES/4603.doc b/CHANGES/4603.doc deleted file mode 100644 index db5ff1299d5..00000000000 --- a/CHANGES/4603.doc +++ /dev/null @@ -1 +0,0 @@ -Fixed wrong "Usage" docstring of ``aiohttp.client.request``. diff --git a/CHANGES/5156.bugfix b/CHANGES/5156.bugfix deleted file mode 100644 index cdc76824277..00000000000 --- a/CHANGES/5156.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed querying the address families from DNS that the current host supports. diff --git a/CHANGES/5163.bugfix b/CHANGES/5163.bugfix deleted file mode 100644 index c76af861267..00000000000 --- a/CHANGES/5163.bugfix +++ /dev/null @@ -1 +0,0 @@ -Change return type of MultipartReader.__aiter__() and BodyPartReader.__aiter__() to AsyncIterator. diff --git a/CHANGES/5228.doc b/CHANGES/5228.doc deleted file mode 100644 index 22bb5b8c2a6..00000000000 --- a/CHANGES/5228.doc +++ /dev/null @@ -1 +0,0 @@ -Add aiohttp-pydantic to third party libraries diff --git a/CHANGES/5230.bugfix b/CHANGES/5230.bugfix deleted file mode 100644 index 832f15f75e5..00000000000 --- a/CHANGES/5230.bugfix +++ /dev/null @@ -1 +0,0 @@ -Provide x86 Windows wheels. diff --git a/tools/cleanup_changes.py b/tools/cleanup_changes.py new file mode 100755 index 00000000000..55e1294f18b --- /dev/null +++ b/tools/cleanup_changes.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python + +# Run me after the backport branch release to cleanup CHANGES records +# that was backported and publiched. + +import subprocess +from pathlib import Path + + +def main(): + root = Path(__file__).parent.parent + delete = [] + changes = (root / "CHANGES.rst").read_text() + for fname in (root / "CHANGES").iterdir(): + if fname.name.startswith("."): + continue + if fname.stem in changes: + subprocess.run(["git", "rm", fname]) + delete.append(fname.name) + print("Deleted CHANGES records:", " ".join(delete)) + print("Please verify and commit") + + +if __name__ == "__main__": + main()