14
0

Accepting request 851909 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/851909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=3
This commit is contained in:
2020-12-01 13:23:10 +00:00
committed by Git OBS Bridge
4 changed files with 37 additions and 12 deletions

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sun Nov 29 09:56:12 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Skip three tests due to minor change introduced in wsproto 1.0.0
- Add some missing minimum versions to Requires and BuildRequires
- Update to v0.12.3
* Fix race condition that leads Quart to hang
* Use latin1 when decoding X-Forwarded-* headers
* Rework IPv6 support
* Cancel old keepalive-trigger before setting new one
- from v0.12.2
* Adding ability to decrypt ssl key file
* Support .yml log config files
* Added python 3.9 support
* Fixes watchgod with common prefixes
* Fix reload with ipv6 host
* Added cli support for headers containing colon
* Sharing socket across workers on windows
* Note the need to configure trusted "ips" when using unix sockets
-------------------------------------------------------------------
Tue Oct 13 09:42:02 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-uvicorn
Version: 0.12.1
Version: 0.12.3
Release: 0
Summary: An Asynchronous Server Gateway Interface server
License: BSD-3-Clause
@@ -31,29 +31,30 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-click >= 7.0
Requires: python-h11 >= 0.8.0
Requires: python-httptools >= 0.0.13
Requires: python-httptools >= 0.1.0
Requires: python-typing_extensions
Requires: python-websockets >= 8.0
Recommends: python-PyYAML
Recommends: python-PyYAML >= 5.1
Suggests: python-uvloop >= 0.14.0
Suggests: python-watchgod
Suggests: python-wsproto
Suggests: python-watchgod >= 0.6
Suggests: python-wsproto >= 0.15.0
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module PyYAML >= 5.1}
BuildRequires: %{python_module click >= 7.0}
BuildRequires: %{python_module h11 >= 0.8.0}
BuildRequires: %{python_module httptools >= 0.0.13}
BuildRequires: %{python_module httptools >= 0.1.0}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module trustme}
BuildRequires: %{python_module typing_extensions}
BuildRequires: %{python_module uvloop >= 0.14.0}
BuildRequires: %{python_module watchgod >= 0.6}
BuildRequires: %{python_module websockets >= 8.0}
BuildRequires: %{python_module wsproto >= 0.13.0}
BuildRequires: %{python_module wsproto >= 0.15.0}
# /SECTION
%python_subpackages
@@ -80,7 +81,11 @@ rm setup.cfg
%python_uninstall_alternative uvicorn
%check
%pytest
# Required for reporting bugs
%python_exec -m uvicorn --version
# Three wsproto upgrade related tests
# https://github.com/encode/uvicorn/issues/868
%pytest -rs -k 'not (test_supported_upgrade_request or test_invalid_upgrade)'
%files %{python_files}
%doc README.md

View File

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

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

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