Skip to content

Migrate to the NamedGraphs v0.14 interface - #174

Merged
mtfishman merged 3 commits into
mainfrom
mf/namedgraphs-v0.14
Sep 9, 2026
Merged

mtfishman merged 3 commits into
mainfrom
mf/namedgraphs-v0.14

Conversation

@mtfishman

@mtfishman mtfishman commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

NamedGraphs v0.14 removed the submodules and the position-graph interface this package imported, so it no longer loads. The overloads move to the encode and decode interface, and the mutating ones now return Bool as Graphs.jl documents, which also turned up an add_vertex! on a MessageCache that could never succeed.

@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 61.11111% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.17%. Comparing base (4e6ae51) to head (be77ae4).

Files with missing lines Patch % Lines
src/normnetworkview.jl 0.00% 5 Missing ⚠️
src/tensornetwork.jl 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            main     #174       +/-   ##
==========================================
+ Coverage   0.00%   80.17%   +80.17%     
==========================================
  Files         13       13               
  Lines        652      681       +29     
==========================================
+ Hits           0      546      +546     
+ Misses       652      135      -517     
Flag Coverage Δ
docs 0.00% <0.00%> (ø)

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

☔ View full report in Codecov by Harness.
📢 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.

@mtfishman mtfishman changed the title [WIP] Migrate to the NamedGraphs v0.14 interface Migrate to the NamedGraphs v0.14 interface Sep 9, 2026
@mtfishman
mtfishman marked this pull request as ready for review September 9, 2026 02:33
@mtfishman
mtfishman enabled auto-merge (squash) September 9, 2026 02:33
mtfishman added a commit that referenced this pull request Sep 9, 2026
## Summary

Migrates the 0.9 line to NamedGraphs v0.14, which removed the submodules
and the position-graph interface this package imported. The overloads
move to the encode and decode interface, and the mutating ones now
return `Bool` as Graphs.jl documents. This is
#174 ported to
`release-0.10`, released as 0.10.0.
NamedGraphs v0.14 removed the submodules and the position-graph interface this package imported, so it no longer loads. The overloads move to the encode and decode interface, and the dead imports go with them, since an import of a removed name fails at load rather than merely being noise.
Graphs.jl documents these as returning whether the operation happened, and DataGraphs now does too, so returning the network or cache left this package inconsistent with its own base class. Also fixes `add_vertex!` on a `MessageCache`, which called `add_edge!` and so could never succeed.
@mtfishman
mtfishman force-pushed the mf/namedgraphs-v0.14 branch from d9d906e to be77ae4 Compare September 9, 2026 16:06
@mtfishman
mtfishman disabled auto-merge September 9, 2026 16:25
@mtfishman
mtfishman merged commit e0b1e67 into main Sep 9, 2026
12 of 18 checks passed
@mtfishman
mtfishman deleted the mf/namedgraphs-v0.14 branch September 9, 2026 16:26
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.

1 participant