Overview

Request 1202122 accepted

- Update to 0.114.2:
* Fix form field regression with alias.
* Improve performance in request body parsing with a cache for internal
model fields.
* Add support for Pydantic models in Form parameters.
* Fix allow_inf_nan option for Param and Body classes.
* Ensure that app.include_router merges nested lifespans.
* Allow Starlette 0.38.x, update the pin to >=0.37.2,<0.39.0
- Drop patch allow-starlette-0.38.patch, included upstream.


Ana Guerrero's avatar

FTBFS against factory:

[   13s] ============================= test session starts ==============================
[   13s] platform linux -- Python 3.10.14, pytest-8.3.2, pluggy-1.5.0 -- /usr/bin/python3.10
[   13s] cachedir: .pytest_cache
[   13s] rootdir: /home/abuild/rpmbuild/BUILD/fastapi-0.114.2
[   13s] configfile: pyproject.toml
[   13s] plugins: anyio-4.4.0
[   18s] collecting ... collected 2045 items / 1 error / 343 deselected / 1702 selected
[   18s] 
[   18s] ==================================== ERRORS ====================================
[   18s] _____________ ERROR collecting tests/test_orjson_response_class.py _____________
[   18s] ImportError while importing test module '/home/abuild/rpmbuild/BUILD/fastapi-0.114.2/tests/test_orjson_response_class.py'.
[   18s] Hint: make sure your test modules/packages have valid Python names.
[   18s] Traceback:
[   18s] /usr/lib64/python3.10/importlib/__init__.py:126: in import_module
[   18s]     return _bootstrap._gcd_import(name[level:], package, level)
[   18s] tests/test_orjson_response_class.py:4: in <module>
[   18s]     from sqlalchemy.sql.elements import quoted_name
[   18s] E   ModuleNotFoundError: No module named 'sqlalchemy'
[   18s] =========================== short test summary info ============================
[   18s] ERROR tests/test_orjson_response_class.py
[   18s] !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
[   18s] ======================= 343 deselected, 1 error in 4.88s =======================
[   18s] error: Bad exit status from /var/tmp/rpm-tmp.GP92NQ (%check)
Request History
Steve Kowalik's avatar

StevenK created request

- Update to 0.114.2:
* Fix form field regression with alias.
* Improve performance in request body parsing with a cache for internal
model fields.
* Add support for Pydantic models in Form parameters.
* Fix allow_inf_nan option for Param and Body classes.
* Ensure that app.include_router merges nested lifespans.
* Allow Starlette 0.38.x, update the pin to >=0.37.2,<0.39.0
- Drop patch allow-starlette-0.38.patch, included upstream.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:J as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:J"


Wolfgang Engel's avatar

bigironman accepted review

Accepted review for by_group opensuse-review-team request 1202122 from user anag+factory


Ana Guerrero's avatar

anag+factory accepted review

Staging Project openSUSE:Factory:Staging:J got accepted.


Ana Guerrero's avatar

anag+factory approved review

Staging Project openSUSE:Factory:Staging:J got accepted.


Ana Guerrero's avatar

anag+factory accepted request

Staging Project openSUSE:Factory:Staging:J got accepted.

openSUSE Build Service is sponsored by