Merge pull request #232738 from rhendric/rhendric/python311Packages.contextlib2

python311Packages.contextlib2: disable
This commit is contained in:
Weijia Wang 2023-05-20 02:51:54 +03:00 committed by GitHub
commit 789b0875d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;