From 8f3e4fbf638a71d0ce8bc8545784b6808923cf2609e9c917cbd04df62cb64686 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 24 Jan 2022 13:29:59 +0000 Subject: [PATCH] Accepting request 948359 from home:kwk:branches:devel:languages:python - Update to version 0.17.0: * Release 0.17.0 (#1322) * Fix reload process behavior when exception is raised (#1313) * Fix version that supports Python 3.6 on the README (#1316) * Add missing http version on websockets scope (#1309) * Remove Python 3.6 (#1261) * Support `extra_headers` for WS `accept` message (#1293) * Allow configurable websocket per-message-deflate setting (#1300) * Remove root_path from logs (#1294) - Update to version 0.16.0: * Version 0.16.0 (#1270) * Allow app-dir parameter on the run() function (#1271) - Update to version 0.15.0: * Added - Change reload to be configurable with glob patterns. Currently only .py files are watched, which is different from the previous default behavior. (#820) 08/08/21 - Add Python 3.10-rc.1 support. Now the server uses asyncio.run which will: start a fresh asyncio event loop, on shutdown cancel any background tasks rather than aborting them, aexit any remaining async generators, and shutdown the default ThreadPoolExecutor. (#1070) 30/07/21 - Exit with status 3 when worker starts failed (#1077) 22/06/21 - Add option to set websocket ping interval and timeout (#1048) 09/06/21 - Adapt bind_socket to make it usable with multiple processes (#1009) 21/06/21 - Add existence check to the reload directory(ies) (#1089) 21/06/21 - Add missing trace log for websocket protocols (#1083) 19/06/21 - Support disabling default Server and Date headers (#818) 11/06/21 * Changed - Add PEP440 compliant version of click (#1099) 29/06/21 - Bump asgiref to 3.4.0 (#1100) 29/06/21 * Fixed - When receiving a SIGTERM supervisors now terminate their processes before joining them (#1069) 30/07/21 - Fix the need of httptools on minimal installation (#1135) 30/07/21 - Fix ping parameters annotation in Config class (#1127) 19/07/21 - Update to version 0.14.0: * Added - Defaults ws max_size on server to 16MB (#995) 5/29/21 - Improve user feedback if no ws library installed (#926 and #1023) 2/27/21 - Support 'reason' field in 'websocket.close' messages (#957) 2/24/21 - Implemented lifespan.shutdown.failed (#755) 2/25/21 * Changed - Upgraded websockets requirements (#1065) 6/1/21 - Switch to asyncio streams API (#869) 5/29/21 - Update httptools from 0.1.* to 0.2.* (#1024) 5/28/21 - Allow Click 8.0, refs #1016 (#1042) 5/23/21 - Add search for a trusted host in ProxyHeadersMiddleware (#591) 3/13/21 - Up wsproto to 1.0.0 (#892) 2/25/21 * Fixed - Force reload_dirs to be a list (#978) 6/1/21 - Fix gunicorn worker not running if extras not installed (#901) 5/28/21 - Fix socket port 0 (#975) 3/5/21 - Prevent garbage collection of main lifespan task (#972) 3/4/21 - Update to version 0.13.0: * Add --factory flag to support factory-style application imports. (#875) 2020-12-07 50fc0d1 * Skip installation of signal handlers when not in the main thread. Allows using Server in multithreaded contexts without having to override .install_signal_handlers(). (#871) 2020-12-07 ce2ef45 OBS-URL: https://build.opensuse.org/request/show/948359 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=8 --- _service | 16 ++++++++++ _servicedata | 4 +++ python-uvicorn.changes | 68 ++++++++++++++++++++++++++++++++++++++++++ python-uvicorn.spec | 8 +++-- uvicorn-0.12.3.tar.gz | 3 -- uvicorn-0.17.0.tar.gz | 3 ++ 6 files changed, 97 insertions(+), 5 deletions(-) create mode 100644 _service create mode 100644 _servicedata delete mode 100644 uvicorn-0.12.3.tar.gz create mode 100644 uvicorn-0.17.0.tar.gz diff --git a/_service b/_service new file mode 100644 index 0000000..06e2ccd --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + + https://github.com/encode/uvicorn.git + git + 0.17.0 + @PARENT_TAG@ + enable + + + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..bd76ea0 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/encode/uvicorn.git + 59eeae66e926a7c6c1b6fd1a6d8fbe31719ab1c3 \ No newline at end of file diff --git a/python-uvicorn.changes b/python-uvicorn.changes index 9385aab..4ef269d 100644 --- a/python-uvicorn.changes +++ b/python-uvicorn.changes @@ -1,3 +1,71 @@ +------------------------------------------------------------------- +Mon Jan 24 09:51:06 UTC 2022 - kkaempf@suse.com + +- Update to version 0.17.0: + * Release 0.17.0 (#1322) + * Fix reload process behavior when exception is raised (#1313) + * Fix version that supports Python 3.6 on the README (#1316) + * Add missing http version on websockets scope (#1309) + * Remove Python 3.6 (#1261) + * Support `extra_headers` for WS `accept` message (#1293) + * Allow configurable websocket per-message-deflate setting (#1300) + * Remove root_path from logs (#1294) + +- Update to version 0.16.0: + * Version 0.16.0 (#1270) + * Allow app-dir parameter on the run() function (#1271) + +- Update to version 0.15.0: + * Added + - Change reload to be configurable with glob patterns. Currently + only .py files are watched, which is different from the previous + default behavior. (#820) 08/08/21 + - Add Python 3.10-rc.1 support. Now the server uses asyncio.run + which will: start a fresh asyncio event loop, on shutdown cancel any + background tasks rather than aborting them, aexit any remaining async + generators, and shutdown the default ThreadPoolExecutor. (#1070) 30/07/21 + - Exit with status 3 when worker starts failed (#1077) 22/06/21 + - Add option to set websocket ping interval and timeout (#1048) 09/06/21 + - Adapt bind_socket to make it usable with multiple processes (#1009) 21/06/21 + - Add existence check to the reload directory(ies) (#1089) 21/06/21 + - Add missing trace log for websocket protocols (#1083) 19/06/21 + - Support disabling default Server and Date headers (#818) 11/06/21 + * Changed + - Add PEP440 compliant version of click (#1099) 29/06/21 + - Bump asgiref to 3.4.0 (#1100) 29/06/21 + * Fixed + - When receiving a SIGTERM supervisors now terminate their + processes before joining them (#1069) 30/07/21 + - Fix the need of httptools on minimal installation (#1135) 30/07/21 + - Fix ping parameters annotation in Config class (#1127) 19/07/21 + +- Update to version 0.14.0: + * Added + - Defaults ws max_size on server to 16MB (#995) 5/29/21 + - Improve user feedback if no ws library installed (#926 and + #1023) 2/27/21 + - Support 'reason' field in 'websocket.close' messages (#957) 2/24/21 + - Implemented lifespan.shutdown.failed (#755) 2/25/21 + * Changed + - Upgraded websockets requirements (#1065) 6/1/21 + - Switch to asyncio streams API (#869) 5/29/21 + - Update httptools from 0.1.* to 0.2.* (#1024) 5/28/21 + - Allow Click 8.0, refs #1016 (#1042) 5/23/21 + - Add search for a trusted host in ProxyHeadersMiddleware (#591) 3/13/21 + - Up wsproto to 1.0.0 (#892) 2/25/21 + * Fixed + - Force reload_dirs to be a list (#978) 6/1/21 + - Fix gunicorn worker not running if extras not installed (#901) 5/28/21 + - Fix socket port 0 (#975) 3/5/21 + - Prevent garbage collection of main lifespan task (#972) 3/4/21 + +- Update to version 0.13.0: + * Add --factory flag to support factory-style application imports. + (#875) 2020-12-07 50fc0d1 + * Skip installation of signal handlers when not in the main thread. + Allows using Server in multithreaded contexts without having to + override .install_signal_handlers(). (#871) 2020-12-07 ce2ef45 + ------------------------------------------------------------------- Fri Sep 17 07:04:38 UTC 2021 - Dominique Leuenberger diff --git a/python-uvicorn.spec b/python-uvicorn.spec index b6bf2ac..32ebfa3 100644 --- a/python-uvicorn.spec +++ b/python-uvicorn.spec @@ -1,7 +1,7 @@ # # spec file for package python-uvicorn # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define skip_python2 1 %define skip_python36 1 Name: python-uvicorn -Version: 0.12.3 +Version: 0.17.0 Release: 0 Summary: An Asynchronous Server Gateway Interface server License: BSD-3-Clause @@ -44,11 +44,15 @@ Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML >= 5.1} +BuildRequires: %{python_module asgiref >= 3.4} BuildRequires: %{python_module click >= 7.0} BuildRequires: %{python_module h11 >= 0.8.0} BuildRequires: %{python_module httptools >= 0.1.0} +BuildRequires: %{python_module httpx >= 0.18} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-dotenv} BuildRequires: %{python_module requests} BuildRequires: %{python_module trustme} BuildRequires: %{python_module typing_extensions} diff --git a/uvicorn-0.12.3.tar.gz b/uvicorn-0.12.3.tar.gz deleted file mode 100644 index 9742ad9..0000000 --- a/uvicorn-0.12.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4cbef78fa44c4cdfb2cdc1eeb132085f003e67a9985ed5bf5e9c2a6e1a251ee -size 505606 diff --git a/uvicorn-0.17.0.tar.gz b/uvicorn-0.17.0.tar.gz new file mode 100644 index 0000000..f438ce0 --- /dev/null +++ b/uvicorn-0.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a55743b07c3614dac0803dece49f406145e101905fa750d9e496cafd91f016d7 +size 708241