diff --git a/.gitignore b/.gitignore index 3dba223..cf9d62c 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /fastapi-0.68.1.tar.gz /fastapi-0.68.2.tar.gz /fastapi-0.69.0.tar.gz +/fastapi-0.70.0.tar.gz diff --git a/python-fastapi.spec b/python-fastapi.spec index adafcbe..5458915 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -24,7 +24,7 @@ %global sum_zh FastAPI 框架 Name: python-fastapi -Version: 0.69.0 +Version: 0.70.0 Release: %autorelease Summary: %{sum_en} @@ -316,12 +316,7 @@ sed -r -i 's/("types-(u|or)json\b.*",)/# \1/' pyproject.toml # Selectively loosen dependencies that are perhaps arbitrarily pinned to # certain version ranges: first, those for which we choose to allow newer # versions… -# • flask, itsdangerous, jinja: https://github.com/tiangolo/fastapi/issues/3512 -sed -r -i \ - 's/("(httpx\b|'\ -'flask|itsdangerous|jinja2)'\ -'[^<"]*),[[:blank:]]*<[^"]*/\1/' \ - pyproject.toml +sed -r -i 's/("(httpx\b)[^<"]*),[[:blank:]]*<[^"]*/\1/' pyproject.toml # …and second, those for which we choose to allow older and newer # versions. This could have unwanted consequences, but such is the nature of # packaging. @@ -353,9 +348,9 @@ rm -rvf docs/*/docs/js docs/*/docs/css # FAILED tests/test_typing_python39.py::test_typing - TypeError: issubclass() a... # Because upstream is behind on dependencies *and* does not test with Python # 3.10 yet, it’s hard to tell if this is a Python 3.10 issue or an -# incompatibility with the particular versions of starlette or pydantic in -# Fedora. Until upstream at leasts supports Python 3.10 properly, it will be -# difficult to form a usable upstream bug report from this failure. +# incompatibility with the particular version of pydantic in Fedora. Until +# upstream at leasts supports Python 3.10 properly, it will be difficult to +# form a usable upstream bug report from this failure. # # Requires orjson: # tests/test_tutorial/test_custom_response/test_tutorial001b.py diff --git a/sources b/sources index ad18317..eb7d378 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fastapi-0.69.0.tar.gz) = dd9cb4f7a97e254cefcedc87724a85b30c42540c30a96a24fa7b29a25daa05614b5ff5478f801bbb03a451a3aea95a8ec44ae6e42978add13b19d8b745f08291 +SHA512 (fastapi-0.70.0.tar.gz) = 786165006ad4e71a2981987993acef325c42d368d6994cce0cf694cfd161d3b8caccc513d4fd7ca0f8612771de957e79b1e73d69b69086571a6a40c301ad7ed5