Skip to content

Commit

Permalink
Dependencies: Update to pyarrow 10.0, skip installation on Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Nov 20, 2022
1 parent 421f072 commit 81dc6a2
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 31 deletions.
52 changes: 24 additions & 28 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -120,7 +120,7 @@ scikit-learn = "^1.0.2"
matplotlib = { version = "^3.3", optional = true }

openpyxl = { version = "^3.0", optional = true }
pyarrow = { version = "^9.0", optional = true }
pyarrow = { version = "^10.0", python = "<3.11", optional = true}
duckdb = { version = "^0.6.0", optional = true }
influxdb = { version = "^5.3", optional = true }
influxdb-client = { version = "^1.18", optional = true }
Expand Down
7 changes: 5 additions & 2 deletions tests/provider/dwd/observation/test_io.py
Expand Up @@ -12,8 +12,6 @@
import numpy as np
import openpyxl
import pandas as pd
import pyarrow.feather as feather
import pyarrow.parquet as pq
import pytest
from surrogate import surrogate

Expand Down Expand Up @@ -327,6 +325,9 @@ def test_export_spreadsheet(tmpdir_factory):
@pytest.mark.remote
def test_export_parquet(tmpdir_factory):
"""Test export of DataFrame to parquet"""

pq = pytest.importorskip("pyarrow.parquet")

Settings.tidy = False
Settings.humanize = True
Settings.si_units = False
Expand Down Expand Up @@ -459,6 +460,8 @@ def test_export_zarr(tmpdir_factory):
@pytest.mark.remote
def test_export_feather(tmpdir_factory):
"""Test export of DataFrame to feather"""
feather = pytest.importorskip("pyarrow.feather")

Settings.tidy = False
Settings.humanize = True
Settings.si_units = False
Expand Down

0 comments on commit 81dc6a2

Please sign in to comment.