From 5082c85ea25a1b3cd05c329e88b74e850f1cd7ee Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sun, 4 Jul 2021 21:37:00 +0200 Subject: [PATCH] python3Packages.libusb1: 1.9.2 -> 1.9.3 the hack in checkPhase is no longer needed since the issue has been resolved: https://github.com/vpelletier/python-libusb1/issues/16 --- pkgs/development/python-modules/libusb1/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/libusb1/default.nix b/pkgs/development/python-modules/libusb1/default.nix index cc0ba39e64ef..0d8142645e1b 100644 --- a/pkgs/development/python-modules/libusb1/default.nix +++ b/pkgs/development/python-modules/libusb1/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { pname = "libusb1"; - version = "1.9.2"; + version = "1.9.3"; src = fetchPypi { inherit pname version; - sha256 = "17hqck808m59jv6m2g4hasnay44pycy3y0im01fq9jpr3ymcdbi7"; + sha256 = "60e6ce37be064f6e51d02b25da44230ecc9c0b1fdb6f14568c71457d963c1749"; }; postPatch = '' @@ -20,9 +20,7 @@ buildPythonPackage rec { checkInputs = [ pytest ]; checkPhase = '' - # USBPollerThread is unreliable. Let's not test it. - # See: https://github.com/vpelletier/python-libusb1/issues/16 - py.test -k 'not testUSBPollerThreadExit' usb1/testUSB1.py + py.test usb1/testUSB1.py ''; meta = with lib; {