Skip to content

Commit

Permalink
CI: Add optional dependency for examples
Browse files Browse the repository at this point in the history
The Game of Life fast example needs scipy. Instead of adding it to our dev dependencies, I created a new, lighter examples optional dependency category (with SciPy)
  • Loading branch information
EwoutH authored Aug 30, 2024
1 parent efa51cd commit 5b5f9aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Install uv
run: pip install uv
- name: Install Mesa
run: uv pip install --system .[dev]
run: uv pip install --system .[examples]
- name: Checkout mesa-examples
uses: actions/checkout@v4
with:
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ dev = [
"sphinx",
"pytest-mock",
]
examples = [
"pytest >= 4.6",
"scipy"
]
docs = [
"sphinx",
"ipython",
Expand Down

0 comments on commit 5b5f9aa

Please sign in to comment.