Skip to content

Commit c9a0567

Browse files
authored
fix: rationalize platform constraints for 'pyarrow' extra (#235)
Release-As: 1.27.2
1 parent 06a5815 commit c9a0567

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

setup.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,10 @@
4747
],
4848
"pandas": ["pandas>=0.17.1"],
4949
# Exclude PyArrow dependency from Windows Python 2.7.
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'",
50+
"pyarrow": [
51+
"pyarrow >= 1.0.0, < 2.0dev; python_version >= '3.5'",
5552
# Pyarrow >= 0.17.0 is not compatible with Python 2 anymore.
56-
"pyarrow < 0.17.0; python_version < '3.0'",
53+
"pyarrow < 0.17.0; python_version < '3.0' and platform_system != 'Windows'",
5754
],
5855
"tqdm": ["tqdm >= 4.0.0, <5.0.0dev"],
5956
"fastparquet": [

0 commit comments

Comments
 (0)