Skip to content

Commit c15efbd

Browse files
authored
fix: tweak pyarrow extra to soothe PyPI (#230)
Release-As: 1.27.1
1 parent 6754a76 commit c15efbd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,11 @@
4747
],
4848
"pandas": ["pandas>=0.17.1"],
4949
# Exclude PyArrow dependency from Windows Python 2.7.
50-
'pyarrow: platform_system != "Windows" or python_version >= "3.5"': [
51-
"pyarrow>=1.0.0, <2.0dev; python_version>='3.4'",
50+
'pyarrow: platform_system == "Windows"': [
51+
"pyarrow>=1.0.0, <2.0dev; python_version>='3.5'",
52+
],
53+
'pyarrow: platform_system != "Windows"': [
54+
"pyarrow>=1.0.0, <2.0dev; python_version>='3.5'",
5255
# Pyarrow >= 0.17.0 is not compatible with Python 2 anymore.
5356
"pyarrow < 0.17.0; python_version < '3.0'",
5457
],

0 commit comments

Comments
 (0)