Skip to content

Commit dca3ef9

Browse files
committed
Remove nanoarrow from free-threading
1 parent 0b167fa commit dca3ef9

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

light-curve/pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ dev = [
7676
"pandas",
7777
"ruff",
7878
]
79-
# cesium, iminuit, polars don't support free-threading yet
79+
# cesium, iminuit, nanoarrow, polars don't support free-threading yet
8080
dev-free-threading = [
8181
"pytest",
8282
"markdown-pytest",
@@ -85,7 +85,6 @@ dev-free-threading = [
8585
"numpy",
8686
"pyarrow",
8787
"arro3-core",
88-
"nanoarrow",
8988
"nested-pandas",
9089
"s3fs",
9190
"universal-pathlib",
@@ -205,8 +204,10 @@ commands =
205204
pytest README.md tests/ light_curve/ \
206205
--ignore tests/test_w_bench.py \
207206
--ignore tests/light_curve_py/features/test_rainbow.py \
208-
--deselect=README.md::test_rainbow_fit_example \
209-
-k "not test_*polars*"
207+
--deselect README.md::test_rainbow_fit_example \
208+
--deselect README.md::test_many_polars \
209+
--deselect tests/light_curve_ext/test_feature.py::test_many_nanoarrow \
210+
--deselect tests/light_curve_ext/test_feature.py::test_many_polars
210211
ruff check .
211212
set_env =
212213
CARGO_TARGET_DIR = {tox_root}/target

light-curve/tests/light_curve_ext/test_feature.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from itertools import chain
66

77
import arro3.core
8-
import nanoarrow
98
import numpy as np
109
import pyarrow as pa
1110
import pytest
@@ -641,6 +640,8 @@ def test_many_polars():
641640

642641
def test_many_nanoarrow():
643642
"""nanoarrow array works with many()."""
643+
import nanoarrow
644+
644645
rng = np.random.default_rng(42)
645646
n_obs, n_lc = 64, 8
646647
lcs = [gen_lc(n_obs, rng=rng) for _ in range(n_lc)]

0 commit comments

Comments
 (0)