Merge runtime pep440 - resolve conflicts#2987
Merged
kevinschaper merged 1393 commits intomainfrom Dec 1, 2025
Merged
Conversation
Fix incorrect YAML encoding, ignore intentionally corrupted files
Fixup Monarch Schemaview notebook
generating URI to Path / str(Path) maps in __init__
- create error messages before raise exceptions - simplify some if/else cascades - fix variable naming convention violations
… easier debugging
Co-authored-by: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>
SchemaView: linter fixes, minor code reorganisation
Adding __future__type annotations to yaml_loader, loader_root.
Avoid opening the same schema 9 times for very similar tests. Signed-off-by: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>
tests(schemaview): optimize execution
…rage Exclude vendored linkml-model from coverage reporting
Simple fixes by Ruff
…r to it being converted to a dictionary. This will allow @type to be asssigned to the true type of element in yamlutils.as_json_object(), rather than the being assigned to 'dict' which is the type returned from element.model_dump(). This change only effects cases when element is of type:pydantic.BaseModel
Resolved directory rename conflicts by moving new files from main to the new package structure: - dependency_sorter.py - transforms/collection_dict_loader.py - transforms/simple_dict_loader.py 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…update actions and paths
… in the runtime repo
- Fix YAML indentation error in array.yaml:14 (contributors field) - Add ClassE to codespell ignore-words-list in both root and runtime pyproject.toml - Configure pre-commit codespell hook to read pyproject.toml config and exclude .toml files - Apply pre-commit auto-fixes: end-of-file-fixer, trailing-whitespace, ruff-format 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Change from parents[2] to parents[3] to correctly locate the examples folder at the repository root. This fixes path errors after the monorepo restructuring. Fixes 3 test functions: - test_rustgen_personschema_maturin - test_rustgen_personschema_stubgen - test_rustgen_file_mode_generation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2987 +/- ##
==========================================
+ Coverage 80.27% 84.00% +3.73%
==========================================
Files 147 146 -1
Lines 15990 15988 -2
Branches 3234 3234
==========================================
+ Hits 12836 13431 +595
+ Misses 2483 1841 -642
- Partials 671 716 +45
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
pytest 8.4.2 changed the signature of _diff_text() to require a 'highlighter' parameter. Added a no-op highlighter function (lambda x, **kwargs: x) to maintain compatibility. This fixes TypeError when running tests with snapshot comparisons. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Reverted trailing whitespace removal from schema YAML files to preserve exact formatting required by snapshot tests. Added exclusion pattern to pre-commit config to prevent future modifications. Files reverted: - types.yaml - meta.yaml - datasets.yaml - units.yaml - validation.yaml 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Apply ruff-format to fix line length violation in _diff_text call. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1. Fix .gitattributes paths after test refactoring - Updated snapshot paths from tests/test_scripts/ to tests/linkml/test_scripts/ - Added .yuml files to eol=lf enforcement - Fixes Windows line ending mismatches in snapshot comparisons 2. Remove linkml_runtime slow tests from workflow - No tests in linkml_runtime are marked with @pytest.mark.slow - Removed step that was causing exit code 5 (no tests collected) - Removed corresponding codecov upload Both issues introduced during monorepo merge/refactoring. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
sujaypatil96
approved these changes
Nov 21, 2025
This was referenced Dec 4, 2025
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.
This uses the PR branch from @dalito (#2982) and fixes the merge conflicts as a base for the mono-repo merge.