python312Packages.pyiceberg: enable distutils patch on python3.12 (#368281)

This commit is contained in:
Sandro
2024-12-26 22:13:34 +01:00
committed by GitHub
@@ -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