From c68342244a0c0b6df85b334d8e39a21d867ad5bb Mon Sep 17 00:00:00 2001 From: Karolis Stasaitis Date: Mon, 25 May 2026 08:26:13 +0200 Subject: [PATCH 1/2] python3Packages.pygreat: 2024.0.5 -> 2026.0.0 --- pkgs/development/python-modules/pygreat/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pygreat/default.nix b/pkgs/development/python-modules/pygreat/default.nix index bb3bd2ee8f10..bee64dd72b55 100644 --- a/pkgs/development/python-modules/pygreat/default.nix +++ b/pkgs/development/python-modules/pygreat/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "pygreat"; - version = "2024.0.5"; + version = "2026.0.0"; pyproject = true; src = fetchFromGitHub { owner = "greatscottgadgets"; repo = "libgreat"; tag = "v${version}"; - hash = "sha256-2PFeCG7m8qiK3eBX2838P6ZsLoQxcJBG+/TppUMT6dE="; + hash = "sha256-m+s2TAJK7UhKWbuSd5ec1O40WeMXxJyTD9yqPOr0LEM="; }; sourceRoot = "${src.name}/host"; @@ -26,8 +26,6 @@ buildPythonPackage rec { --replace-fail 'dynamic = ["version"]' 'version = "${version}"' ''; - pythonRemoveDeps = [ "backports.functools_lru_cache" ]; - build-system = [ setuptools ]; dependencies = [ pyusb ]; From e04b73aa6a7a2e8c634ee2b2a3bb6d75c651d001 Mon Sep 17 00:00:00 2001 From: Karolis Stasaitis Date: Mon, 25 May 2026 08:26:13 +0200 Subject: [PATCH 2/2] python3Packages.cynthion: relax pygreat dependency Upstream pins pygreat~=2024.0.5, but cynthion 0.2.4 works fine against pygreat 2026.0.0; drop the constraint so the package builds against the current pygreat. --- pkgs/development/python-modules/cynthion/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/cynthion/default.nix b/pkgs/development/python-modules/cynthion/default.nix index ebaaea6079cf..a99fa93099bd 100644 --- a/pkgs/development/python-modules/cynthion/default.nix +++ b/pkgs/development/python-modules/cynthion/default.nix @@ -51,6 +51,8 @@ buildPythonPackage rec { setuptools ]; + pythonRelaxDeps = [ "pygreat" ]; + pythonRemoveDeps = [ "future" ]; dependencies = [