Skip to content

Commit ba28bcf

Browse files
committed
Skip pyarrow tests on PyPy
1 parent bdcd4c7 commit ba28bcf

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ test = [
107107
{include-group = "elastic"},
108108
{include-group = "xlsx"},
109109
{include-group = "duckdb"},
110-
{include-group = "parquet"},
110+
"pyarrow; platform_python_implementation != 'PyPy'", # Don't install pyarrow on PyPy
111111
"tqdm",
112112
"structlog",
113113
"pytest",

tests/adapter/test_arrow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from pathlib import Path
22

33
import pytest
4+
pytest.importorskip("pyarrow")
45

56
from flow.record import RecordDescriptor
67
from flow.record.adapter.arrow import ArrowReader, ArrowWriter

tests/adapter/test_parquet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from pathlib import Path
33

44
import pytest
5+
pytest.importorskip("pyarrow")
56

67
from flow.record import RecordDescriptor, RecordReader, RecordWriter
78
from flow.record.adapter.parquet import ParquetReader, ParquetWriter

0 commit comments

Comments
 (0)