Skip to content

[WIP] Migrate to the NamedGraphs v0.14 interface - #174

Draft
mtfishman wants to merge 2 commits into
mainfrom
mf/namedgraphs-v0.14
Draft

[WIP] Migrate to the NamedGraphs v0.14 interface#174
mtfishman wants to merge 2 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.

TODO

  • Remove the [sources] pins on NamedGraphs main and on the DataGraphs migration branch, once NamedGraphs 0.14 and DataGraphs 0.6.0 register. The DataGraphs pin is needed because its registered 0.5.3 caps NamedGraphs at 0.13, so the NamedGraphs pin alone cannot resolve. It tracks [WIP] Migrate to the NamedGraphs v0.14 interface DataGraphs.jl#126.

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.
@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 (7d862ab) to head (483c685).

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   79.35%   80.17%   +0.82%     
==========================================
  Files          13       13              
  Lines         683      681       -2     
==========================================
+ Hits          542      546       +4     
+ Misses        141      135       -6     
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.

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.
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