From 686f98d23690c5d79381fbc76bebad10d311b92e Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Thu, 9 Apr 2020 09:51:14 -0700 Subject: [PATCH] Temporary fix for Py38 build issues on macOS --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 089baae123d2a..338686bddd146 100755 --- a/setup.py +++ b/setup.py @@ -454,6 +454,9 @@ def run(self): ): os.environ["MACOSX_DEPLOYMENT_TARGET"] = "10.9" + if sys.version_info[:2] == (3, 8): # GH 33239 + extra_compile_args.append("-Wno-error=deprecated-declarations") + # enable coverage by building cython files by setting the environment variable # "PANDAS_CYTHON_COVERAGE" (with a Truthy value) or by running build_ext # with `--with-cython-coverage`enabled