From 8870a8c226f3ce615a258cee034dc4b32fc2446c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 4 Jul 2026 12:19:41 +0200 Subject: [PATCH] pretix-banktool: unpin fints_4 This was tested in production and not only is fints 5.x compatible, it is also required to have support for newer formats and protocols that banks require. --- pkgs/by-name/pr/pretix-banktool/package.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/pr/pretix-banktool/package.nix b/pkgs/by-name/pr/pretix-banktool/package.nix index 00634df8a597..f962b749a55b 100644 --- a/pkgs/by-name/pr/pretix-banktool/package.nix +++ b/pkgs/by-name/pr/pretix-banktool/package.nix @@ -4,14 +4,7 @@ fetchFromGitHub, }: -let - pythonPackages = python3Packages.overrideScope ( - self: super: { - fints = self.fints_4; - } - ); -in -pythonPackages.buildPythonApplication (finalAttrs: { +python3Packages.buildPythonApplication (finalAttrs: { pname = "pretix-banktool"; version = "1.1.0"; pyproject = true; @@ -23,15 +16,17 @@ pythonPackages.buildPythonApplication (finalAttrs: { hash = "sha256-x6P+WqrOak5/gmMEmBkHrx6kPsbSOAXbKRbndFG3IJU="; }; - build-system = with pythonPackages; [ setuptools ]; + build-system = with python3Packages; [ setuptools ]; - dependencies = with pythonPackages; [ + dependencies = with python3Packages; [ click fints requests mt-940 ]; + pythonRelaxDeps = [ "fints" ]; + doCheck = false; # no tests pythonImportsCheck = [ "pretix_banktool" ];