From da1875105f94d32d524573a0f5ca0b275eff2e10 Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Mon, 6 Apr 2026 13:27:05 +0200 Subject: [PATCH] python3Packages.fastapi: 0.128.0 -> 0.135.3 --- pkgs/development/python-modules/fastapi/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fastapi/default.nix b/pkgs/development/python-modules/fastapi/default.nix index bc40f7acb728..9d5aea8559e5 100644 --- a/pkgs/development/python-modules/fastapi/default.nix +++ b/pkgs/development/python-modules/fastapi/default.nix @@ -14,6 +14,7 @@ # tests anyio, + a2wsgi, dirty-equals, flask, inline-snapshot, @@ -21,6 +22,8 @@ pwdlib, pyjwt, pytest-asyncio, + pytest-xdist, + pytest-timeout, pytestCheckHook, sqlalchemy, trio, @@ -42,14 +45,14 @@ buildPythonPackage rec { pname = "fastapi"; - version = "0.128.0"; + version = "0.135.3"; pyproject = true; src = fetchFromGitHub { owner = "tiangolo"; repo = "fastapi"; tag = version; - hash = "sha256-qUTSqTe9mQzfuwqsTCQY6u7Tcnh9XNy4tr5o0/qFFLs="; + hash = "sha256-sE5d+MgmP9L+MUosRBsR+KSJkcC9i2EOOtKHq0sXjRM="; }; build-system = [ pdm-backend ]; @@ -99,6 +102,7 @@ buildPythonPackage rec { nativeCheckInputs = [ anyio + a2wsgi dirty-equals flask inline-snapshot @@ -107,6 +111,8 @@ buildPythonPackage rec { pyjwt pytestCheckHook pytest-asyncio + pytest-xdist + pytest-timeout trio sqlalchemy ] @@ -132,6 +138,8 @@ buildPythonPackage rec { # Don't test docs and examples "docs_src" "tests/test_tutorial/test_sql_databases" + "tests/test_tutorial/test_static_files" + "tests/test_tutorial/test_custom_docs_ui" # Infinite recursion with strawberry-graphql "tests/test_tutorial/test_graphql/test_tutorial001.py" ];