python311Packages.contextlib2: disable

This commit is contained in:
Ryan Hendrickson 2023-05-18 22:55:41 -04:00
parent 93a8a8760b
commit 8328c914e9

View file

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, python
, pythonAtLeast
, pythonOlder
, unittestCheckHook
}:
@ -11,7 +12,9 @@ buildPythonPackage rec {
version = "21.6.0";
format = "setuptools";
disabled = pythonOlder "3.6";
# Python 3.11 not currently supported
# https://github.com/jazzband/contextlib2/issues/43
disabled = pythonOlder "3.6" || pythonAtLeast "3.11";
src = fetchPypi {
inherit pname version;