@@ -50,12 +50,10 @@ jobs:
5050 run : |
5151 cd altair
5252 pytest tests
53- # Temporarily commented-out to get CI green
54- # https://github.com/narwhals-dev/narwhals/issues/3013
55- # - name: Run mypy
56- # run: |
57- # cd altair
58- # mypy altair tests
53+ - name : Run mypy
54+ run : |
55+ cd altair
56+ mypy altair tests
5957
6058 marimo :
6159 strategy :
@@ -78,35 +76,22 @@ jobs:
7876 cache-dependency-glob : " pyproject.toml"
7977 - name : clone-marimo
8078 run : |
81- git clone https://github.com/marimo-team/marimo.git --depth=1
79+ # TODO: remove branch pin once https://github.com/marimo-team/marimo/pull/8510 is merged
80+ git clone https://github.com/marimo-team/marimo.git --depth=1 --branch=push-kmswtyynuukw
8281 cd marimo
83- uv venv -p 3.12
8482 git log
85- - name : install-basics
86- run :
87- uv pip install --upgrade tox virtualenv setuptools hatch
88- " click!=8.3.0" --system
89- - name : install-marimo-dev
83+ - name : install-narwhals-dev
9084 run : |
9185 cd marimo
92- . .venv/bin/activate
86+ uv add ../ --editable
9387 # Temporary pin until it's addressed upstream.
94- uv pip install "pandas<3"
88+ uv add "pandas<3" --group test-optional
9589 # Temporary pin to get CI green
96- uv pip install "sqlglot<28.7.0"
97- uv pip install -e ".[dev]"
98- which python
99- - name : install-narwhals-dev
100- run : |
101- cd marimo
102- . .venv/bin/activate
103- uv pip uninstall narwhals
104- uv pip install -e ./..
90+ uv add "sqlglot<28.7.0" --group test-optional
10591 - name : show-deps
10692 run : |
10793 cd marimo
108- . .venv/bin/activate
109- uv pip freeze
94+ uv tree --group test-optional
11095 - name : Create assets directory, copy over index.html
11196 continue-on-error : true
11297 run : |
@@ -117,12 +102,8 @@ jobs:
117102 if : ${{ matrix.dependencies == 'core,optional' }}
118103 run : |
119104 cd marimo
120- . .venv/bin/activate
121- # make sure that we use the .venv when running tests, so that
122- # the local narwhals install is picked up
123- sed -i '/^\[tool.hatch.envs.default\]/a path = ".venv"' pyproject.toml
124- hatch run python -c "import narwhals; print(narwhals.__file__)"
125- hatch run +py=${{ matrix.python-version }} test-optional:test-narwhals
105+ uv run --python ${{ matrix.python-version }} python -c "import narwhals; print(narwhals.__file__)"
106+ scripts/test-narwhals.sh --python=${{ matrix.python-version }}
126107 timeout-minutes : 15
127108
128109 scikit-lego :
0 commit comments