python3Packages.cymem: 2.0.3 -> 2.0.6, switch to pytest
This commit is contained in:
parent
530852a971
commit
9f659b65f8
@ -2,32 +2,30 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cython
|
||||
, unittestCheckHook
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cymem";
|
||||
version = "2.0.3";
|
||||
version = "2.0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "explosion";
|
||||
repo = "cymem";
|
||||
rev = "v${version}";
|
||||
sha256 = "0cqz6whq4zginxjnh4cfqlsh535p4qz295ymvjchp71fv8mz11f6";
|
||||
sha256 = "sha256-o+44v6wvE9HxeQaDDQ0+gi7z1V7jtkZvWglY8UyVHLg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cython
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "wheel>=0.32.0,<0.33.0" "wheel>=0.31.0"
|
||||
'';
|
||||
# ModuleNotFoundError: No module named 'cymem.cymem'
|
||||
doCheck = false;
|
||||
|
||||
checkInputs = [ unittestCheckHook ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
unittestFlagsArray = [ "-s" "cymem/tests" "-p" "*test*" ];
|
||||
pytestFlagsArray = [ "cymem" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cython memory pool for RAII-style memory management";
|
||||
|
Loading…
Reference in New Issue
Block a user