diff options
author | Robert Scott <code@humanleg.org.uk> | 2019-05-01 22:10:35 +0100 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2019-05-01 22:10:35 +0100 |
commit | 9efddf73cdd3830c9678f13ed95cd020a8d9acfc (patch) | |
tree | 62027c644c8b3d2d4506dc32f72b022758db44ff /pkgs | |
parent | 9779934ec674e0f007a69f39e0c33cccd74f29ff (diff) | |
download | nixlib-9efddf73cdd3830c9678f13ed95cd020a8d9acfc.tar nixlib-9efddf73cdd3830c9678f13ed95cd020a8d9acfc.tar.gz nixlib-9efddf73cdd3830c9678f13ed95cd020a8d9acfc.tar.bz2 nixlib-9efddf73cdd3830c9678f13ed95cd020a8d9acfc.tar.lz nixlib-9efddf73cdd3830c9678f13ed95cd020a8d9acfc.tar.xz nixlib-9efddf73cdd3830c9678f13ed95cd020a8d9acfc.tar.zst nixlib-9efddf73cdd3830c9678f13ed95cd020a8d9acfc.zip |
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.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/papis/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/papis/default.nix b/pkgs/development/python-modules/papis/default.nix index d9be946900cb..0c6654ce7799 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 = { |