diff --git a/pkgs/development/python-modules/reflex-chakra/default.nix b/pkgs/development/python-modules/reflex-chakra/default.nix index 9f25b9ae9b35..49b893a9b2bb 100644 --- a/pkgs/development/python-modules/reflex-chakra/default.nix +++ b/pkgs/development/python-modules/reflex-chakra/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "reflex-chakra"; - version = "0.6.0"; + version = "0.6.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "reflex-dev"; repo = "reflex-chakra"; rev = "refs/tags/v${version}"; - hash = "sha256-5Lins7cbZWQTbJFBwR9qUdgTPHifPxD3BrvaawIKCJE="; + hash = "sha256-nmZ41V/1TbslAQIkJQLgdLfWS2qSVrAnVqbv8sajL5c="; }; pythonRemoveDeps = [ diff --git a/pkgs/development/python-modules/reflex/default.nix b/pkgs/development/python-modules/reflex/default.nix index 33b9c45c5de6..cb02a16bc390 100644 --- a/pkgs/development/python-modules/reflex/default.nix +++ b/pkgs/development/python-modules/reflex/default.nix @@ -23,6 +23,7 @@ pydantic, pytest-asyncio, pytest-mock, + playwright, pytestCheckHook, python-engineio, python-multipart, @@ -46,7 +47,7 @@ buildPythonPackage rec { pname = "reflex"; - version = "0.6.0"; + version = "0.6.1"; pyproject = true; disabled = pythonOlder "3.10"; @@ -55,7 +56,7 @@ buildPythonPackage rec { owner = "reflex-dev"; repo = "reflex"; rev = "refs/tags/v${version}"; - hash = "sha256-6yu9EfyX/1kvvmkmKGJrZnVffRHGWY/iUrn5BIrNx38="; + hash = "sha256-p7o7e/OBX8P5QKsHNInKKQO1jklTr61SXuGk+ceakJU="; }; pythonRelaxDeps = [ @@ -106,6 +107,7 @@ buildPythonPackage rec { pytestCheckHook pytest-asyncio pytest-mock + playwright attrs numpy plotly @@ -114,11 +116,16 @@ buildPythonPackage rec { unzip ]; + preCheck = '' + export HOME="$(mktemp -d)" + ''; + disabledTests = [ - # Tests touche network + # Tests touch network "test_find_and_check_urls" "test_event_actions" "test_upload_file" + "test_node_version" # /proc is too funky in nix sandbox "test_get_cpu_info" # broken @@ -130,7 +137,7 @@ buildPythonPackage rec { disabledTestPaths = [ "benchmarks/" - "integration/" + "tests/integration/" ]; pythonImportsCheck = [ "reflex" ];