From 90da532017551b6d8015c217d67eb616a23128bb Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 4 Aug 2026 09:01:13 +0000 Subject: [PATCH] seagoat: 1.1.0 -> 1.2.0 Diff: https://github.com/kantord/SeaGOAT/compare/v1.1.0...v1.2.0 Changelog: https://github.com/kantord/SeaGOAT/blob/v1.2.0/CHANGELOG.md --- pkgs/by-name/se/seagoat/failing_tests.nix | 17 ++++++----------- pkgs/by-name/se/seagoat/package.nix | 9 ++++++--- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/se/seagoat/failing_tests.nix b/pkgs/by-name/se/seagoat/failing_tests.nix index b347b63fcad5..303fe33955f5 100644 --- a/pkgs/by-name/se/seagoat/failing_tests.nix +++ b/pkgs/by-name/se/seagoat/failing_tests.nix @@ -22,15 +22,10 @@ "test_does_not_crash_because_of_non_existent_files" "test_ignored_files_is_really_ignored" "test_allows_limiting_how_many_files_are_automatically_analized" - "test_allows_limiting_how_many_files_are_automatically_analized" - "test_allows_limiting_how_many_files_are_automatically_analized" "test_includes_all_matching_lines_from_line" "test_search_is_case_insensitive" "test_respects_file_extension_restrictions" "test_includes_context_lines_properly" - "test_includes_context_lines_properly" - "test_includes_context_lines_properly" - "test_includes_context_lines_properly" "test_ripgrep_respects_custom_ignore_patterns" "test_filters_stop_words" "test_does_not_filter_stop_words_if_that_is_all_whats_in_the_query" @@ -38,8 +33,6 @@ "test_integration_test_vimgrep_mode" "test_integration_test_no_results" "test_server_is_not_running_error" - "test_server_is_not_running_error" - "test_reverse_ordering" "test_reverse_ordering" "test_file_returns_global_metadata_1" "test_file_returns_global_metadata_2" @@ -54,11 +47,13 @@ # Compatibility issue with click 8.2 # https://github.com/kantord/SeaGOAT/issues/1021 - "test_seagoat_warns_on_incomplete_accuracy[99]" - "test_seagoat_warns_on_incomplete_accuracy[100]" - "test_server_error_handling[File Not Found on Server-500]" - "test_server_error_handling[Database Connection Failed-503]" + "test_seagoat_warns_on_incomplete_accuracy" + "test_server_error_handling" "test_server_does_not_exist_error" "test_no_network_to_update" "test_server_shows_error_when_folder_is_not_a_git_repo" + + # These only assert that chardet mis-detects the given UTF-8 sequences, + # which it no longer does since chardet 6 + "test_file_reader_does_not_crash_because_of_misdetected_utf8" ] diff --git a/pkgs/by-name/se/seagoat/package.nix b/pkgs/by-name/se/seagoat/package.nix index 00c7a49288a2..facee73445a8 100644 --- a/pkgs/by-name/se/seagoat/package.nix +++ b/pkgs/by-name/se/seagoat/package.nix @@ -14,24 +14,26 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "seagoat"; - version = "1.1.0"; + version = "1.2.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "kantord"; repo = "SeaGOAT"; tag = "v${finalAttrs.version}"; - hash = "sha256-HdIvXXpMEynZV6J++kClNDubXuPORn6GEPHSD+UYBv0="; + hash = "sha256-ps+pwFOpCQWyI2SrOZSysq1kUeo53I2cfW2WC+SwccE="; }; build-system = [ python3Packages.poetry-core ]; pythonRelaxDeps = [ + "chardet" "chromadb" + "ollama" "psutil" "setuptools" "stop-words" - "ollama" ]; dependencies = with python3Packages; [ @@ -44,6 +46,7 @@ python3Packages.buildPythonApplication (finalAttrs: { gitpython halo jsonschema + mcp nest-asyncio ollama psutil