14
0

Accepting request 948410 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/948410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=5
This commit is contained in:
2022-01-24 22:10:13 +00:00
committed by Git OBS Bridge
6 changed files with 97 additions and 5 deletions

16
_service Normal file
View File

@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/encode/uvicorn.git</param>
<param name="scm">git</param>
<param name="revision">0.17.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="tar" mode="disabled"/>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/encode/uvicorn.git</param>
<param name="changesrevision">59eeae66e926a7c6c1b6fd1a6d8fbe31719ab1c3</param></service></servicedata>

View File

@@ -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 <dimstar@opensuse.org>

View File

@@ -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}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4cbef78fa44c4cdfb2cdc1eeb132085f003e67a9985ed5bf5e9c2a6e1a251ee
size 505606

3
uvicorn-0.17.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a55743b07c3614dac0803dece49f406145e101905fa750d9e496cafd91f016d7
size 708241