Skip to content

Commit 1fe47b6

Browse files
authored
Temporary fix for Py38 build issues on macOS (#33431)
1 parent fa28ede commit 1fe47b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

+3
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,9 @@ def run(self):
454454
):
455455
os.environ["MACOSX_DEPLOYMENT_TARGET"] = "10.9"
456456

457+
if sys.version_info[:2] == (3, 8): # GH 33239
458+
extra_compile_args.append("-Wno-error=deprecated-declarations")
459+
457460
# enable coverage by building cython files by setting the environment variable
458461
# "PANDAS_CYTHON_COVERAGE" (with a Truthy value) or by running build_ext
459462
# with `--with-cython-coverage`enabled

0 commit comments

Comments
 (0)