Migrate from `overrides` library to `typing.override`
Metadata
Current evaluation
Fixed by PR #6068 (commit be66fee8b), replacing the overrides library with typing_extensions.override for Python 3.14 readiness.
Resolution: closed resolved
Reason: PR #6068 was merged as commit be66fee8b, migrating Snapcraft from the overrides library to typing_extensions.override.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### Check existing issues
- [x] I've verified that this request isn't described by any existing issues.
### Request
Remove the `overrides` library and replace it with the `override` decorator from `typing`.
### The problem it solves
Preparation for Python 3.14
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by PR #6068 (commit be66fee8b), replacing the overrides library with typing_extensions.override for Python 3.14 readiness. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by snapcraft PR #6068 (commit be66fee8b), migrating from overrides to typing_extensions.override for Python 3.14 readiness. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded by parallel migration efforts across related repositories. The author already began replacing the overrides library with typing.override in separate pull requests, rendering this issue redundant. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded by ongoing work. The request to replace the overrides library with typing.override for Python 3.14 compatibility is being addressed by Spilsed across multiple repositories, tracked in PR canonical/imagecraft#273. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as superseded. The migration from the overrides library to typing.override is already underway across related projects, as noted by a maintainer linking to an active pull request. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed. The migration from overrides to typing.override is being handled across related projects by the original author. Maintainers noted the work is already underway elsewhere, superseding this issue. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#6068
(confidence 100%)
The merged PR implements the requested decorator migration and its commit closed the issue.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #264 Migrate from `overrides` library to `typing.override` | imagecraft | closed | Merged PR #273 (commit efa5479) replaced the overrides dependency with typing.override in preparation for Python 3.14. | |
| #273 style: migrate from overrides library to typing.override | imagecraft | merged | Merged in #273 as commit efa5479, replacing the overrides library with typing.override and resolving #264 in preparation for Python 3.14. | |
| #1268 style: switch from the `overrides` package to `typing.override` | craft-parts | merged | Merged PR #1268, replacing the `overrides` package with `typing.override` in commit a70bf95f to restore Python 3.14 compatibility while retaining lint-time marking. | |
| #6068 feat: migrate from overrides to typing_extensions.override | snapcraft | merged | Merged PR #6068 in commit be66fee8b migrated 50 files from overrides to typing_extensions.override and closed #6058. |