python3Packages.exceptiongroup: Disable tests on python310

Since pytest now requires exceptiongroup we can't use it to test the
package, because it causes an infinite recursion.
This commit is contained in:
Martin Weinelt
2023-01-05 01:08:47 +01:00
parent de08f0ba6d
commit 39f4004b0e
@@ -4,6 +4,7 @@
, flit-scm
, pytestCheckHook
, pythonOlder
, pythonAtLeast
}:
buildPythonPackage rec {
@@ -26,6 +27,8 @@ buildPythonPackage rec {
SETUPTOOLS_SCM_PRETEND_VERSION = version;
doCheck = pythonAtLeast "3.11"; # infinite recursion with pytest
checkInputs = [
pytestCheckHook
];