From ab2a3661acafa4e135903780967b5a42eb30a0d1 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 26 Dec 2024 10:34:04 +0100 Subject: [PATCH] python312Packages.pyiceberg: enable distutils patch on python3.12 --- pkgs/development/python-modules/pyiceberg/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyiceberg/default.nix b/pkgs/development/python-modules/pyiceberg/default.nix index 393de2eed3fb..ba91974b3101 100644 --- a/pkgs/development/python-modules/pyiceberg/default.nix +++ b/pkgs/development/python-modules/pyiceberg/default.nix @@ -64,7 +64,7 @@ buildPythonPackage rec { hash = "sha256-L3YlOtzJv9R4TLeJGzfMQ+0nYtQEsqmgNZpW9B6vVAI="; }; - patches = lib.optionals (pythonOlder "3.12") [ + patches = [ # Build script fails to build the cython extension on python 3.11 (no issues with python 3.12): # distutils.errors.DistutilsSetupError: each element of 'ext_modules' option must be an Extension instance or 2-tuple # This error vanishes if Cython and setuptools imports are swapped