From 3a8f28e5c4e44a2567d17ee8a44ef757bca007bc Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 19 Dec 2025 12:33:29 +0000 Subject: [PATCH] rerun: 0.27.3 -> 0.28.1 Diff: https://github.com/rerun-io/rerun/compare/0.27.3...0.28.1 Changelog: https://github.com/rerun-io/rerun/releases/tag/0.28.1 --- pkgs/by-name/re/rerun/package.nix | 6 ++--- .../python-modules/rerun-sdk/default.nix | 23 +++++++++++++++++++ 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/re/rerun/package.nix b/pkgs/by-name/re/rerun/package.nix index 0b63fb96c0be..82a5541ed2c0 100644 --- a/pkgs/by-name/re/rerun/package.nix +++ b/pkgs/by-name/re/rerun/package.nix @@ -35,7 +35,7 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "rerun"; - version = "0.27.3"; + version = "0.28.1"; outputs = [ "out" @@ -46,7 +46,7 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "rerun-io"; repo = "rerun"; tag = finalAttrs.version; - hash = "sha256-PXENpO1uZ0aaNdtR7DoTYWiImKqxwezk4FUuH1pCtxI="; + hash = "sha256-ABT7za04QEQABpeRZArEval5aiy/FkNKj8psr6lrFos="; }; # The path in `build.rs` is wrong for some reason, so we patch it to make the passthru tests work @@ -55,7 +55,7 @@ rustPlatform.buildRustPackage (finalAttrs: { --replace-fail '"rerun_sdk/rerun_cli/rerun"' '"rerun_sdk/rerun"' ''; - cargoHash = "sha256-5AzfUEZb1QK12jEsF8xapX48TS9bet7KWuqO7pO3NZ8="; + cargoHash = "sha256-WQtKSBf8PQ0itbbFWQKvaDvq7BiRV+i6YcKiPpdilBU="; cargoBuildFlags = [ "--package rerun-cli" diff --git a/pkgs/development/python-modules/rerun-sdk/default.nix b/pkgs/development/python-modules/rerun-sdk/default.nix index bd8cd3752942..0b2d7211c178 100644 --- a/pkgs/development/python-modules/rerun-sdk/default.nix +++ b/pkgs/development/python-modules/rerun-sdk/default.nix @@ -20,6 +20,9 @@ # tests datafusion, + inline-snapshot, + polars, + pytest-snapshot, pytestCheckHook, tomli, torch, @@ -69,6 +72,9 @@ buildPythonPackage { nativeCheckInputs = [ datafusion + inline-snapshot + polars + pytest-snapshot pytestCheckHook tomli torch @@ -77,14 +83,31 @@ buildPythonPackage { inherit (rerun) addDlopenRunpaths addDlopenRunpathsPhase; postPhases = lib.optionals stdenv.hostPlatform.isLinux [ "addDlopenRunpathsPhase" ]; + disabledTests = [ + # ConnectionError: Connection: connecting to server: transport error + "test_isolated_streams" + "test_send_dataframe_roundtrip" + "test_server_with_dataset_files" + "test_server_with_dataset_prefix" + "test_server_with_multiple_datasets" + + # TypeError: 'Snapshot' object is not callable + "test_schema_recording" + ]; + disabledTestPaths = [ # "fixture 'benchmark' not found" "tests/python/log_benchmark/test_log_benchmark.py" # ValueError: Failed to start Rerun server: Error loading RRD: couldn't decode "/build/source/tests/assets/rrd/dataset/file4.rrd" "rerun_py/tests/e2e_redap_tests" + + # ConnectionError: Connection: connecting to server: transport error + "rerun_py/tests/api_sandbox/" ]; + __darwinAllowLocalNetworking = true; + meta = { description = "Python bindings for `rerun` (an interactive visualization tool for stream data)"; inherit (rerun.meta)