diff options
Diffstat (limited to 'pkgs/development/python-modules')
| -rw-r--r-- | pkgs/development/python-modules/fastapi/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/fastapi/default.nix b/pkgs/development/python-modules/fastapi/default.nix index 05bb745ca1d9..fec7d7b6a6dd 100644 --- a/pkgs/development/python-modules/fastapi/default.nix +++ b/pkgs/development/python-modules/fastapi/default.nix @@ -39,6 +39,7 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ + --replace '"databases[sqlite] >=0.3.2,<0.7.0",' "" \ --replace "starlette==" "starlette>=" ''; @@ -49,7 +50,7 @@ buildPythonPackage rec { nativeCheckInputs = [ aiosqlite - databases + # databases FIXME incompatible with SQLAlchemy 2.0 flask httpx orjson @@ -73,6 +74,9 @@ buildPythonPackage rec { "tests/test_default_response_class.py" # Don't test docs and examples "docs_src" + # databases is incompatible with SQLAlchemy 2.0 + "tests/test_tutorial/test_async_sql_databases" + "tests/test_tutorial/test_sql_databases" ]; disabledTests = [ |
