git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #60674 from risicle/ris-papis-fix

pythonPackages.papis: fix build by disabling over-specific yaml output tests

commit178605a57f1ae3bba6ae30dd9b3c8ff59a6bfd58 authorworldofpeace <worldofpeace@users.noreply.github.com> dateTue 7 May 2019, 16:33 (8 years ago) parent677e5e19efddf7
1 file changed+3−1
pkgs/development/python-modules/papis/default.nix+3−1
pkgs/development/python-modules/papis/default.nix+3−1
@@ -38,9 +38,11 @@ buildPythonPackage rec {
3838 ];
3939
4040 # most of the downloader tests and 4 other tests require a network connection
41+ # test_export_yaml and test_citations check for the exact output produced by pyyaml 3.x and
42+ # fail with 5.x
4143 checkPhase = ''
4244 HOME=$(mktemp -d) pytest papis tests --ignore tests/downloaders \
43− -k "not test_get_data and not test_doi_to_data and not test_general and not get_document_url"
45+ -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"
4446 '';
4547
4648 meta = {