python312Packages.stups-fullstop: disable for Python >= 3.11

This commit is contained in:
Malo Bourgon
2025-05-12 23:05:20 -07:00
parent 546952493d
commit 347f9cbe0d
@@ -15,7 +15,7 @@ buildPythonPackage rec {
pname = "stups-fullstop";
version = "1.1.31";
format = "setuptools";
disabled = !isPy3k;
disabled = !isPy3k || pythonAtLeast "3.11"; # Uses regex patterns deprecated in 3.9, errors in 3.11+
src = fetchFromGitHub {
owner = "zalando-stups";
@@ -44,8 +44,5 @@ buildPythonPackage rec {
homepage = "https://github.com/zalando-stups/stups-fullstop-cli";
license = licenses.asl20;
maintainers = [ maintainers.mschuwalow ];
# Uses regex patterns deprecated in 3.9:
# re.error: global flags not at the start of the expression at ...
broken = pythonAtLeast "3.11";
};
}