From da1875105f94d32d524573a0f5ca0b275eff2e10 Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Mon, 6 Apr 2026 13:27:05 +0200 Subject: [PATCH 1/3] 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" ]; From d2ee588137705c5fa05e262c7dfb9549f1ab1862 Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Mon, 6 Apr 2026 13:27:05 +0200 Subject: [PATCH 2/3] python3Packages.httpx-curl-cffi: init at 0.1.5 --- .../httpx-curl-cffi/default.nix | 42 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 44 insertions(+) create mode 100644 pkgs/development/python-modules/httpx-curl-cffi/default.nix diff --git a/pkgs/development/python-modules/httpx-curl-cffi/default.nix b/pkgs/development/python-modules/httpx-curl-cffi/default.nix new file mode 100644 index 000000000000..8420f97e8c99 --- /dev/null +++ b/pkgs/development/python-modules/httpx-curl-cffi/default.nix @@ -0,0 +1,42 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + pdm-backend, + curl-cffi, + httpx, + typing-extensions, +}: + +buildPythonPackage (finalAttrs: { + pname = "httpx-curl-cffi"; + version = "0.1.5"; + pyproject = true; + + src = fetchPypi { + pname = "httpx_curl_cffi"; + inherit (finalAttrs) version; + hash = "sha256-F37plo6doUJAcBeBbMP7CKsoGxNPdzqTWbakZQpsgfM="; + }; + + build-system = [ + pdm-backend + ]; + + dependencies = [ + curl-cffi + httpx + typing-extensions + ]; + + pythonImportsCheck = [ + "httpx_curl_cffi" + ]; + + meta = { + description = "Httpx transport for curl_cffi (python bindings for curl-impersonate"; + homepage = "https://pypi.org/project/httpx-curl-cffi"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ xanderio ]; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 91208e3b4e53..770c5f723711 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7224,6 +7224,8 @@ self: super: with self; { httpx-auth = callPackage ../development/python-modules/httpx-auth { }; + httpx-curl-cffi = callPackage ../development/python-modules/httpx-curl-cffi { }; + httpx-ntlm = callPackage ../development/python-modules/httpx-ntlm { }; httpx-oauth = callPackage ../development/python-modules/httpx-oauth { }; From 5ca7f3d9ee0f7dc576bf4497f4cab4cfa06f6020 Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Mon, 6 Apr 2026 13:16:36 +0200 Subject: [PATCH 3/3] mealie: 3.12.0 -> 3.16.0 Changelog: https://github.com/mealie-recipes/mealie/releases/tag/v3.16.0 --- pkgs/by-name/me/mealie/mealie-frontend.nix | 4 ++-- pkgs/by-name/me/mealie/package.nix | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/me/mealie/mealie-frontend.nix b/pkgs/by-name/me/mealie/mealie-frontend.nix index 016541daa23f..b3359fb64271 100644 --- a/pkgs/by-name/me/mealie/mealie-frontend.nix +++ b/pkgs/by-name/me/mealie/mealie-frontend.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation { yarnOfflineCache = fetchYarnDeps { yarnLock = "${src}/frontend/yarn.lock"; - hash = "sha256-aYgTdHrorLNBYVNwVyYSTfAqtvn1JB0FBAkoem0vNSU="; + hash = "sha256-F1dhdBHfT9N1Ejk7WLyz2BbKlTPfqqEDNi7ZTL3phWY="; }; nativeBuildInputs = [ @@ -47,7 +47,7 @@ stdenv.mkDerivation { runHook preBuild export NUXT_TELEMETRY_DISABLED=1 - yarn --offline generate --env production + yarn --offline generate runHook postBuild ''; diff --git a/pkgs/by-name/me/mealie/package.nix b/pkgs/by-name/me/mealie/package.nix index 8200c4b38e1e..765822f5dfa9 100644 --- a/pkgs/by-name/me/mealie/package.nix +++ b/pkgs/by-name/me/mealie/package.nix @@ -12,12 +12,12 @@ }: let - version = "3.12.0"; + version = "3.16.0"; src = fetchFromGitHub { owner = "mealie-recipes"; repo = "mealie"; tag = "v${version}"; - hash = "sha256-HjXEoLrjmf4ZfBm6/7f5SJzH7nHSKiMOOMRVrYW0vKY="; + hash = "sha256-DUwLCe221MQb6AEYNxNDWXoaEdf9q/dNklOXJncnnJ4="; }; frontend = callPackage (import ./mealie-frontend.nix src version) { }; @@ -54,6 +54,7 @@ pythonpkgs.buildPythonApplication rec { freezegun html2text httpx + httpx-curl-cffi ingredient-parser-nlp isodate itsdangerous @@ -83,6 +84,7 @@ pythonpkgs.buildPythonApplication rec { typing-extensions tzdata uvicorn + yt-dlp ] ++ uvicorn.optional-dependencies.standard; @@ -90,7 +92,7 @@ pythonpkgs.buildPythonApplication rec { rm -rf dev # Do not need dev scripts & code substituteInPlace pyproject.toml \ - --replace-fail '"setuptools==82.0.0"' '"setuptools"' + --replace-fail '"setuptools==82.0.1"' '"setuptools"' substituteInPlace mealie/__init__.py \ --replace-fail '__version__ = ' '__version__ = "v${version}" #'