From 9aa656a865f0b07dc46fdaf3e33c0918574edd2f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 12 Aug 2024 09:05:40 +0200 Subject: [PATCH] python312Packages.asana: disable tests which require network access - add missing input --- pkgs/development/python-modules/asana/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/asana/default.nix b/pkgs/development/python-modules/asana/default.nix index 60aa3520e738..62ac3ad20610 100644 --- a/pkgs/development/python-modules/asana/default.nix +++ b/pkgs/development/python-modules/asana/default.nix @@ -1,14 +1,15 @@ { lib, buildPythonPackage, + certifi, fetchFromGitHub, + pytestCheckHook, + python-dateutil, + python-dotenv, pythonOlder, setuptools, - certifi, six, - python-dateutil, urllib3, - pytestCheckHook, }: buildPythonPackage rec { @@ -31,6 +32,7 @@ buildPythonPackage rec { certifi six python-dateutil + python-dotenv urllib3 ]; @@ -38,6 +40,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "asana" ]; + disabledTestPaths = [ + # Tests require network access + "build_tests/" + ]; + meta = with lib; { description = "Python client library for Asana"; homepage = "https://github.com/asana/python-asana";