python312Packages.gorilla: disable failing test on Python 3.12
This commit is contained in:
parent
44998179ba
commit
c26d8b9066
|
@ -2,6 +2,8 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonAtLeast
|
||||||
|
, pythonOlder
|
||||||
, setuptools
|
, setuptools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -10,6 +12,8 @@ buildPythonPackage rec {
|
||||||
version = "0.4.0";
|
version = "0.4.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-AFq4hTsDcWKnx3u4JGBMbggYeO4DwJrQHvQXRIVgGdM=";
|
hash = "sha256-AFq4hTsDcWKnx3u4JGBMbggYeO4DwJrQHvQXRIVgGdM=";
|
||||||
|
@ -27,6 +31,10 @@ buildPythonPackage rec {
|
||||||
"gorilla"
|
"gorilla"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = lib.optionals (pythonAtLeast "3.12") [
|
||||||
|
"test_find_patches_2"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Convenient approach to monkey patching";
|
description = "Convenient approach to monkey patching";
|
||||||
homepage = "https://github.com/christophercrouzet/gorilla";
|
homepage = "https://github.com/christophercrouzet/gorilla";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user