← Back to issue list

build: remove unused jsonschema dependency

View original Github issue

Metadata

Project
charmcraft
Number
#2670
Type
pull request
State
closed
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Closed unmerged as redundant after the same unused jsonschema removal merged in #2576 via commit f73004f0.

Resolution: closed superseded

Reason: The equivalent dependency cleanup had already landed through merged PR #2576 as commit f73004f0. PR #2670 remained review-pending and was closed without being merged.

Evaluated by: mr-cal-bot

No scores available.

Issue body

## Summary Removes `jsonschema` from the dependencies — it is not imported anywhere in the charmcraft codebase. ## Changes - Remove `jsonschema~=4.0` from `pyproject.toml` - Update `uv.lock` (removes `jsonschema`, `jsonschema-specifications`, `referencing`, `rpds-py`, `attrs`)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Closed unmerged as redundant after the same unused jsonschema removal merged in #2576 via commit f73004f0.
stealth/space-bunny-alpha — closed stale The unused jsonschema removal was closed without a recorded merge or maintainer explanation; review stayed pending for 155 days, and the only comment was an automated type-check notification.
stealth/space-bunny-alpha — closed resolved Merged #2576 (f73004f0) into main, removing unused jsonschema from pyproject.toml and uv.lock, including five related packages, to address rpds-py build failures.
stealth/space-bunny-alpha — closed superseded Superseded by merged canonical/charmcraft#2576, which removed unused jsonschema and related packages from pyproject.toml and uv.lock to resolve rpds-py build failures.
stealth/space-bunny-alpha — closed stale Unused jsonschema~=4.0 dependency removal and uv.lock cleanup was proposed, but the PR closed unmerged with no maintainer explanation.
stealth/space-bunny-alpha — closed stale Closed unmerged after 155 days without review, so the proposed removal of unused jsonschema and its lockfile dependencies was not delivered through this PR.
qwen/qwen3.6-35b-a3b — — Closed without merging after static type checking failed. The pull request attempted to remove the unused jsonschema dependency but was abandoned due to unresolved type errors in the codebase.
qwen3.6-35b-a3b-mtp-q6 — — Closed. The change removed the unused jsonschema dependency and updated the lock file. A type-checking notification reported unrelated errors, but the request was processed and closed.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/charmcraft#2576 (confidence 98%)

    Merged PR #2576 implemented the same jsonschema removal in commit f73004f0.

Related issues

Issue Project State Summary Similarity
#2576 build: remove jsonschema charmcraft merged Merged as f73004f0: removed unused jsonschema and its transitive rpds-py dependency, eliminating the dependency causing build failures.
81%
#5506 build(deps): update dependency jsonschema (main) snapcraft closed Closed unmerged in favor of jsonschema-removal work #5653/#5655; the 2.6.0 bump was later merged through #5690 (commit f12ce847d).
81%