From fb10919e25eb287bf0ecdce973c8aa330e1d0933 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 22 May 2024 12:03:45 +0200 Subject: [PATCH] python312Packages.amcrest: disable on Python 3.12 Still uses distutils, https://github.com/tchellomello/python-amcrest/issues/234 --- pkgs/development/python-modules/amcrest/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/amcrest/default.nix b/pkgs/development/python-modules/amcrest/default.nix index 4b48b513d639..de008a1d2f1b 100644 --- a/pkgs/development/python-modules/amcrest/default.nix +++ b/pkgs/development/python-modules/amcrest/default.nix @@ -6,6 +6,7 @@ httpx, mock, pytestCheckHook, + pythonAtLeast, pythonOlder, requests, responses, @@ -19,7 +20,8 @@ buildPythonPackage rec { version = "1.9.8"; pyproject = true; - disabled = pythonOlder "3.7"; + # Still uses distutils, https://github.com/tchellomello/python-amcrest/issues/234 + disabled = pythonOlder "3.7" || pythonAtLeast "3.12"; src = fetchFromGitHub { owner = "tchellomello";