2929 cache-suffix : min-versions-${{ matrix.python-version }}
3030 cache-dependency-glob : " pyproject.toml"
3131 - name : install-minimum-versions
32- run : uv pip install pipdeptree tox virtualenv setuptools pandas==1.1.3 polars==0.20.4 numpy==1.19.3 pyarrow==13.0.0 "pyarrow-stubs<17" scipy==1.6.0 scikit-learn==1.1.0 duckdb==1.0 tzdata --system
32+ run : uv pip install pipdeptree tox virtualenv setuptools pandas==1.1.3 polars==0.20.4 numpy==1.19.3 pyarrow==13.0.0 "pyarrow-stubs<17" scipy==1.6.0 scikit-learn==1.1.0 duckdb==1.1 tzdata --system
3333 - name : install-reqs
3434 run : |
3535 uv pip install -e . --group tests --system
4444 echo "$DEPS" | grep 'pyarrow==13.0.0'
4545 echo "$DEPS" | grep 'scipy==1.6.0'
4646 echo "$DEPS" | grep 'scikit-learn==1.1.0'
47- echo "$DEPS" | grep 'duckdb==1.0 '
47+ echo "$DEPS" | grep 'duckdb==1.1 '
4848 - name : Run pytest
49- run : pytest tests --cov=narwhals --cov=tests --cov-fail-under=50 --runslow --constructors=pandas,pyarrow,polars[eager],polars[lazy]
49+ run : pytest tests --cov=narwhals --cov=tests --cov-fail-under=50 --runslow --constructors=pandas,pyarrow,polars[eager],polars[lazy],duckdb
5050
5151 pretty_old_versions :
5252 strategy :
6666 cache-suffix : pretty-old-versions-${{ matrix.python-version }}
6767 cache-dependency-glob : " pyproject.toml"
6868 - name : install-pretty-old-versions
69- run : uv pip install pipdeptree tox virtualenv setuptools pandas==1.1.5 polars==0.20.4 numpy==1.19.3 pyarrow==14.0.0 "pyarrow-stubs<17" scipy==1.6.0 scikit-learn==1.1.0 duckdb==1.0 tzdata --system
69+ run : uv pip install pipdeptree tox virtualenv setuptools pandas==1.1.5 polars==0.20.4 numpy==1.19.3 pyarrow==14.0.0 "pyarrow-stubs<17" scipy==1.6.0 scikit-learn==1.1.0 duckdb==1.2 tzdata --system
7070 - name : install-reqs
7171 run : uv pip install -e . --group tests --system
7272 - name : show-deps
8282 echo "$DEPS" | grep 'pyarrow==14.0.0'
8383 echo "$DEPS" | grep 'scipy==1.6.0'
8484 echo "$DEPS" | grep 'scikit-learn==1.1.0'
85- echo "$DEPS" | grep 'duckdb==1.0 '
85+ echo "$DEPS" | grep 'duckdb==1.2 '
8686 - name : Run pytest
87- run : pytest tests --cov=narwhals --cov=tests --cov-fail-under=50 --runslow --constructors=pandas,pyarrow,polars[eager],polars[lazy]
87+ run : pytest tests --cov=narwhals --cov=tests --cov-fail-under=50 --runslow --constructors=pandas,pyarrow,polars[eager],polars[lazy],duckdb
8888
8989 not_so_old_versions :
9090 strategy :
@@ -104,7 +104,7 @@ jobs:
104104 cache-suffix : not-so-old-versions-${{ matrix.python-version }}
105105 cache-dependency-glob : " pyproject.toml"
106106 - name : install-not-so-old-versions
107- run : uv pip install tox virtualenv setuptools pandas==2.0.3 polars==0.20.8 numpy==1.24.4 pyarrow==15.0.0 "pyarrow-stubs<17" scipy==1.8.0 scikit-learn==1.3.0 duckdb==1.0 dask[dataframe]==2024.10 tzdata --system
107+ run : uv pip install tox virtualenv setuptools pandas==2.0.3 polars==0.20.8 numpy==1.24.4 pyarrow==15.0.0 "pyarrow-stubs<17" scipy==1.8.0 scikit-learn==1.3.0 duckdb==1.3 dask[dataframe]==2024.10 tzdata --system
108108 - name : install-reqs
109109 run : uv pip install -e . --group tests --system
110110 - name : show-deps
@@ -119,9 +119,9 @@ jobs:
119119 echo "$DEPS" | grep 'scipy==1.8.0'
120120 echo "$DEPS" | grep 'scikit-learn==1.3.0'
121121 echo "$DEPS" | grep 'dask==2024.10'
122- echo "$DEPS" | grep 'duckdb==1.0 '
122+ echo "$DEPS" | grep 'duckdb==1.3 '
123123 - name : Run pytest
124- run : pytest tests --cov=narwhals --cov=tests --cov-fail-under=50 --runslow --constructors=pandas,pyarrow,polars[eager],polars[lazy],dask
124+ run : pytest tests --cov=narwhals --cov=tests --cov-fail-under=50 --runslow --constructors=pandas,pyarrow,polars[eager],polars[lazy],dask,duckdb
125125
126126 nightlies :
127127 strategy :
@@ -152,10 +152,8 @@ jobs:
152152 uv pip install pandas --pre --index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --system -U
153153 - name : install pyarrow nightly
154154 run : |
155- # commented out nightly whilst it fails to install
156- uv pip install -U pyarrow --system
157- # uv pip uninstall pyarrow --system
158- # uv pip install pyarrow --pre --index https://pypi.fury.io/arrow-nightlies/ --system -U
155+ uv pip uninstall pyarrow --system
156+ uv pip install pyarrow --pre --index https://pypi.fury.io/arrow-nightlies/ --system -U
159157 - name : install numpy nightly
160158 run : |
161159 uv pip uninstall numpy --system
@@ -174,9 +172,10 @@ jobs:
174172 run : |
175173 DEPS=$(uv pip freeze)
176174 echo "$DEPS" | grep 'pandas.*dev'
177- # echo "$DEPS" | grep 'pyarrow.*dev'
175+ echo "$DEPS" | grep 'pyarrow.*dev'
178176 echo "$DEPS" | grep 'numpy.*dev'
179177 echo "$DEPS" | grep 'dask.*@'
178+ echo "$DEPS" | grep 'duckdb.*dev'
180179 - name : Run pytest
181180 run : |
182181 pytest tests --cov=narwhals --cov=tests --cov-fail-under=50 --runslow \
0 commit comments