已开启
Update python-fastapi to 0.133.0 for starlette >= 1.0 compatibility #13
Update python-fastapi to 0.133.0 for starlette >= 1.0 compatibility #13
已开启
Hongyu Shi创建于 9月18日
共 3 个文件变更+14-25
Binary files do not support preview
Binary files do not support preview
@@ -1,34 +1,18 @@
1%global _empty_manifest_terminate_build 01%global _empty_manifest_terminate_build 0
2Name: python-fastapi2Name: python-fastapi
3-Version: 0.115.123+Version: 0.133.0
4-Release: 24+Release: 1
5Summary: FastAPI framework, high performance, easy to learn, fast to code, ready for production5Summary: FastAPI framework, high performance, easy to learn, fast to code, ready for production
6License: MIT6License: MIT
7URL: https://github.com/fastapi/fastapi7URL: https://github.com/fastapi/fastapi
8-Source0: https://files.pythonhosted.org/packages/f4/55/ae499352d82338331ca1e28c7f4a63bfd09479b16395dce38cf50a39e2c2/fastapi-0.115.12.tar.gz8+Source0: https://files.pythonhosted.org/packages/c2/04/ab382c7c03dd545f2c964d06e87ad0d5faa944a2434186ad9c285f5d87e0/fastapi-0.133.0.tar.gz
9BuildArch: noarch9BuildArch: noarch
10 10 
11-Requires: (python3-starlette<0.47.0 with python3-starlette>=0.40.0)11+Requires: (python3-starlette>=0.40.0)
12-Requires: (python3-pydantic!=1.8 with python3-pydantic!=1.8.1 with python3-pydantic!=2.0.0 with python3-pydantic!=2.0.1 with python3-pydantic!=2.1.0 with python3-pydantic<3.0.0 with python3-pydantic>=1.7.4)12+Requires: (python3-pydantic>=2.7.0)
13-Requires: (python3-typing-extensions)13+Requires: (python3-typing-extensions>=4.8.0)
14-Requires: (python3-fastapi-cli[standard])14+Requires: (python3-typing-inspection>=0.4.2)
15-Requires: (python3-httpx)15+Requires: (python3-annotated-doc>=0.0.2)
16-Requires: (python3-jinja2)
17-Requires: (python3-python-multipart)
18-Requires: (python3-email-validator)
19-Requires: (python3-uvicorn[standard])
20-Requires: (python3-fastapi-cli[standard])
21-Requires: (python3-httpx)
22-Requires: (python3-jinja2)
23-Requires: (python3-python-multipart)
24-Requires: (python3-itsdangerous)
25-Requires: (python3-pyyaml)
26-Requires: (python3-ujson!=4.0.2 with python3-ujson!=4.1.0 with python3-ujson!=4.2.0 with python3-ujson!=4.3.0 with python3-ujson!=5.0.0 with python3-ujson!=5.1.0 with python3-ujson>=4.0.1)
27-Requires: (python3-orjson)
28-Requires: (python3-email-validator)
29-Requires: (python3-uvicorn[standard])
30-Requires: (python3-pydantic-settings)
31-Requires: (python3-pydantic-extra-types)
32 16 
33%description17%description
34**Documentation**: <a href="https://fastapi.tiangolo.com" target="_blank">https://fastapi.tiangolo.com</a>18**Documentation**: <a href="https://fastapi.tiangolo.com" target="_blank">https://fastapi.tiangolo.com</a>
@@ -47,7 +31,7 @@ BuildRequires: python3-pdm-backend
47 31 
48 32 
49%prep33%prep
50-%autosetup -n fastapi-0.115.1234+%autosetup -n fastapi-0.133.0
51 35 
52%build36%build
53%pyproject_build37%pyproject_build
@@ -82,6 +66,11 @@ mv %{buildroot}/doclist.lst .
82%{python3_sitelib}/*66%{python3_sitelib}/*
83%{_docdir}/*67%{_docdir}/*
84%changelog68%changelog
69+* Mon Aug 31 2026 Hongyu Shi <shywzt@iCloud.com> - 0.133.0-1
70+- Upgrade to 0.133.0 to be compatible with starlette >= 1.0
71+- Fix DevStation install failure caused by starlette version mismatch
72+- Adjust Requires to only core dependencies
73+ 
85* Wed Jun 11 2025 WANG-shine <wangshuai321@huawei.com> - 0.115.12-274* Wed Jun 11 2025 WANG-shine <wangshuai321@huawei.com> - 0.115.12-2
86- bugfix75- bugfix
87 76