From bbde42c80f11e0f6bfb2c3a6ec9757960b394331 Mon Sep 17 00:00:00 2001 From: Conor Date: Thu, 14 May 2026 20:46:40 +0100 Subject: [PATCH] python3Packages.braintree: 4.41.0 -> 4.43.0 (cherry picked from commit fab38f96a88a01b591d63a4f0d2a3c244efa725b) --- .../python-modules/braintree/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/braintree/default.nix b/pkgs/development/python-modules/braintree/default.nix index 13b06a77544e..8f35bed97761 100644 --- a/pkgs/development/python-modules/braintree/default.nix +++ b/pkgs/development/python-modules/braintree/default.nix @@ -7,16 +7,18 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "braintree"; - version = "4.41.0"; + version = "4.43.0"; pyproject = true; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "braintree"; repo = "braintree_python"; - rev = version; - hash = "sha256-5rTYRzlx/XueL6vF0/kM73bgN/QjvM55ZSLIWNI8YiQ="; + tag = finalAttrs.version; + hash = "sha256-4qLi6MplXaIT8+Us3Yb9fTph74XntagBNzyS//4K5Fk="; }; build-system = [ setuptools ]; @@ -27,9 +29,8 @@ buildPythonPackage rec { pythonImportsCheck = [ "braintree" ]; + # Most integration tests require a running Braintree gateway. enabledTestPaths = [ - "tests/" - "tests/fixtures" "tests/unit" "tests/integration/test_credentials_parser.py" ]; @@ -40,4 +41,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +})