Commit 59c7acb
committed
Make pyarrow optional, and show an error if not installed when trying to use parquet files.
Example Error
```
$ uv run python test_pyarrow.py
Expected ImportError: pyarrow is not installed and is required to use parquet files. Please install it via `pip install together[pyarrow]`
```
Confirmed installing resolves issue:
```
uv pip install "dist/together-1.5.0-py3-none-any.whl[pyarrow]"
Resolved 33 packages in 394ms
Installed 1 package in 30ms
+ pyarrow==20.0.0
```1 parent 10a1e74 commit 59c7acb
2 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
375 | | - | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
376 | 380 | | |
377 | 381 | | |
378 | 382 | | |
| |||
0 commit comments