summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2022-11-15 10:57:08 -0800
committerTheodore Ni <3806110+tjni@users.noreply.github.com>2022-11-15 15:49:29 -0800
commit61aa1a2664e63a87ed4d3afe6c09085bb46967d3 (patch)
tree710c2e8aef9a6d19e4fba3b56305addb58c3a570
parent8ecf6aac3bfc2233ee3dfb125f66d962edf79fb5 (diff)
downloadnixpkgs-61aa1a2664e63a87ed4d3afe6c09085bb46967d3.tar
nixpkgs-61aa1a2664e63a87ed4d3afe6c09085bb46967d3.tar.gz
nixpkgs-61aa1a2664e63a87ed4d3afe6c09085bb46967d3.tar.bz2
nixpkgs-61aa1a2664e63a87ed4d3afe6c09085bb46967d3.tar.lz
nixpkgs-61aa1a2664e63a87ed4d3afe6c09085bb46967d3.tar.xz
nixpkgs-61aa1a2664e63a87ed4d3afe6c09085bb46967d3.tar.zst
nixpkgs-61aa1a2664e63a87ed4d3afe6c09085bb46967d3.zip
python310Packages.dill: add passthru tests
Adds apache-beam and datasets to be tested when dill is updated. These
two packages broke when updating dill from 0.3.5.1 to 0.3.6.
-rw-r--r--pkgs/development/python-modules/dill/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dill/default.nix b/pkgs/development/python-modules/dill/default.nix
index ee54e80f3a6..3caf068a127 100644
--- a/pkgs/development/python-modules/dill/default.nix
+++ b/pkgs/development/python-modules/dill/default.nix
@@ -3,6 +3,10 @@
 , fetchFromGitHub
 , python
 , setuptools
+
+# passthru tests
+, apache-beam
+, datasets
 }:
 
 buildPythonPackage rec {
@@ -27,6 +31,10 @@ buildPythonPackage rec {
     runHook postCheck
   '';
 
+  passthru.tests = {
+    inherit apache-beam datasets;
+  };
+
   pythonImportsCheck = [ "dill" ];
 
   meta = with lib; {