summaryrefslogtreecommitdiff
path: root/python-uvicorn.spec
blob: 6e7c489f85bb3a400e5dba3d4c4414b82d1d9396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
%global pkgname uvicorn

Name:           python-%{pkgname}
Version:        0.30.1
Release:        1
Summary:        The lightning-fast ASGI server
License:        BSD
URL:            https://www.uvicorn.org
Source0:	https://files.pythonhosted.org/packages/37/16/9f5ccaa1a76e5bfbaa0c67640e2db8a5214ca08d92a1b427fa1677b3da88/uvicorn-0.30.1.tar.gz
BuildArch:      noarch
 
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
BuildRequires:  python3-pip
BuildRequires:  python3-wheel
BuildRequires:  python3-hatchling
BuildRequires:  python3-httptools
BuildRequires:  python3-dotenv
BuildRequires:  python3-PyYAML
BuildRequires:  python3-uvloop
BuildRequires:  python3-websockets

%description 
Uvicorn is an ASGI web server implementation for Python.
Until recently Python has lacked a minimal low-level server/application interface for async frameworks.
The ASGI specification fills this gap, and means we're now able to start building a common set of tooling 
usable across all async frameworks.
Uvicorn supports HTTP/1.1 and WebSockets.
 
%package -n python3-%{pkgname}
Summary:        %{summary}
 
%description -n python3-%{pkgname} 
Uvicorn is an ASGI web server implementation for Python.
Until recently Python has lacked a minimal low-level server/application interface for async frameworks.
The ASGI specification fills this gap, and means we're now able to start building a common set of tooling
usable across all async frameworks.
Uvicorn supports HTTP/1.1 and WebSockets.
 
%prep
%autosetup -n uvicorn-%{version} -p 1
 
%build
%pyproject_build
 
%install
%pyproject_install
 
%files -n python3-%{pkgname}
%license LICENSE.md
%doc README.md
%{_bindir}/uvicorn
%{python3_sitelib}/uvicorn*.dist-info/
%{python3_sitelib}/uvicorn

%changelog
* Fri Jun 28 2024 liyue01 <liyue01@kylinos.cn> - 0.30.1-1
- Update package to version 0.30.1
- Fixed :Allow horizontal tabs in response header values
- Added New multiprocess manager and Allow ConfigParser or a io.IO[Any] on log_config
- Fixed:Suppress side-effects of signal propagation ,Send content-length header on 5xx
- Added Cooperative signal handling
- Fixed :Revert raise ClientDisconnected on HTTP
- Added Raise ClientDisconnected on send() when client disconnected

* Mon Feb 26 2024 wangjunqi <wangjunqi@kylinos.cn> - 0.27.1-1
- Update package to version 0.27.1

* Tue Jul 25 2023 ysliu <ysliuci@isoftstone.com> - 0.23.1-1
- Initial package.