Skip to content

Commit

Permalink
Ignore SQLAlchemy RemovedIn20Warning from FastAPI
Browse files Browse the repository at this point in the history
We have SQLAlchemy pinned anyway; we are not yet concerned about
forward-compatibility with 2.0, especially in dependencies.
  • Loading branch information
musicinmybrain committed Oct 15, 2023
1 parent 6bccc4d commit 6f11a91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ filterwarnings = [
"error",
# TODO: needed by asyncio in Python 3.9.7 https://bugs.python.org/issue45097, try to remove on 3.9.8
'ignore:The loop argument is deprecated since Python 3\.8, and scheduled for removal in Python 3\.10:DeprecationWarning:asyncio',
# We have SQLAlchemy pinned anyway; we are not yet concerned about
# forward-compatibility with 2.0, especially in dependencies.
'ignore::sqlalchemy.exc.RemovedIn20Warning:fastapi',
'ignore:starlette.middleware.wsgi is deprecated and will be removed in a future release\..*:DeprecationWarning:starlette',
# TODO: remove after upgrading HTTPX to a version newer than 0.23.0
# Including PR: https://github.com/encode/httpx/pull/2309
Expand Down

0 comments on commit 6f11a91

Please sign in to comment.