python38Packages.pandas: fix build on darwin
This commit is contained in:
parent
352eeb059d
commit
8f58d6f067
@ -21,6 +21,7 @@
|
|||||||
, tables
|
, tables
|
||||||
, xlwt
|
, xlwt
|
||||||
, runtimeShell
|
, runtimeShell
|
||||||
|
, isPy38
|
||||||
, libcxx ? null
|
, libcxx ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -67,7 +68,9 @@ in buildPythonPackage rec {
|
|||||||
"['pandas/src/klib', 'pandas/src', '$cpp_sdk']"
|
"['pandas/src/klib', 'pandas/src', '$cpp_sdk']"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
setupPyBuildFlags = [
|
# Parallel Cythonization is broken in Python 3.8 on Darwin. Fixed in the next
|
||||||
|
# release. https://github.com/pandas-dev/pandas/pull/30862
|
||||||
|
setupPyBuildFlags = optionals (!(isPy38 && isDarwin)) [
|
||||||
# As suggested by
|
# As suggested by
|
||||||
# https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#creating-a-python-environment
|
# https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#creating-a-python-environment
|
||||||
"--parallel=$NIX_BUILD_CORES"
|
"--parallel=$NIX_BUILD_CORES"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user