From 328363ddbf1ece00603ba0d53cb79b8c5b439346 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 11 Aug 2025 23:59:36 +0200 Subject: [PATCH 1/3] python3Packages.reflex: 0.7.14 -> 0.8.6 Changelog: https://github.com/reflex-dev/reflex/releases/tag/v0.8.6 --- pkgs/development/python-modules/reflex/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/reflex/default.nix b/pkgs/development/python-modules/reflex/default.nix index 83c179a05136..4a826e65aa47 100644 --- a/pkgs/development/python-modules/reflex/default.nix +++ b/pkgs/development/python-modules/reflex/default.nix @@ -7,7 +7,6 @@ build, ruff, dill, - fastapi, granian, hatchling, httpx, @@ -43,14 +42,14 @@ buildPythonPackage rec { pname = "reflex"; - version = "0.7.14"; + version = "0.8.6"; pyproject = true; src = fetchFromGitHub { owner = "reflex-dev"; repo = "reflex"; tag = "v${version}"; - hash = "sha256-yuVBQYP0YlvAIWF/+oSfCLbfj1GLtnYajU3WoolyTjY="; + hash = "sha256-Tas67x9UEFSR7yyENvixzCWbbKgP+OBMw6prnxWgCQo="; }; # 'rich' is also somehow checked when building the wheel, @@ -59,9 +58,9 @@ buildPythonPackage rec { pythonRelaxDeps = [ # needed + "click" + "starlette" "rich" - # preventative - "fastapi" ]; build-system = [ hatchling ]; @@ -70,7 +69,6 @@ buildPythonPackage rec { alembic build # used in custom_components/custom_components.py dill # used in state.py - fastapi granian granian.optional-dependencies.reload httpx From 4b94daa08cddeae24a1af4e1a3f529687fc48fea Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 12 Aug 2025 00:00:07 +0200 Subject: [PATCH 2/3] python3Packages.reflex-chakra: 0.7.1 -> 0.8.2post1 Changelog: https://github.com/reflex-dev/reflex-chakra/releases/tag/v0.8.2post1 --- .../python-modules/reflex-chakra/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/reflex-chakra/default.nix b/pkgs/development/python-modules/reflex-chakra/default.nix index 188c96298e7e..9aa21d479820 100644 --- a/pkgs/development/python-modules/reflex-chakra/default.nix +++ b/pkgs/development/python-modules/reflex-chakra/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchFromGitHub, hatchling, + uv-dynamic-versioning, pythonOlder, reflex, pytestCheckHook, @@ -10,7 +11,7 @@ buildPythonPackage rec { pname = "reflex-chakra"; - version = "0.7.1"; + version = "0.8.2post1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -19,11 +20,19 @@ buildPythonPackage rec { owner = "reflex-dev"; repo = "reflex-chakra"; tag = "v${version}"; - hash = "sha256-dAenwsFhRj9BzdGyaC38TwBWog95H0mSA0ullt4otHA="; + hash = "sha256-DugZRZpGP90EFkBjpAS1XkjrNPG6WWwCQPUcEZJ0ff8="; }; - build-system = [ hatchling ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail ', "uv-dynamic-versioning"' "" \ + --replace-fail 'source = "uv-dynamic-versioning"' 'source = "env"${"\n"}variable = "version"' + ''; + build-system = [ + hatchling + uv-dynamic-versioning + ]; dependencies = [ reflex ]; pythonImportsCheck = [ "reflex_chakra" ]; From 0a36253ace1f336b1b0feeaa9c7af64ed8bf42a5 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 12 Aug 2025 00:01:14 +0200 Subject: [PATCH 3/3] python3Packages.reflex-hosting-cli: 0.1.50 -> 0.1.54 --- .../python-modules/reflex-hosting-cli/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/reflex-hosting-cli/default.nix b/pkgs/development/python-modules/reflex-hosting-cli/default.nix index aea9e53115d5..f42a8a2e4d79 100644 --- a/pkgs/development/python-modules/reflex-hosting-cli/default.nix +++ b/pkgs/development/python-modules/reflex-hosting-cli/default.nix @@ -18,17 +18,18 @@ buildPythonPackage rec { pname = "reflex-hosting-cli"; - version = "0.1.50"; + version = "0.1.54"; pyproject = true; # source is not published https://github.com/reflex-dev/reflex/issues/3762 src = fetchPypi { pname = "reflex_hosting_cli"; inherit version; - hash = "sha256-1ZTTc09P/0rTNhiqsNDB2RMLcUjKt1rIWtufakkFWkg="; + hash = "sha256-agfG9nKCvKqWUOfXZ54S25jMYPSg9oVItcu0PTbIoB4="; }; pythonRelaxDeps = [ + "click" "rich" "pipdeptree" ];