From 6f3479fc5abaeacb8b1c1017f523f43d84c49fa1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 9 Oct 2024 08:35:54 +0200 Subject: [PATCH] python312Packages.certbot: ignore DeprecationWarning --- pkgs/development/python-modules/certbot/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/certbot/default.nix b/pkgs/development/python-modules/certbot/default.nix index ea1873e2c589..60f8887a3ad3 100644 --- a/pkgs/development/python-modules/certbot/default.nix +++ b/pkgs/development/python-modules/certbot/default.nix @@ -35,9 +35,9 @@ buildPythonPackage rec { sourceRoot = "${src.name}/${pname}"; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ configargparse acme configobj @@ -61,7 +61,11 @@ buildPythonPackage rec { pytest-xdist ]; - pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ]; + pytestFlagsArray = [ + "-o cache_dir=$(mktemp -d)" + "-W" + "ignore::DeprecationWarning" + ]; makeWrapperArgs = [ "--prefix PATH : ${dialog}/bin" ];