Compare commits
16 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 0f00a3afd3 | |||
| 942d191f7f | |||
| 75c54151ed | |||
| 31586c429c | |||
| fd2f90ced1 | |||
| 3cd556e51b | |||
| c5afff1a68 | |||
| eb63bfcd11 | |||
| 5d083e5bae | |||
| 17232d5cbb | |||
| 991ff8bce8 | |||
| d71950ed45 | |||
| 6e8484ebff | |||
| 40a281c5fc | |||
| 44ba35b33b | |||
| f3f8a9b03a |
BIN
fastapi-0.115.13.tar.gz
LFS
BIN
fastapi-0.115.13.tar.gz
LFS
Binary file not shown.
3
fastapi-0.122.0.tar.gz
Normal file
3
fastapi-0.122.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd9b5352031f93773228af8b4c443eedc2ac2aa74b27780387b853c3726fb94b
|
||||
size 346436
|
||||
@@ -1,3 +1,83 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 28 11:00:24 UTC 2025 - Marius Grossu <marius.grossu@suse.com>
|
||||
|
||||
- Update to version 0.122.0:
|
||||
* Use 401 status code in security classes when credentials are missing
|
||||
* Configure labeler to exclude files that start from underscore for lang-all label.
|
||||
* Add pre-commit config with local script for permalinks.
|
||||
* Use font Fira Code to fix display of Rich panels in docs in Windows
|
||||
* Add custom pre-commit CI
|
||||
* Bump actions/checkout from 5 to 6
|
||||
* Upgrade latest-changes GitHub Action and pin actions/checkout@v5
|
||||
* Add add-permalinks and add-permalinks-page to scripts/docs.py
|
||||
* Upgrade Material for MkDocs and remove insiders
|
||||
* Make the result of Depends() and Security() hashable, as a workaround for other tools interacting with these internal parts
|
||||
* Bump Starlette to <0.51.0
|
||||
* Add missing hash parts
|
||||
* Fix typos in code comments
|
||||
* Add docs for using FastAPI Cloud
|
||||
* Fix handling of JSON Schema attributes named "$ref"
|
||||
* Fix links and add missing permalink in docs
|
||||
* Fix Depends(func, scope='function') for top level (parameterless) dependencies
|
||||
* Upate docs for advanced dependencies with yield, noting the changes in 0.121.0, adding scope
|
||||
* Bump ruff from 0.13.2 to 0.14.3
|
||||
* [pre-commit.ci] pre-commit autoupdate
|
||||
- Update to version 0.121.0:
|
||||
* Add support for dependencies with scopes, support scope="request" for dependencies with yield that exit before the response is sent
|
||||
* Update FastAPI People - Contributors and Translators
|
||||
* Update FastAPI People - Sponsors
|
||||
* Update FastAPI GitHub topic repositories
|
||||
* Bump mkdocs-macros-plugin from 1.4.0 to 1.4.1
|
||||
* Bump mkdocstrings[python] from 0.26.1 to 0.30.1
|
||||
* Fix security schemes in OpenAPI when added at the top level app
|
||||
* Reduce internal cyclic recursion in dependencies, from 2 functions calling each other to 1 calling itself
|
||||
* Refactor internals of dependencies, simplify code and remove get_param_sub_dependant
|
||||
* Refactor internals of dependencies, simplify using dataclasses
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 31 03:36:17 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Drop unneeded BuildRequires on databases.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 30 11:58:24 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||
|
||||
- Update to 0.120.2
|
||||
* Fix separation of schemas with nested models introduced in 0.119.0
|
||||
- Update to 0.120.1
|
||||
* Bump Starlette to <0.50.0
|
||||
- Update to 0.120.0
|
||||
* Sync German docs
|
||||
* Migrate internal reference documentation from typing_extensions.Doc to
|
||||
annotated_doc.Doc
|
||||
* Update German LLM prompt and test file
|
||||
* [pre-commit.ci] pre-commit autoupdate
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 25 05:36:00 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 0.117.1:
|
||||
* Features
|
||||
+ Allow None as return type for bodiless responses.
|
||||
+ Allow array values for OpenAPI schema type field.
|
||||
+ Add OpenAPI external_docs parameter to FastAPI.
|
||||
+ Add support for deploying to FastAPI Cloud with fastapi deploy.
|
||||
* Upgrades
|
||||
+ Upgrade Starlette supported version range to >=0.40.0,<0.49.0.
|
||||
* Fixes
|
||||
+ Fix validation error when File is declared after Form parameter.
|
||||
+ Fix default_factory for response model field with Pydantic V1.
|
||||
+ Fix inconsistent processing of model docstring formfeed char with
|
||||
Pydantic V1.
|
||||
+ Fix jsonable_encoder alters json_encoders of Pydantic v1 objects.
|
||||
+ Reenable allow_arbitrary_types when only 1 argument is used on the API
|
||||
endpoint.
|
||||
+ Fix inspect.getcoroutinefunction() can break testing with
|
||||
unittest.mock.patch().
|
||||
+ Fix support for unions when using Form.
|
||||
- Update URL.
|
||||
- Drop patch support-starlette-0.47.patch, no longer required.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 19 13:10:16 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-fastapi
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -31,22 +31,21 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-fastapi%{psuffix}
|
||||
Version: 0.115.13
|
||||
Version: 0.122.0
|
||||
Release: 0
|
||||
Summary: FastAPI framework
|
||||
License: MIT
|
||||
URL: https://github.com/tiangolo/fastapi
|
||||
URL: https://github.com/fastapi/fastapi
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fastapi/fastapi-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE Support starlette 0.47
|
||||
Patch0: support-starlette-0.47.patch
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pdm-backend}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-annotated-doc >= 0.0.2
|
||||
Requires: python-pydantic >= 1.8.2
|
||||
Requires: python-typing_extensions >= 4.8.0
|
||||
Requires: (python-starlette >= 0.40.0 with python-starlette < 0.48.0)
|
||||
Requires: (python-starlette >= 0.40.0 with python-starlette < 0.50.0)
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
@@ -63,8 +62,8 @@ BuildRequires: %{python_module PyYAML >= 5.3.1}
|
||||
BuildRequires: %{python_module SQLAlchemy}
|
||||
BuildRequires: %{python_module aiosqlite}
|
||||
BuildRequires: %{python_module anyio >= 3.2.1}
|
||||
BuildRequires: %{python_module argon2-cffi}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module databases >= 0.3.2}
|
||||
BuildRequires: %{python_module dirty-equals}
|
||||
BuildRequires: %{python_module email-validator >= 1.1.1}
|
||||
BuildRequires: %{python_module fastapi = %{version}}
|
||||
@@ -73,6 +72,7 @@ BuildRequires: %{python_module inline-snapshot}
|
||||
BuildRequires: %{python_module orjson >= 3.2.1}
|
||||
BuildRequires: %{python_module passlib}
|
||||
BuildRequires: %{python_module peewee >= 3.13.0}
|
||||
BuildRequires: %{python_module pwdlib >= 0.2.1}
|
||||
BuildRequires: %{python_module pydantic-settings >= 2.0.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-jose >= 3.3}
|
||||
@@ -109,6 +109,8 @@ donttest+=" or test_exception_handler_body_access"
|
||||
# python-fastapi-cli packages doesn't exists in openSUSE
|
||||
donttest+=" or test_fastapi_cli"
|
||||
donttest+=" or test_openapi"
|
||||
# seems to hang in OBS and only for 3.9 which we don't support anymore
|
||||
donttest+=" or test_tutorial003_py39.py"
|
||||
%pytest -W ignore::DeprecationWarning -W ignore::PendingDeprecationWarning -W ignore::ResourceWarning -k "not ($donttest)" tests
|
||||
%endif
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
Index: fastapi-0.115.12/pyproject.toml
|
||||
===================================================================
|
||||
--- fastapi-0.115.12.orig/pyproject.toml
|
||||
+++ fastapi-0.115.12/pyproject.toml
|
||||
@@ -45,7 +45,7 @@ classifiers = [
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
]
|
||||
dependencies = [
|
||||
- "starlette>=0.40.0,<0.47.0",
|
||||
+ "starlette>=0.40.0,<0.48.0",
|
||||
"pydantic>=1.7.4,!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0",
|
||||
"typing-extensions>=4.8.0",
|
||||
]
|
||||
Reference in New Issue
Block a user