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.
commit9efddf73cdd3830c9678f13ed95cd020a8d9acfc
authorRobert Scott <code@humanleg.org.uk>
dateWed 1 May 2019, 22:10 (8 years ago)
parent9779934
pkgs/development/python-modules/papis/default.nix+3−1
@@ -35,9 +35,11 @@ buildPythonPackage rec {
3535 ];
3636
3737 # most of the downloader tests and 4 other tests require a network connection
38+ # test_export_yaml and test_citations check for the exact output produced by pyyaml 3.x and
39+ # fail with 5.x
3840 checkPhase = ''
3941 HOME=$(mktemp -d) pytest papis tests --ignore tests/downloaders \
40− -k "not test_get_data and not test_doi_to_data and not test_general and not get_document_url"
42+ -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"
4143 '';
4244
4345 meta = {