python312Packages.pyiceberg: enable distutils patch on python3.12

This commit is contained in:
Gaetan Lepage
2024-12-26 10:34:04 +01:00
parent 9a90c6b621
commit ab2a3661ac
@@ -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