From 7c0c18834fc4ea40c21fe49c2b0bf63b21c17953 Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Jun 24 2021 15:33:55 +0000 Subject: Update to 0.15.0 --- diff --git a/.gitignore b/.gitignore index e92dbe1..4d8e1a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /starlette-0.13.8.tar.gz /starlette-0.14.2.tar.gz +/starlette-0.15.0.tar.gz diff --git a/python-starlette.spec b/python-starlette.spec index 5a166af..7a3bcac 100644 --- a/python-starlette.spec +++ b/python-starlette.spec @@ -11,13 +11,13 @@ %endif Name: python-%{srcname} -Version: 0.14.2 -Release: 8%{?dist} +Version: 0.15.0 +Release: 1%{?dist} Summary: The little ASGI library that shines License: BSD URL: https://www.starlette.io/ -Source0: %{pypi_source} +Source0: https://github.com/encode/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz Source1: pytest.ini BuildArch: noarch @@ -27,20 +27,23 @@ BuildRequires: pyproject-rpm-macros # These BR’s cannot be generated because they appear only in requirements.txt. # We do not need the “Optionals”, which correspond to the “full” extra, nor # those for “Packaging”, which are for uploading to PyPI, but we do need those -# for “Testing”, except linters, formatters, mypy, pytest-cov: +# for “Testing”, except linters, formatters, mypy: # - autoflake # - black==20.8b1 +# - coverage>=5.3 # - flake8 # - isort==5.* # - mypy -# - pytest-cov +# - types-requests +# - types-contextvars +# - types-PyYAML +# - types-dataclasses %if %{with databases} BuildRequires: python3dist(databases[sqlite]) %endif BuildRequires: python3dist(flake8) BuildRequires: python3dist(pytest) -BuildRequires: python3dist(pytest-cov) -BuildRequires: python3dist(pytest-asyncio) +BuildRequires: python3dist(trio) %if %{with html_docs} # See “Documentation” in requirements.txt. These BR’s cannot be automatically @@ -52,21 +55,22 @@ BuildRequires: python3dist(mkautodoc) %global common_description %{expand: Starlette is a lightweight ASGI framework/toolkit, which is ideal for building -high performance asyncio services. +high performance async services. It is production-ready, and gives you the following: - * Seriously impressive performance. - * WebSocket support. - * GraphQL support. - * In-process background tasks. - * Startup and shutdown events. - * Test client built on requests. - * CORS, GZip, Static Files, Streaming responses. - * Session and Cookie support. - * 100% test coverage. - * 100% type annotated codebase. - * Zero hard dependencies.} + • Seriously impressive performance. + • WebSocket support. + • GraphQL support. + • In-process background tasks. + • Startup and shutdown events. + • Test client built on requests. + • CORS, GZip, Static Files, Streaming responses. + • Session and Cookie support. + • 100% test coverage. + • 100% type annotated codebase. + • Few hard dependencies. + • Compatible with asyncio and trio backends.} %description %{common_description} @@ -154,6 +158,9 @@ cp -p '%{SOURCE1}' . %changelog +* Thu Jun 24 2021 Benjamin A. Beasley - 0.15.0-1 +- Update to 0.15.0 (closes RHBZ#1975613) + * Fri Jun 04 2021 Python Maint - 0.14.2-8 - Rebuilt for Python 3.10 diff --git a/sources b/sources index a4af731..54a265a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (starlette-0.14.2.tar.gz) = 4321d3d1890c49dea53d7923b456772ecc9d28083d28392e0e9cd1f39f33180cc1cb28914bee443849fa8c87015dd99610ea18e03f0101b0eaf3f8df56249fab +SHA512 (starlette-0.15.0.tar.gz) = 838246654db0eeb06a6f65e0c8b7c8fd8953b3c8eec138378c084a3fe08b5b149853422e31949a663b179513d31fe028f823186821d4501a245e39ce3fd7f387