diff --git a/pkgs/development/python-modules/reflex-hosting-cli/default.nix b/pkgs/development/python-modules/reflex-hosting-cli/default.nix index afce4f09f3e9..f3e3b3ccf8db 100644 --- a/pkgs/development/python-modules/reflex-hosting-cli/default.nix +++ b/pkgs/development/python-modules/reflex-hosting-cli/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchPypi, - poetry-core, + hatchling, charset-normalizer, httpx, pipdeptree, @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "reflex-hosting-cli"; - version = "0.1.42"; + version = "0.1.49"; pyproject = true; # source is not published https://github.com/reflex-dev/reflex/issues/3762 src = fetchPypi { pname = "reflex_hosting_cli"; inherit version; - hash = "sha256-kp2S3xnclMktEi6aqMBahQVZQeLriSigq77mRu+7A9I="; + hash = "sha256-cIU2/hTxXtAsxn5twV8xGwAOcRfqBjeqL4dklXt5fkQ="; }; pythonRelaxDeps = [ @@ -33,7 +33,7 @@ buildPythonPackage rec { "pipdeptree" ]; - build-system = [ poetry-core ]; + build-system = [ hatchling ]; dependencies = [ charset-normalizer diff --git a/pkgs/development/python-modules/reflex/default.nix b/pkgs/development/python-modules/reflex/default.nix index 346630fcb367..2dc27793c2ba 100644 --- a/pkgs/development/python-modules/reflex/default.nix +++ b/pkgs/development/python-modules/reflex/default.nix @@ -5,17 +5,13 @@ alembic, attrs, build, - charset-normalizer, ruff, dill, - distro, fastapi, granian, - gunicorn, hatchling, httpx, jinja2, - lazy-loader, numpy, packaging, pandas, @@ -29,7 +25,6 @@ pytest-mock, python-dotenv, pytestCheckHook, - python-engineio, python-multipart, python-socketio, redis, @@ -37,28 +32,25 @@ rich, sqlmodel, starlette-admin, - tomlkit, - twine, typer, typing-extensions, unzip, uvicorn, versionCheckHook, - wheel, wrapt, writableTmpDirAsHomeHook, }: buildPythonPackage rec { pname = "reflex"; - version = "0.7.8"; + version = "0.7.10"; pyproject = true; src = fetchFromGitHub { owner = "reflex-dev"; repo = "reflex"; tag = "v${version}"; - hash = "sha256-/Kf1V1goGaoYarhJ9wlZ2lf6e3BUH/F7UJqoPEnMnk0="; + hash = "sha256-4A/pemu8inIoHjF1Q7INtaEQe4zOU48n4DpwQogtzb4="; }; # 'rich' is also somehow checked when building the wheel, @@ -70,7 +62,6 @@ buildPythonPackage rec { "rich" # preventative "fastapi" - "gunicorn" ]; build-system = [ hatchling ]; @@ -78,35 +69,24 @@ buildPythonPackage rec { dependencies = [ alembic build # used in custom_components/custom_components.py - charset-normalizer - ruff - dill - distro + dill # used in state.py fastapi granian granian.optional-dependencies.reload - gunicorn httpx jinja2 - lazy-loader - packaging + packaging # used in utils/prerequisites.py platformdirs psutil pydantic - python-engineio python-multipart python-socketio redis reflex-hosting-cli rich sqlmodel - starlette-admin - tomlkit - twine # used in custom_components/custom_components.py - typer + typer # optional dep typing-extensions - uvicorn - wheel wrapt ]; @@ -123,6 +103,8 @@ buildPythonPackage rec { pandas pillow unzip + uvicorn + starlette-admin writableTmpDirAsHomeHook versionCheckHook ];