Skip to content

Merge runtime pep440 - resolve conflicts#2987

Merged
kevinschaper merged 1393 commits intomainfrom
merge-runtime-pep440
Dec 1, 2025
Merged

Merge runtime pep440 - resolve conflicts#2987
kevinschaper merged 1393 commits intomainfrom
merge-runtime-pep440

Conversation

@amc-corey-cox
Copy link
Contributor

@amc-corey-cox amc-corey-cox commented Oct 31, 2025

This uses the PR branch from @dalito (#2982) and fixes the merge conflicts as a base for the mono-repo merge.

vladistan and others added 30 commits July 19, 2025 12:01
Fix incorrect YAML encoding, ignore intentionally corrupted files
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
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
…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
kevinschaper and others added 14 commits November 17, 2025 14:08
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>
- 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
Copy link

codecov bot commented Nov 21, 2025

Codecov Report

❌ Patch coverage is 98.11321% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 84.00%. Comparing base (093800f) to head (954486b).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...inkml/src/linkml/linter/config/datamodel/config.py 98.11% 0 Missing and 1 partial ⚠️
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     
Flag Coverage Δ
linkml 80.26% <98.11%> (?)
runtime 80.26% <98.11%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

kevinschaper and others added 6 commits November 20, 2025 20:07
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 sujaypatil96 self-requested a review November 21, 2025 21:28
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.