Skip to content

Commit

Permalink
ci(typing): Add pyarrow-stubs to dev dependencies (#3679)
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned authored Nov 12, 2024
1 parent 255f736 commit b4816e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ dev = [
"duckdb>=1.0",
"ipython[kernel]",
"pandas>=1.1.3",
"pyarrow-stubs",
"pytest",
"pytest-cov",
"pytest-xdist[psutil]~=3.5",
Expand Down
4 changes: 2 additions & 2 deletions tests/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,15 @@ def test_sanitize_pyarrow_table_columns() -> None:
pa_table = pa.Table.from_pandas(
df,
pa.schema(
[
(
pa.field("s", pa.string()),
pa.field("f", pa.float64()),
pa.field("i", pa.int64()),
pa.field("b", pa.bool_()),
pa.field("d", pa.date32()),
pa.field("c", pa.dictionary(pa.int8(), pa.string())),
pa.field("p", pa.timestamp("ns", tz="UTC")),
]
)
),
)
sanitized = sanitize_narwhals_dataframe(nw.from_native(pa_table, eager_only=True))
Expand Down

0 comments on commit b4816e9

Please sign in to comment.