Skip to content

Commit 4eff582

Browse files
committed
CI: Add optional dependency for examples
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)
1 parent 6dabdbf commit 4eff582

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/build_lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
- name: Install uv
7878
run: pip install uv
7979
- name: Install Mesa
80-
run: uv pip install --system .[dev]
80+
run: uv pip install --system .[examples]
8181
- name: Checkout mesa-examples
8282
uses: actions/checkout@v4
8383
with:

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ dev = [
5454
"sphinx",
5555
"pytest-mock",
5656
]
57+
examples = [
58+
"pytest >= 4.6",
59+
"scipy"
60+
]
5761
docs = [
5862
"sphinx",
5963
"ipython",

0 commit comments

Comments
 (0)