Linting breaks mypy
Metadata
Current evaluation
Superseded by merged PR #6247 (commit 534d7dce7), which replaced mypy linting with Astral ty; the missing-mypy failure no longer applies.
Resolution: closed superseded
Reason: PR #6247 merged as commit 534d7dce7 and replaced mypy and pyright with ty, making the reported mypy dependency failure obsolete.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### Check existing issues
- [x] I've verified that this bug isn't described by any existing issues.
### Bug description
Running the lint command removes mypy as a package.
### Steps to reproduce
```bash
$ make clean && rm -rf .venv
$ make setup lint
$ make lint
```
### Environment
Any build environment.
### snapcraft.yaml
```yaml
```
### Log output
```shell
uv run mypy --show-traceback --show-error-codes snapcraft
error: Failed to spawn: `mypy`
Caused by: No such file or directory (os error 2)
make: *** [common.mk:150: lint-mypy] Error 2
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Superseded by merged PR #6247 (commit 534d7dce7), which replaced mypy linting with Astral ty; the missing-mypy failure no longer applies. | |
| stealth/space-bunny-alpha | — | closed stale | Closed as stale without a documented fix; the only follow-up was an automated link to internal ticket SNAPCRAFT-1321. | |
| stealth/space-bunny-alpha | — | closed stale | Closed as stale with no documented fix; an automated comment linked internal ticket SNAPCRAFT-1321. | |
| stealth/space-bunny-alpha | — | closed stale | Closed as stale without a documented fix; no resolving PR or commit was found for the missing-mypy lint bug. | |
| qwen/qwen3.6-35b-a3b | — | — | Running the lint command removes mypy, breaking type checking. The report was closed without a fix or merge. No code changes or follow-up actions are documented, indicating the bug was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The lint command was reported to remove the mypy package, causing build failures. The issue was triaged and synced to Jira but received no fix or discussion. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without a documented fix or resolution. The report described a linting command removing mypy, but no follow-up comments or pull requests indicate how it was addressed. The issue appears abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Running the lint command removes mypy, causing build failures. The report was closed without a documented fix or resolution, indicating the bug remains unresolved and likely abandoned after triage. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
snapcraft#6247
(confidence 98%)
Merged migration removed mypy from the active code-lint workflow and adopted ty instead.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #421 style: drop mypy, pyright | craft-store | merged | Merged #421 to replace mypy and pyright with Astral ty; the lint pipeline now runs lint-ty. | |
| #1207 style: replace mypy and pyright with ty | rockcraft | merged | Merged PR #1207 (commit 5d9356c1), replacing mypy and pyright type checking with Astral ty and updating lint configuration across 43 files. | |
| #253 style: drop mypy, pyright | craft-archives | merged | Merged PR #253 (commit 1949f53) drops mypy and pyright in favor of ty; lint and test CI checks passed. | |
| #94 lint: fix mypy config to 'recurse' | starbase | merged | Merged PR #94 by maintainer tigarmo changed the mypy override from module = ["starcraft"] to "starcraft.*" so typing checks cover sub-packages; merged as commit 296c5dd (still present in pyproject.toml). |