mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #292841 from mweinelt/pyarrow-3.12
python312Packages.pyarrow: replace distuils usage
This commit is contained in:
commit
8a6c6d58fc
@ -37,6 +37,10 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml setup.py \
|
||||
--replace "setuptools_scm < 8.0.0" "setuptools_scm"
|
||||
'' + lib.optionalString (pythonAtLeast "3.12") ''
|
||||
substituteInPlace ./cmake_modules/FindPython3Alt.cmake --replace-fail \
|
||||
"from distutils import sysconfig" \
|
||||
"import sysconfig"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user