From 88ea7828d9e2fd44c0a0439a885d1d1bc75a74f8 Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Jun 27 2023 14:55:15 +0000 Subject: Update to 0.98.0 --- diff --git a/.gitignore b/.gitignore index 676e94b..061cffb 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,4 @@ /fastapi-0.96.0.tar.gz /fastapi-0.96.1.tar.gz /fastapi-0.97.0.tar.gz +/fastapi-0.98.0.tar.gz diff --git a/0001-Allow-httpx-0.24.x-for-testing.patch b/0001-Allow-httpx-0.24.x-for-testing.patch index bdd3a21..a491d51 100644 --- a/0001-Allow-httpx-0.24.x-for-testing.patch +++ b/0001-Allow-httpx-0.24.x-for-testing.patch @@ -1,4 +1,4 @@ -From 797f549935120887fc21a149da6113a6a3e61f3a Mon Sep 17 00:00:00 2001 +From b829470cb84a5d11865beef3aed9a74af5f2692b Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 22 Jun 2023 11:03:48 -0400 Subject: [PATCH] Allow httpx 0.24.x for testing @@ -8,12 +8,12 @@ Subject: [PATCH] Allow httpx 0.24.x for testing 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-tests.txt b/requirements-tests.txt -index f7ec4b5b..fca79640 100644 +index cff46be2..0f9b3761 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -4,7 +4,7 @@ coverage[toml] >= 6.5.0,< 8.0 - mypy ==1.3.0 - ruff ==0.0.272 + mypy ==1.4.0 + ruff ==0.0.275 black == 23.3.0 -httpx >=0.23.0,<0.24.0 +httpx >=0.23.0,<0.25.0 diff --git a/5799.patch b/5799.patch index 8cb1e2a..a1a7c6b 100644 --- a/5799.patch +++ b/5799.patch @@ -1,4 +1,4 @@ -From bedba41ca8ff0a4a9b8dd52eca057ef56c34c2aa Mon Sep 17 00:00:00 2001 +From 403663d123c0e96d1d6e827845d41dfe89f22edb Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 18 Dec 2022 11:19:34 -0500 Subject: [PATCH 1/2] Upgrade databases and SQLAlchemy @@ -10,10 +10,10 @@ Incompatibilities with recent SQLAlchemy versions are fixed in databases 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/requirements-tests.txt b/requirements-tests.txt -index 3ef3c4fd982..f7ec4b5bb28 100644 +index 5cedde84d445..cff46be23d42 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt -@@ -6,11 +6,9 @@ ruff ==0.0.272 +@@ -6,11 +6,9 @@ ruff ==0.0.275 black == 23.3.0 httpx >=0.23.0,<0.24.0 email_validator >=1.1.1,<2.0.0 @@ -28,7 +28,7 @@ index 3ef3c4fd982..f7ec4b5bb28 100644 ujson >=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0 python-multipart >=0.0.5,<0.0.7 -From 301746390d385ba18d74768a60ec4e098e39600c Mon Sep 17 00:00:00 2001 +From 0112aba96b57eb5ff4609a2a2c9d5a45a264e9ed Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 16 Jan 2023 19:19:56 -0500 Subject: [PATCH 2/2] Ignore SQLAlchemy RemovedIn20Warning from FastAPI @@ -40,10 +40,10 @@ forward-compatibility with 2.0, especially in dependencies. 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml -index 5471371445d..1e9e815d630 100644 +index 5c0d3c48ecfd..1946126206e2 100644 --- a/pyproject.toml +++ b/pyproject.toml -@@ -90,6 +90,9 @@ filterwarnings = [ +@@ -91,6 +91,9 @@ filterwarnings = [ "error", # TODO: needed by asyncio in Python 3.9.7 https://bugs.python.org/issue45097, try to remove on 3.9.8 'ignore:The loop argument is deprecated since Python 3\.8, and scheduled for removal in Python 3\.10:DeprecationWarning:asyncio', diff --git a/python-fastapi.spec b/python-fastapi.spec index f127f8e..1a458a9 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -14,7 +14,7 @@ %global sum_zh FastAPI 框架 Name: python-fastapi -Version: 0.97.0 +Version: 0.98.0 Release: %autorelease Summary: %{sum_en} diff --git a/sources b/sources index 0895907..f6b5f52 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fastapi-0.97.0.tar.gz) = df4c5b810fefd15448fb4ee4b80d4fceaafbbbc1a5c788a8edac4deabe69602db3e84dd045d4b251a54544d531d8632e71958d9a9a004d573538de932a3ee0d0 +SHA512 (fastapi-0.98.0.tar.gz) = 9a3ce960e739f5b779af20e24addda4b00b84f4f465fbcf909698c9a2a82f9819dccb1d76626dd3fbc999223409fba6a33cc9dd0229e74fb50b3fa2036cf293a