feat(curations): Update curations Schema#9
Merged
heliocastro merged 3 commits intomainfrom Nov 6, 2025
Merged
Conversation
Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
There was a problem hiding this comment.
Pull Request Overview
This PR updates dependencies and adds new functionality for source code origin tracking in ORT repository configurations. The changes include bumping multiple Python packages to their latest versions and introducing a new SourceCodeOrigin enum with corresponding model field updates.
- Dependency updates for argcomplete, datamodel-code-generator, filelock, idna, iniconfig, platformdirs, pydantic, pydantic-core, pyrefly, pytokens, ruff, tomli, and virtualenv
- New
SourceCodeOriginenum to represent VCS or ARTIFACT source types - Extended package curation model with new fields:
source_code_originsandlabels, plus reordered fieldspurlandcpe
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| uv.lock | Updates multiple dependencies to newer versions, including major version bumps for pydantic (2.11.10 → 2.12.4), pydantic-core (2.33.2 → 2.41.5), pyrefly (0.35.0 → 0.40.0), pytokens (0.1.10 → 0.3.0), ruff (0.13.3 → 0.14.3), and tomli (2.2.1 → 2.3.0) |
| src/ort/models/source_code_origin.py | Introduces new enum for representing source code origin types (VCS/ARTIFACT) |
| src/ort/models/repository_configuration.py | Adds import for SourceCodeOrigin, reorders fields, and adds new fields with default_factory for dict types |
| schemas/curations-schema.json | New JSON schema file defining the complete ORT repository configuration structure including the new SourceCodeOrigin enum |
| pyproject.toml | Bumps project version to 0.2.0 and updates minimum dependency versions to match uv.lock |
| .pre-commit-config.yaml | Updates pre-commit hook versions for ruff, conventional-pre-commit, and uv |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
heliocastro
added a commit
that referenced
this pull request
Nov 6, 2025
Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.