From 71c1848429b272eaa6831bfa5f5fc7ac2c22dc0c Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Jun 08 2022 12:36:30 +0000 Subject: Update starlette to 0.20.2 --- diff --git a/python-fastapi.spec b/python-fastapi.spec index 2f2b203..4cb0cb1 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -20,7 +20,7 @@ URL: https://github.com/tiangolo/fastapi Source0: %{url}/archive/%{version}/fastapi-%{version}.tar.gz BuildArch: noarch -# Bump starlette from 0.20.1 to 0.20.1 +# Bump starlette from 0.20.0 to 0.20.1 # https://github.com/tiangolo/fastapi/pull/4936 # # This PR includes the changes to bump from 0.19.1 to 0.20.0, corresponding to @@ -288,6 +288,8 @@ sed -r -i 's/("types-(u|or)json\b.*",)/# \1/' pyproject.toml # Selectively allow newer versions for certain tightly-pinned dependencies: sed -r -i 's/("((databases|httpx|pytest)\b)[^<"]*),[[:blank:]]*<[^"]*/\1/' \ pyproject.toml +# Allow starlette 0.20.2: +sed -r -i 's/(==0\.20\.)1/\12/' pyproject.toml # Remove bundled js-termynal 0.0.1; since we are not building documentation, we # do this very bluntly: