Skip to content

Commit 7b1091e

Browse files
committed
Do not test Ibis below py3.9, add DuckDB for tests (unionai-oss#1773)
* Restore accidentally-deleted use of "breakpoint()" Signed-off-by: Deepyaman Datta <[email protected]> * Swap `types-pkg_resources` with `types-setuptools` (unionai-oss#1779) * Swap `types-pkg_resources` with `types-setuptools` Signed-off-by: Deepyaman Datta <[email protected]> * Update the expected error message to name variable Signed-off-by: Deepyaman Datta <[email protected]> * Fix expected outputs for pandas-stubs 2.2.2.240807 Signed-off-by: Deepyaman Datta <[email protected]> * Update CI configuration to filter right pandas ver Signed-off-by: Deepyaman Datta <[email protected]> --------- Signed-off-by: Deepyaman Datta <[email protected]> * Do not test Ibis below py3.9, add DuckDB for tests Signed-off-by: Deepyaman Datta <[email protected]> --------- Signed-off-by: Deepyaman Datta <[email protected]>
1 parent ea3e0fc commit 7b1091e

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

environment.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
- pyyaml >= 5.1
1414
- typing_inspect >= 0.6.0
1515
- frictionless <= 4.40.8 # v5.* introduces breaking changes
16-
- pyarrow
16+
- pyarrow >= 13 # https://github.com/apache/arrow/pull/35113
1717
- pydantic
1818

1919
# hypotheses extra
@@ -32,9 +32,6 @@ dependencies:
3232
- modin
3333
- protobuf
3434

35-
# ibis extra
36-
- ibis-framework >= 3.1.0
37-
3835
# geopandas extra
3936
- geopandas < 1.1.0
4037
- shapely
@@ -62,6 +59,9 @@ dependencies:
6259
- uv
6360
- setuptools # required in noxfile and not automatically provided by python >= 3.12
6461

62+
# ibis testing
63+
- ibis-duckdb
64+
6565
# fastapi testing
6666
- uvicorn
6767
- python-multipart
@@ -88,6 +88,9 @@ dependencies:
8888
- dask[dataframe]
8989
- distributed
9090

91+
# ibis extra
92+
- ibis-framework >= 3.1.0 ; python_version >= '3.9'
93+
9194
# docs
9295
- furo
9396
- sphinx-docsearch

requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ hypothesis >= 6.92.7
88
pyyaml >= 5.1
99
typing_inspect >= 0.6.0
1010
frictionless <= 4.40.8
11-
pyarrow
11+
pyarrow >= 13
1212
pydantic
1313
scipy
1414
pandas-stubs
1515
pyspark[connect] >= 3.2.0, < 4.0.0
1616
polars >= 0.20.0
1717
modin
1818
protobuf
19-
ibis-framework >= 3.1.0
2019
geopandas < 1.1.0
2120
shapely
2221
fastapi
@@ -36,6 +35,7 @@ xdoctest
3635
nox
3736
uv
3837
setuptools
38+
ibis-framework[duckdb]
3939
uvicorn
4040
python-multipart
4141
sphinx
@@ -49,6 +49,7 @@ asv >= 0.5.1
4949
pre_commit
5050
dask[dataframe]
5151
distributed
52+
ibis-framework >= 3.1.0 ; python_version >= '3.9'
5253
furo
5354
sphinx-docsearch
5455
grpcio

scripts/generate_pip_deps_from_conda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import yaml
2525

2626
EXCLUDE = {"python"}
27-
RENAME: Dict[str, str] = {}
27+
RENAME: Dict[str, str] = {"ibis-duckdb": "ibis-framework[duckdb]"}
2828

2929
REPO_PATH = Path(__file__).resolve().absolute().parents[1]
3030
CONDA_REQUIREMENTS_FILE = REPO_PATH / "environment.yml"

0 commit comments

Comments
 (0)