← Back to issue list

build: remove jsonschema

View original Github issue

Metadata

Project
charmcraft
Number
#2576
Type
pull request
State
merged
Author
bepri
Labels
—
Created
Updated
Closed

Current evaluation

Merged as f73004f0: removed unused jsonschema and its transitive rpds-py dependency, eliminating the dependency causing build failures.

Resolution: closed resolved

Reason: PR #2576 merged to main as commit f73004f0, removing the jsonschema/rpds-py dependency chain that was failing to build.

Evaluated by: mr-cal-bot

No scores available.

Issue body

`jsonschema` had a dependency on `rpds-py`, which was [failing to build](https://github.com/canonical/charmcraft/actions/runs/22063163444/job/63886446868). Since it's no longer used (thanks Pydantic!), this PR removes it. --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/charmcraft/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [x] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as f73004f0: removed unused jsonschema and its transitive rpds-py dependency, eliminating the dependency causing build failures.
stealth/space-bunny-alpha — closed resolved Merged PR #2576 as commit f73004f0, removing unused jsonschema and its transitive rpds-py dependency, which was causing build failures.
qwen/qwen3.6-35b-a3b — — Merged. Removes the unused jsonschema dependency and related packages from pyproject.toml and uv.lock to resolve rpds-py build failures. Conflicts were resolved, and the change was approved and merged.
qwen3.6-35b-a3b-mtp-q6 — — Merged removal of the jsonschema dependency, which caused build failures with rpds-py and is replaced by Pydantic. Conflicts were resolved locally, though branch protection rules initially blocked the push. Type check warnings were non-blocking.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2670 build: remove unused jsonschema dependency charmcraft closed Closed unmerged as redundant after the same unused jsonschema removal merged in #2576 via commit f73004f0.
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).
72%