Skip to content

chore(deps): relax jsonschema constraint to >=4.23,<5.#55

Merged
niemeyer merged 3 commits intocanonical:mainfrom
Chiori-Ndukwe:chiori/relax-jsonschema-version
Mar 25, 2026
Merged

chore(deps): relax jsonschema constraint to >=4.23,<5.#55
niemeyer merged 3 commits intocanonical:mainfrom
Chiori-Ndukwe:chiori/relax-jsonschema-version

Conversation

@Chiori-Ndukwe
Copy link
Copy Markdown
Contributor

Previously pinned due to rpds-py introducing a Rust build dependency
(jsonschema >=4.18), which broke charm builds in minimal environments.

This is no longer an issue:

  • jsonschema ships pure-Python wheels
  • rpds-py provides prebuilt wheels for major platforms
  • Rust is only required for source builds

Relaxing the constraint resolves dependency conflicts (e.g. litellm >=1.82.3)
while maintaining API stability.

Note: builds may still require Rust if pip falls back to source
(e.g. unsupported platforms, musl/Alpine, outdated pip).

@Chiori-Ndukwe Chiori-Ndukwe requested a review from a team as a code owner March 24, 2026 22:53
- Updated deprecated Poetry `dev-dependencies` section to comply with modern Poetry standards.
- Bumped `flake8` to `^7.0` to resolve `importlib.metadata.EntryPoints` compatibility issues.
- Bumped `pytest` to `^8.0` to resolve `_pytest.scope` import errors triggered by modern plugins.
- Fixed `flake8` configuration syntax by moving inline explanations out of the `ignore` block.
Copy link
Copy Markdown

@niemeyer niemeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable considering the request.

@niemeyer niemeyer merged commit 6bec753 into canonical:main Mar 25, 2026
2 checks passed
@niemeyer
Copy link
Copy Markdown

I've bypassed the review merge constraints on request. Please get in touch for rationale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants