3
0
Fork 0
forked from mirrors/nixpkgs

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.
This commit is contained in:
Robert Scott 2019-05-01 22:10:35 +01:00
parent 9779934ec6
commit 9efddf73cd

View file

@ -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 = {