Skip to content

Commit 007edfb

Browse files
authored
Merge branch 'main' into symphony/pln-202
2 parents 114768f + 064a5f5 commit 007edfb

2 files changed

Lines changed: 40 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: [main]
66
pull_request:
77

8+
concurrency:
9+
group: ci-${{ github.event.pull_request.number || github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
lint:
1014
name: Lint
@@ -14,7 +18,8 @@ jobs:
1418
- uses: actions/setup-python@v5
1519
with:
1620
python-version: "3.13"
17-
- run: pip install ruff
21+
- run: pip install -r requirements-dev.txt
22+
- run: pip check
1823
- run: ruff check .
1924

2025
typecheck:
@@ -25,7 +30,8 @@ jobs:
2530
- uses: actions/setup-python@v5
2631
with:
2732
python-version: "3.13"
28-
- run: pip install pyright pyyaml anthropic mcp pytest
33+
- run: pip install -r requirements-dev.txt
34+
- run: pip check
2935
- run: pyright
3036

3137
test:
@@ -36,5 +42,6 @@ jobs:
3642
- uses: actions/setup-python@v5
3743
with:
3844
python-version: "3.13"
39-
- run: pip install pytest pyyaml anthropic
45+
- run: pip install -r requirements-dev.txt
46+
- run: pip check
4047
- run: pytest plugins/

requirements-dev.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Pinned dev/CI dependencies for claude-plugins.
2+
#
3+
# Installed in every CI job via `pip install -r requirements-dev.txt`, then
4+
# validated with `pip check` to guard against broken dependency graphs.
5+
#
6+
# Bumped manually. To regenerate:
7+
#
8+
# python3.13 -m venv /tmp/claude-plugins-lockfile
9+
# /tmp/claude-plugins-lockfile/bin/pip install --upgrade pip
10+
# /tmp/claude-plugins-lockfile/bin/pip install ruff pyright pytest pyyaml anthropic mcp
11+
# /tmp/claude-plugins-lockfile/bin/pip freeze
12+
#
13+
# Then update the pinned direct dependencies below. Transitive dependencies
14+
# are resolved by pip at install time; `pip check` verifies the resolved graph
15+
# is internally consistent.
16+
#
17+
# Direct dependencies used by CI jobs:
18+
# - ruff: linting (lint job)
19+
# - pyright: type checking (typecheck job)
20+
# - pytest: test runner (test / contract-tests / quarantine jobs)
21+
# - pyyaml: YAML parsing in plugin tools + tests
22+
# - anthropic: Anthropic SDK (imported by plugin code under test)
23+
# - mcp: MCP SDK (imported by plugin code under test)
24+
25+
anthropic==0.92.0
26+
mcp==1.27.0
27+
pyright==1.1.408
28+
pytest==9.0.3
29+
PyYAML==6.0.3
30+
ruff==0.15.9

0 commit comments

Comments
 (0)