-
Notifications
You must be signed in to change notification settings - Fork 30
Fix Schemaview.get_uri(...) for no default_prefix in schema #378
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
base: main
Are you sure you want to change the base?
Conversation
I have added a regression test for this issue: #379. The test should fail as long as this PR hasn't been merged. If you cherry-pick my commit there and put it onto yours in this PR, the newly added test should start succeeding. If you do it so, you can then close my PR. Otherwise we should merge mine after yours. |
Sorry, my bad. I oversaw it. As long as |
Yes, I verified that the test reproduces the issue before adding the fix. |
4faf322
to
4e5fb09
Compare
@sierra-moxon - #341 was not 3.13 compatible but merged. The introduced typing issues in |
The remaining test failure is also from #341 not being compatible with the changes merged in #345. Specifically the changes in 43b3b3d. That change made it so that the With that logic no longer in place, the expected error is a Pretty sure the fix here is to just expect a
|
81c312c
to
df3bbc1
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #378 +/- ##
==========================================
+ Coverage 63.59% 63.77% +0.18%
==========================================
Files 62 62
Lines 8916 8947 +31
Branches 2581 2588 +7
==========================================
+ Hits 5670 5706 +36
+ Misses 2637 2634 -3
+ Partials 609 607 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Cherry-pciked fixes from #378 for rc2
df3bbc1
to
154727a
Compare
upstream_repo: sneakers-the-rat/linkml
upstream_branch: python-3.13
Some test fail with upstream linkml but these tests seem wrong. They test for the wrong uris with a colon, for example here:
This validates the presence of issue linkml/linkml#2578 but is not testing for the correct URIs.
(...or are we wrong in what we assume as correct URIs?)
Closes linkml/linkml#2578