Skip to content

Commit

Permalink
some deps take too long on pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
almarklein committed Jan 15, 2025
1 parent 4e25584 commit ac16992
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ jobs:
- name: MacOS py311
os: macos-latest
pyversion: '3.11'
- name: Linux py313 complete
os: ubuntu-latest
pyversion: '3.13'
alltests: true

steps:

Expand All @@ -82,6 +86,11 @@ jobs:
python -m pip install --upgrade pip
pip install .[tests]
rm -rf ./jupyter_rfb ./build ./egg-info
- name: Install more dependencies
if: ${{ matrix.alltests }}
shell: bash
run: |
pip install -U pillow opencv-python-headless
- name: Test with pytest
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies = ["ipywidgets>=7.6.0,<9", "jupyterlab-widgets", "numpy"]
[project.optional-dependencies]
build = ["build", "hatchling", "hatch-jupyter-builder", "twine"]
lint = ["ruff", "pre-commit"]
tests = ["pytest", "simplejpeg", "pillow", "opencv-python-headless"]
tests = ["pytest", "simplejpeg"]
docs = ["numpy", "ipywidgets", "sphinx", "nbsphinx"]
dev = ["jupyter_rfb[build,lint,tests,docs]"]

Expand Down

0 comments on commit ac16992

Please sign in to comment.