summary refs log tree commit diff
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2019-05-07 16:33:15 -0400
committerGitHub <noreply@github.com>2019-05-07 16:33:15 -0400
commit178605a57f1ae3bba6ae30dd9b3c8ff59a6bfd58 (patch)
tree0d2faaa00b3d5cf57259482b58349aaea00db51d
parent677e5e1fe2cd2e4841130c3c060f2a0cb8297419 (diff)
parent9efddf73cdd3830c9678f13ed95cd020a8d9acfc (diff)
downloadnixpkgs-178605a57f1ae3bba6ae30dd9b3c8ff59a6bfd58.tar
nixpkgs-178605a57f1ae3bba6ae30dd9b3c8ff59a6bfd58.tar.gz
nixpkgs-178605a57f1ae3bba6ae30dd9b3c8ff59a6bfd58.tar.bz2
nixpkgs-178605a57f1ae3bba6ae30dd9b3c8ff59a6bfd58.tar.lz
nixpkgs-178605a57f1ae3bba6ae30dd9b3c8ff59a6bfd58.tar.xz
nixpkgs-178605a57f1ae3bba6ae30dd9b3c8ff59a6bfd58.tar.zst
nixpkgs-178605a57f1ae3bba6ae30dd9b3c8ff59a6bfd58.zip
Merge pull request #60674 from risicle/ris-papis-fix
pythonPackages.papis: fix build by disabling over-specific yaml output tests
-rw-r--r--pkgs/development/python-modules/papis/default.nix4
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 5a9934d6be6..32c945f332a 100644
--- a/pkgs/development/python-modules/papis/default.nix
+++ b/pkgs/development/python-modules/papis/default.nix
@@ -38,9 +38,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 = {