Skip to content

Migrate from github.com/xeipuuv/gojsonschema to github.com/santhosh-tekuri/jsonschema/v5 #2756

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 11, 2025

Conversation

mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Mar 4, 2025

github.com/xeipuuv/gojsonschema has last had a commit in Oct 2020.

So, follow what github.com/opencontainers/image-spec did, and move to the same library that project uses.

Note that github.com/santhosh-tekuri/jsonschema/v6 already exists, but the goal is to decrease the dependency surface (to the little extent this matters, it's at most a test dependency anyway), so we prioritize using the older version.

@rhatdan
Copy link
Member

rhatdan commented Mar 11, 2025

LGTM

mtrmac added 2 commits March 11, 2025 18:52
…ekuri/jsonschema/v5

github.com/xeipuuv/gojsonschema has last had a commit in Oct 2020.

So, follow what github.com/opencontainers/image-spec did, and move to
the same library that project uses.

Note that github.com/santhosh-tekuri/jsonschema/v6 already exists,
but the goal is to decrease the dependency surface (to the little extent
this matters, it's at most a test dependency anyway), so we prioritize
using the older version.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@mtrmac mtrmac merged commit 99996a1 into containers:main Mar 11, 2025
10 checks passed
@mtrmac mtrmac deleted the jsonschema branch March 11, 2025 19:04
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