python310Packages.zimports: disable on python 3.11

This commit is contained in:
Sandro Jäckel 2023-06-15 16:31:24 +02:00 committed by Gaetan Lepage
parent 955bce124e
commit b9fbc6adb3

View file

@ -1,5 +1,4 @@
{ lib
, isPy3k
, fetchFromGitHub
, buildPythonPackage
, flake8-import-order
@ -7,6 +6,7 @@
, tomli
, setuptools
, pytestCheckHook
, pythonAtLeast
, pythonOlder
}:
@ -15,7 +15,8 @@ buildPythonPackage rec {
version = "0.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
# upstream technically support 3.7 through 3.9, but 3.10 happens to work while 3.11 breaks with an import error
disabled = pythonOlder "3.7" || pythonAtLeast "3.11";
src = fetchFromGitHub {
owner = "sqlalchemyorg";