Skip to content

Use $schema keys for menuinst JSON validation#5569

Merged
jaimergp merged 16 commits intoconda:mainfrom
jaimergp:menuinst-230
Apr 19, 2025
Merged

Use $schema keys for menuinst JSON validation#5569
jaimergp merged 16 commits intoconda:mainfrom
jaimergp:menuinst-230

Conversation

@jaimergp
Copy link
Copy Markdown
Member

@jaimergp jaimergp commented Dec 14, 2024

Description

Recent changes in menuinst fixed this design issue. We can now safely rely on $schema to self-validate the JSON document. As a result, menuinst is no longer necessary as a dependency either.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Dec 14, 2024
@jaimergp jaimergp mentioned this pull request Dec 14, 2024
3 tasks
@jaimergp jaimergp marked this pull request as ready for review December 20, 2024 11:54
@jaimergp jaimergp requested a review from a team as a code owner December 20, 2024 11:54
@jaimergp
Copy link
Copy Markdown
Member Author

@conda/builds-tools, this is ready for review! 🙏 See conda/menuinst#283 for broader context.

Comment thread conda_build/post.py
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Dec 20, 2024

CodSpeed Performance Report

Merging #5569 will not alter performance

Comparing jaimergp:menuinst-230 (a6573ec) with main (079664d)

Summary

✅ 5 untouched benchmarks

@jaimergp
Copy link
Copy Markdown
Member Author

jaimergp commented Jan 7, 2025

Gentle ping, @conda/builds-tools.

@jaimergp
Copy link
Copy Markdown
Member Author

jaimergp commented Feb 4, 2025

Blocked by conda/infrastructure#1082

jezdez
jezdez previously requested changes Feb 27, 2025
Copy link
Copy Markdown
Member

@jezdez jezdez left a comment

Choose a reason for hiding this comment

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

Can't merge as-is

Comment thread conda_build/post.py
Comment thread conda_build/post.py Outdated
Comment thread conda_build/post.py Outdated
@github-project-automation github-project-automation Bot moved this from 🆕 New to 🏗️ In Progress in 🔎 Review Feb 27, 2025
@jaimergp
Copy link
Copy Markdown
Member Author

Needs conda/schemas#62

@jaimergp
Copy link
Copy Markdown
Member Author

We are not raising errors yet, but will have to do so in 6 months (25.11). Edited the logging statements for now.

@jaimergp
Copy link
Copy Markdown
Member Author

@jezdez, PTAL :)

@jaimergp
Copy link
Copy Markdown
Member Author

jaimergp commented Apr 7, 2025

@conda/builds-tools, this is ready for review, thanks.

Comment thread tests/utils.py
Comment thread news/5569-jsonschema-menuinst
@jaimergp jaimergp requested review from beckermr and jezdez April 10, 2025 16:50
Comment thread conda_build/post.py Outdated
Copy link
Copy Markdown
Contributor

@beckermr beckermr left a comment

Choose a reason for hiding this comment

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

One more comment.

@beckermr beckermr dismissed jezdez’s stale review April 14, 2025 09:18

Comments were addressed.

@beckermr
Copy link
Copy Markdown
Contributor

@jezdez I went ahead and dismissed your stale review since the comments were addressed. Feel free to comment again on this PR, but it is an LGTM from me!

@jaimergp jaimergp merged commit f3315ff into conda:main Apr 19, 2025
28 checks passed
@github-project-automation github-project-automation Bot moved this from 🏗️ In Progress to 🏁 Done in 🔎 Review Apr 19, 2025
@github-actions github-actions Bot added the locked [bot] locked due to inactivity label Apr 20, 2026
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed [bot] added once the contributor has signed the CLA locked [bot] locked due to inactivity

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants