From a88ad9835c27cd130bafb04c5223425854fc977a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 2 May 2026 21:40:58 +0200 Subject: [PATCH 1/2] fetchtastic: disable failing tests on darwin --- pkgs/by-name/fe/fetchtastic/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/fe/fetchtastic/package.nix b/pkgs/by-name/fe/fetchtastic/package.nix index b9bbc9d83576..6b0c3f44be70 100644 --- a/pkgs/by-name/fe/fetchtastic/package.nix +++ b/pkgs/by-name/fe/fetchtastic/package.nix @@ -1,5 +1,6 @@ { lib, + stdenv, fetchFromGitHub, python3, }: @@ -38,6 +39,12 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pythonImportsCheck = [ "fetchtastic" ]; + disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ + "test_download_firmware_success" + "test_get_target_path_for_release" + "test_platform_functions" + ]; + meta = { description = "Utility for downloading and managing the latest Meshtastic firmware releases"; homepage = "https://github.com/jeremiah-k/fetchtastic"; From 28357d43240a3c8b10f7af80703ef995d61f5305 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 2 May 2026 21:43:23 +0200 Subject: [PATCH 2/2] fetchtastic: 0.10.2 -> 0.10.9 Changelog: https://github.com/jeremiah-k/fetchtastic/releases/tag/0.10.9 --- pkgs/by-name/fe/fetchtastic/package.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/fe/fetchtastic/package.nix b/pkgs/by-name/fe/fetchtastic/package.nix index 6b0c3f44be70..fc7e867ec9c8 100644 --- a/pkgs/by-name/fe/fetchtastic/package.nix +++ b/pkgs/by-name/fe/fetchtastic/package.nix @@ -7,14 +7,14 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pname = "fetchtastic"; - version = "0.10.2"; + version = "0.10.9"; pyproject = true; src = fetchFromGitHub { owner = "jeremiah-k"; repo = "fetchtastic"; tag = finalAttrs.version; - hash = "sha256-E8f0je4w4sTmf/EX9I8dZ4Ge4bsEvr8E6S5i02n5k+E="; + hash = "sha256-eFDj3qv3cYt/7tf+v93QwqoVLEEfpt21g4l0MrLTaLc="; }; pythonRelaxDeps = [ "platformdirs" ]; @@ -22,6 +22,8 @@ python3.pkgs.buildPythonApplication (finalAttrs: { build-system = with python3.pkgs; [ setuptools ]; dependencies = with python3.pkgs; [ + aiofiles + aiohttp packaging pick platformdirs @@ -32,6 +34,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: { ]; nativeCheckInputs = with python3.pkgs; [ + pytest-asyncio pytest-cov-stub pytest-mock pytestCheckHook