From 7748cecd8726bb122da03ffa9937b99c78cfd928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Roche?= Date: Tue, 9 Mar 2021 23:34:23 +0100 Subject: [PATCH] python3Packages.ansible-lint: fix failing test on deprecation warning Ignore the deprecation warning during test. The deprecation warning is due to a recent version of pyyaml which [moved some of their packages](https://github.com/yaml/pyyaml/commit/89f608599d700bf2976bf9307f9f86565f27a80e) This fixes #113807 --- pkgs/development/python-modules/ansible-lint/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/ansible-lint/default.nix b/pkgs/development/python-modules/ansible-lint/default.nix index 2718ba7670b5..23899d49010a 100644 --- a/pkgs/development/python-modules/ansible-lint/default.nix +++ b/pkgs/development/python-modules/ansible-lint/default.nix @@ -43,7 +43,7 @@ buildPythonPackage rec { ''; checkPhase = '' - pytest -k 'not test_run_playbook_github and not test_run_single_role_path_no_trailing_slash_script' + pytest -W ignore::DeprecationWarning -k 'not test_run_playbook_github and not test_run_single_role_path_no_trailing_slash_script' ''; meta = with lib; {