From f1dffa6023f6039dc3dce78745373207652196b7 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Wed, 2 Oct 2024 00:40:42 +0200 Subject: [PATCH] python312Packages.reflex: 0.6.0 -> 0.6.1 Changelog: https://github.com/reflex-dev/reflex/releases/tag/refs/tags/v0.6.1 --- .../development/python-modules/reflex/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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" ];