chore(deps): bump click 8.1.7 -> 8.2.1
Scanned 9/2/2026
Install to Claude Code
npx -y skills add microsoft/apm --skill fixtures --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Fixtures?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/microsoft-fixtures-443d0f21)More formats (shields.io, HTML) on the badges page.
chore(deps): bump click 8.1.7 -> 8.2.1
## TL;DR
Routine click upgrade. Picks up the new `Context` generic typing
and a fix for boolean-flag short forms. One type hint adjusted in
`cli.py`. Lockfile regenerated; full unit suite green.
## Problem (WHY)
- click 8.2.x ships a typing fix flagged by mypy on Python 3.12.
- Staying on 8.1.7 means our type checks fail under the supported
Python matrix.
The skill's anchor for cite-or-omit applies here too:
["Add what the agent lacks, omit what it knows"](https://agentskills.io/skill-creation/best-practices)
-- this PR body says only what the diff alone cannot.
## Approach (WHAT)
Mechanical. Bump version pin, regenerate lockfile, adjust one
type hint.
## Implementation (HOW)
| File | Change |
|---|---|
| `pyproject.toml` | `click = "^8.2.1"` (was `^8.1.7`). |
| `uv.lock` | Regenerated by `uv sync`. |
| `src/apm_cli/cli.py` | One type hint updated for new `click.Context` generic. |
## Trade-offs
- **Direct bump vs caret-locking to 8.1**: chose direct bump
because the typing fix is the reason for the upgrade.
## Validation
```
$ uv sync --extra dev
resolved in 2.1s
$ uv run pytest tests/unit -x
2418 passed in 38.7s
```
## How to test
- [ ] `uv sync --extra dev`
- [ ] `uv run pytest tests/unit -x` (expect 2418 passing)
- [ ] `uv run mypy src/apm_cli` (expect 0 errors)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!