From b65c0494babc219d95ee3fa72968a8994a420a31 Mon Sep 17 00:00:00 2001 From: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> Date: Sat, 13 Jul 2024 14:09:05 +0530 Subject: [PATCH] python3Packages.gocardless-pro: remove nose dependency Addresses #326513 Dependency `nose` was removed in favor of pytest in version 1.46.2. --- pkgs/development/python-modules/gocardless-pro/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/gocardless-pro/default.nix b/pkgs/development/python-modules/gocardless-pro/default.nix index 8ae218aaa9227..186b60918691b 100644 --- a/pkgs/development/python-modules/gocardless-pro/default.nix +++ b/pkgs/development/python-modules/gocardless-pro/default.nix @@ -4,15 +4,15 @@ fetchFromGitHub, requests, six, + setuptools, pytestCheckHook, responses, - nose, }: buildPythonPackage rec { pname = "gocardless-pro"; version = "1.52.0"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "gocardless"; @@ -21,6 +21,8 @@ buildPythonPackage rec { hash = "sha256-Oi68s4x/rS8ahvJ9TsniYfDidCxtvcvsMwYhJirYlP0="; }; + build-system = [ setuptools ]; + propagatedBuildInputs = [ requests six @@ -31,7 +33,6 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook responses - nose ]; meta = with lib; {