File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ requires = [
4
4
" wheel>=0.37" ,
5
5
" cython>=0.29" ,
6
6
# Must be kept in sync with the `install_requires` in `setup.cfg`
7
- " pyarrow>=7 .0.0,<7 .1.0" ,
7
+ " pyarrow>=8 .0.0,<8 .1.0" ,
8
8
]
9
9
10
10
[tool .cibuildwheel ]
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ packages = find:
34
34
python_requires = >=3.7
35
35
install_requires =
36
36
# keep versions in sync with pyproject.toml "requires"
37
- pyarrow >=7,<7 .1
37
+ pyarrow >=8,<8 .1
38
38
pymongo >=3.11,<5
39
39
40
40
[options.package_data]
Original file line number Diff line number Diff line change @@ -158,11 +158,15 @@ def append_arrow_flags(module):
158
158
pass
159
159
160
160
# Find the appropriate library file and optionally copy it locally.
161
- for name in pa .get_libraries ():
161
+ # Explicitly handle "parquet" library as a workaround for
162
+ # https://issues.apache.org/jira/browse/ARROW-17327
163
+ for name in pa .get_libraries () + ["parquet" ]:
162
164
if IS_WIN :
163
165
if COPY_LIBARROW :
164
166
lib_file = os .path .join (arrow_lib , f"{ name } .dll" )
165
167
if not os .path .exists (lib_file ):
168
+ if name == "parquet" :
169
+ continue
166
170
raise ValueError ("Could not find compiled arrow library" )
167
171
shutil .copy (lib_file , BUILD_DIR )
168
172
lib_file = os .path .join (arrow_lib , f"{ name } .lib" )
You can’t perform that action at this time.
0 commit comments