From 61aa1a2664e63a87ed4d3afe6c09085bb46967d3 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Tue, 15 Nov 2022 10:57:08 -0800 Subject: [PATCH] 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. --- pkgs/development/python-modules/dill/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/dill/default.nix b/pkgs/development/python-modules/dill/default.nix index ee54e80f3a6b..3caf068a1270 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; {