diff --git a/python-fastapi.spec b/python-fastapi.spec index 8fe171f..dc12d88 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -26,7 +26,7 @@ Name: python-%{srcname} Version: 0.65.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{sum_en} License: MIT @@ -315,7 +315,7 @@ Requires: js-termynal # versions. This could have unwanted consequences, but such is the nature of # packaging. # -# Allow aiofiles 0.6.x: https://github.com/tiangolo/fastapi/pull/3075 +# Allow aiofiles 0.7.x: https://github.com/tiangolo/fastapi/pull/2899 # # Replace passlib[bcrypt] with passlib and bcrypt separately, until # https://bugzilla.redhat.com/show_bug.cgi?id=1936021 is fixed (F35 and later). @@ -327,7 +327,7 @@ sed -r -i \ -e 's/("async_(exit_stack|generator)[^"]*)/\1; '"python_version < '3.7'/" \ -e 's/("(httpx\b|sqlalchemy\b|databases\[sqlite\]|mkdocs-markdownextradata-plugin)[^<"]*),[[:blank:]]*<[^"]*/\1/' \ -e 's/("(ujson))\b[^"]*/\1/' \ - -e 's/("(aiofiles|)\b[^<"]*,[[:blank:]]*<0\.)6\.0/\17.0/' \ + -e 's/("(aiofiles|)\b[^<"]*,[[:blank:]]*<0\.)6\.0/\18.0/' \ %if 0%{?fedora} && 0%{?fedora} < 35 -e 's/([[:blank:]]*)("passlib)\[bcrypt\](.*)/\1"bcrypt",\n\1\2\3/' \ %endif @@ -414,6 +414,9 @@ rm -rf '%{buildroot}%{_jsdir}' %changelog +* Thu Jun 24 2021 Benjamin A. Beasley - 0.65.2-2 +- Allow aiofiles 0.7 + * Wed Jun 09 2021 Benjamin A. Beasley - 0.65.2-1 - Update to 0.65.2 (fixes RHBZ#1969758, fixes CVE-2021-32677)