python3Packages.reflex: 0.7.14 -> 0.8.6 (#433806)

This commit is contained in:
Fabian Affolter
2025-08-16 00:14:53 +02:00
committed by GitHub
3 changed files with 19 additions and 11 deletions
@@ -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" ];
@@ -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"
];
@@ -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