Skip to content

Commit

Permalink
Backport PR pandas-dev#38766: BLD: fix build failure py3.9.1 on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel authored and meeseeksmachine committed Dec 29, 2020
1 parent c348cbe commit fdaa3e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v1.2.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ I/O

Other
~~~~~
-
- Fixed build failure on MacOS 11 in Python 3.9.1 (:issue:`38766`)
-

.. ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def run(self):
"MACOSX_DEPLOYMENT_TARGET", current_system
)
if (
LooseVersion(python_target) < "10.9"
LooseVersion(str(python_target)) < "10.9"
and LooseVersion(current_system) >= "10.9"
):
os.environ["MACOSX_DEPLOYMENT_TARGET"] = "10.9"
Expand Down

0 comments on commit fdaa3e9

Please sign in to comment.