From 9efddf73cdd3830c9678f13ed95cd020a8d9acfc Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Wed, 1 May 2019 22:10:35 +0100 Subject: pythonPackages.papis: fix build by disabling over-specific yaml output tests these tests will fail when built against pyyaml 5.x, an issue which appears to have been addressed upstream but not released yet. --- pkgs/development/python-modules/papis/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/papis/default.nix b/pkgs/development/python-modules/papis/default.nix index d9be946900c..0c6654ce779 100644 --- a/pkgs/development/python-modules/papis/default.nix +++ b/pkgs/development/python-modules/papis/default.nix @@ -35,9 +35,11 @@ buildPythonPackage rec { ]; # most of the downloader tests and 4 other tests require a network connection + # test_export_yaml and test_citations check for the exact output produced by pyyaml 3.x and + # fail with 5.x checkPhase = '' HOME=$(mktemp -d) pytest papis tests --ignore tests/downloaders \ - -k "not test_get_data and not test_doi_to_data and not test_general and not get_document_url" + -k "not test_get_data and not test_doi_to_data and not test_general and not get_document_url and not test_export_yaml and not test_citations" ''; meta = { -- cgit 1.4.1