diff options
author | OTABI Tomoya <tomoya.otabi@gmail.com> | 2023-08-16 21:28:39 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-16 21:28:39 +0900 |
commit | 9dc1cef1ae7be94630b86eeaef1f93580d565919 (patch) | |
tree | 0c4972d4dfcad33a77ecd0027ab6220bdeb65807 | |
parent | 4b8e137875b14ccfe0613426281c060344991a27 (diff) | |
parent | e3574a8212e8977d5188f7013728334d269327ce (diff) |
Merge pull request #248840 from tjni/certbot-dns-cloudflare
python3.pkgs.certbot-dns-*: ignore warning in setuptools 67.5.0+
4 files changed, 27 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/certbot-dns-cloudflare/default.nix b/pkgs/development/python-modules/certbot-dns-cloudflare/default.nix index d60e1e60d9740..69f2f890e359c 100644 --- a/pkgs/development/python-modules/certbot-dns-cloudflare/default.nix +++ b/pkgs/development/python-modules/certbot-dns-cloudflare/default.nix @@ -12,6 +12,8 @@ buildPythonPackage rec { inherit (certbot) src version; disabled = pythonOlder "3.6"; + sourceRoot = "${src.name}/certbot-dns-cloudflare"; + propagatedBuildInputs = [ acme certbot @@ -22,9 +24,12 @@ buildPythonPackage rec { pytestCheckHook ]; - pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ]; + pytestFlagsArray = [ + "-o cache_dir=$(mktemp -d)" - sourceRoot = "${src.name}/certbot-dns-cloudflare"; + # Monitor https://github.com/certbot/certbot/issues/9606 for a solution + "-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'" + ]; meta = certbot.meta // { description = "Cloudflare DNS Authenticator plugin for Certbot"; diff --git a/pkgs/development/python-modules/certbot-dns-google/default.nix b/pkgs/development/python-modules/certbot-dns-google/default.nix index 6ceaac115ff71..e5910ff085712 100644 --- a/pkgs/development/python-modules/certbot-dns-google/default.nix +++ b/pkgs/development/python-modules/certbot-dns-google/default.nix @@ -13,6 +13,8 @@ buildPythonPackage rec { inherit (certbot) src version; disabled = pythonOlder "3.6"; + sourceRoot = "${src.name}/certbot-dns-google"; + propagatedBuildInputs = [ acme certbot @@ -24,9 +26,12 @@ buildPythonPackage rec { pytestCheckHook ]; - pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ]; + pytestFlagsArray = [ + "-o cache_dir=$(mktemp -d)" - sourceRoot = "${src.name}/certbot-dns-google"; + # Monitor https://github.com/certbot/certbot/issues/9606 for a solution + "-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'" + ]; meta = certbot.meta // { description = "Google Cloud DNS Authenticator plugin for Certbot"; diff --git a/pkgs/development/python-modules/certbot-dns-rfc2136/default.nix b/pkgs/development/python-modules/certbot-dns-rfc2136/default.nix index 58319625b1e76..ec360f4b1e6f4 100644 --- a/pkgs/development/python-modules/certbot-dns-rfc2136/default.nix +++ b/pkgs/development/python-modules/certbot-dns-rfc2136/default.nix @@ -12,6 +12,8 @@ buildPythonPackage rec { inherit (certbot) src version; disabled = pythonOlder "3.6"; + sourceRoot = "${src.name}/certbot-dns-rfc2136"; + propagatedBuildInputs = [ acme certbot @@ -22,9 +24,12 @@ buildPythonPackage rec { pytestCheckHook ]; - pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ]; + pytestFlagsArray = [ + "-o cache_dir=$(mktemp -d)" - sourceRoot = "${src.name}/certbot-dns-rfc2136"; + # Monitor https://github.com/certbot/certbot/issues/9606 for a solution + "-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'" + ]; meta = certbot.meta // { description = "RFC 2136 DNS Authenticator plugin for Certbot"; diff --git a/pkgs/development/python-modules/certbot-dns-route53/default.nix b/pkgs/development/python-modules/certbot-dns-route53/default.nix index db923f1a19269..6ea6af0820f7d 100644 --- a/pkgs/development/python-modules/certbot-dns-route53/default.nix +++ b/pkgs/development/python-modules/certbot-dns-route53/default.nix @@ -22,7 +22,12 @@ buildPythonPackage rec { pytestCheckHook ]; - pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ]; + pytestFlagsArray = [ + "-o cache_dir=$(mktemp -d)" + + # Monitor https://github.com/certbot/certbot/issues/9606 for a solution + "-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'" + ]; sourceRoot = "${src.name}/certbot-dns-route53"; |