From 8d14dc915764d970711ca4776a0c05e60d0c2a37 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Thu, 19 Aug 2021 23:37:19 +0000 Subject: [PATCH 1/2] python38Packages.pyclipper: 1.2.1 -> 1.3.0 --- pkgs/development/python-modules/pyclipper/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyclipper/default.nix b/pkgs/development/python-modules/pyclipper/default.nix index 0fe3998b3e89..68e7abaf29a5 100644 --- a/pkgs/development/python-modules/pyclipper/default.nix +++ b/pkgs/development/python-modules/pyclipper/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "pyclipper"; - version = "1.2.1"; + version = "1.3.0"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "ca3751e93559f0438969c46f17459d07f983281dac170c3479de56492e152855"; + sha256 = "48a1b5c585aea10e5b9c0b82d6abe2642fafd9ef158b9921852bc4af815ca20c"; }; nativeBuildInputs = [ From b438f0fb98161de4acb29c3573aea851faaa6179 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Fri, 20 Aug 2021 19:43:15 +0100 Subject: [PATCH 2/2] python3Packages.pyclipper: enable tests --- pkgs/development/python-modules/pyclipper/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyclipper/default.nix b/pkgs/development/python-modules/pyclipper/default.nix index 68e7abaf29a5..0dbcdfbc260a 100644 --- a/pkgs/development/python-modules/pyclipper/default.nix +++ b/pkgs/development/python-modules/pyclipper/default.nix @@ -3,6 +3,8 @@ , buildPythonPackage , setuptools-scm , cython +, pytestCheckHook +, unittest2 }: buildPythonPackage rec { @@ -20,10 +22,7 @@ buildPythonPackage rec { cython ]; - # Requires pytest_runner to perform tests, which requires deprecated - # features of setuptools. Seems better to not run tests. This should - # be fixed upstream. - doCheck = false; + checkInputs = [ pytestCheckHook unittest2 ]; pythonImportsCheck = [ "pyclipper" ]; meta = with lib; {