Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,29 +91,29 @@ jobs:
run: |
bash scripts/test_playwright_storybook.sh

# - name: Run JupyterLab Playwright Tests
# run: |
# # Ensure uv environment is set up
# uv sync --all-extras --group dev
# # Install the built buckaroo wheel
# uv pip install --force-reinstall dist/*.whl
# # Install test dependencies (polars, jupyterlab)
# uv pip install polars jupyterlab
# # Detect venv location (uv sync creates .venv by default, but check if it exists)
# if [ -d ".venv" ]; then
# VENV_LOCATION=".venv"
# else
# # Fallback: try to detect from uv's Python environment
# VENV_LOCATION=$(uv run python -c "import sys; print(sys.prefix)" 2>/dev/null || echo ".venv")
# fi
# # Run the integration test script with venv location
# bash scripts/test_playwright_jupyter.sh --venv-location="$VENV_LOCATION"
# env:
# UV_PYTHON: ${{ matrix.python-version }}
- name: Run JupyterLab Playwright Tests
run: |
# Ensure uv environment is set up
uv sync --all-extras --group dev

# Install the built buckaroo wheel
uv pip install --force-reinstall dist/*.whl

# Install test dependencies (polars, jupyterlab)
uv pip install polars jupyterlab

# Detect venv location (uv sync creates .venv by default, but check if it exists)
if [ -d ".venv" ]; then
VENV_LOCATION=".venv"
else
# Fallback: try to detect from uv's Python environment
VENV_LOCATION=$(uv run python -c "import sys; print(sys.prefix)" 2>/dev/null || echo ".venv")
fi

# Run the integration test script with venv location
bash scripts/test_playwright_jupyter.sh --venv-location="$VENV_LOCATION"
env:
UV_PYTHON: ${{ matrix.python-version }}



Expand Down
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ dev = [
"anywidget[dev]>=0.9.0",
"jupyterlab>=4.2.5",
"ruff>=0.6.2",
"pandas; python_version >= '3.13'", # Python 3.13+
"pandas>=1.3.5; python_version < '3.13'", # Python 3.12 or less
"pandas>=1.3.5,<3.0",
"playwright",
"pydantic>=2.5.2",
"pyarrow",
Expand Down Expand Up @@ -84,8 +83,7 @@ polars = [

test = [
"nbval>=0.9",
"pandas>=1.3.5; python_version < '3.13'", # Python 3.12 or less
"pandas; python_version >= '3.13'", # Python 3.13+
"pandas>=1.3.5,<3.0",
"pytest-cov>=3",
"pytest>=6",
"hypothesis>=6.88.1",
Expand Down Expand Up @@ -257,7 +255,7 @@ dev = [
"jupyterlab>=4.2.5",
"ruff>=0.6.2",
"polars>=1.5.0",
"pandas >= 1.3.5; python_version < '3.13'", # Python 3.12 or less
"pandas>=1.3.5,<3.0",
"playwright",
"pydantic>=2.5.2 ; python_version <= '3.13'", # Python 3.13 or less
"pyarrow ; python_version <= '3.13'",
Expand Down
11 changes: 5 additions & 6 deletions uv.lock

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

Loading