Skip to content

Drop orphaned ITensorNetworksObserversExt#357

Merged
mtfishman merged 1 commit into
mainfrom
mf/drop-observers-ext
May 8, 2026
Merged

Drop orphaned ITensorNetworksObserversExt#357
mtfishman merged 1 commit into
mainfrom
mf/drop-observers-ext

Conversation

@mtfishman
Copy link
Copy Markdown
Member

@mtfishman mtfishman commented May 8, 2026

Summary

  • PR [BREAKING] Drop unused methods and reshape basic ITensorNetwork constructor surface #354 removed update_observer! from ITensorNetworks but left the ITensorNetworksObserversExt weak-dependency extension still wired up. Since v0.20.0, any environment that loads ITensorNetworks alongside Observers fails to precompile with UndefVarError: \update_observer!` not defined in `ITensorNetworks``. This blocks downstream packages that depend on Observers (e.g. Tennis.jl).
  • Drop the orphaned ext/ITensorNetworksObserversExt/ directory, the Observers weakdep, the corresponding [extensions] entry, and the Observers compat bound. Also drop Observers from test/Project.toml (no test files reference it).
  • Bump version to 0.21.1 (patch — no public API change beyond the dead-code extension).

PR #354 removed `update_observer!` from ITensorNetworks but left
`ext/ITensorNetworksObserversExt/` and its `Observers` weakdep wired up.
Since v0.20.0, any environment loading both ITensorNetworks and Observers
hits a precompile error: `UndefVarError: update_observer! not defined in
ITensorNetworks`. This breaks downstream packages that depend on Observers
(e.g. Tennis.jl).

Drop the extension directory, the Observers weakdep, the extension entry,
and the Observers compat bound. Also drop Observers from `test/Project.toml`
since no test files reference it.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.62%. Comparing base (e1e7ed9) to head (e8fb54a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #357      +/-   ##
==========================================
+ Coverage   74.60%   74.62%   +0.01%     
==========================================
  Files          64       63       -1     
  Lines        3103     3101       -2     
==========================================
- Hits         2315     2314       -1     
+ Misses        788      787       -1     
Flag Coverage Δ
docs 48.20% <ø> (-0.01%) ⬇️

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.

@mtfishman mtfishman merged commit 9a4c4a7 into main May 8, 2026
18 checks passed
@mtfishman mtfishman deleted the mf/drop-observers-ext branch May 8, 2026 22:18
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