Skip to content

Remove BandsDataViewer and bokeh dependency#734

Open
danielhollas wants to merge 3 commits into
aiidalab:masterfrom
danielhollas:bokeh-v3
Open

Remove BandsDataViewer and bokeh dependency#734
danielhollas wants to merge 3 commits into
aiidalab:masterfrom
danielhollas:bokeh-v3

Conversation

@danielhollas
Copy link
Copy Markdown
Contributor

@danielhollas danielhollas commented Mar 2, 2026

Closes #733

Removes the old BandsDataViewer that's apparently not used by QeApp? That allows us to remove the bokeh dependency and unpin numpy to support numpy 2.x

According to the migration guide, hopefully no code changes needed 🤞
https://github.com/bokeh/bokeh/wiki/Migration-Guides#300

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.99%. Comparing base (d9455ae) to head (05cc64f).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #734      +/-   ##
==========================================
- Coverage   85.09%   84.99%   -0.10%     
==========================================
  Files          18       18              
  Lines        3394     3373      -21     
==========================================
- Hits         2888     2867      -21     
  Misses        506      506              
Flag Coverage Δ
python-3.12 84.96% <ø> (-0.10%) ⬇️
python-3.9 84.98% <ø> (-0.10%) ⬇️

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.

@danielhollas
Copy link
Copy Markdown
Contributor Author

Hmm, BandsWidget does not seem to load in the notebooks/viewers.ipynb notebook :-(

@danielhollas danielhollas marked this pull request as ready for review June 3, 2026 18:16
@danielhollas danielhollas changed the title Support bokeh v3 Remove BandsDataViewer and bokeh dependency Jun 3, 2026
Copy link
Copy Markdown
Member

@edan-bainglass edan-bainglass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Less code is always nice 🙂 LGTM!

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.

Update bokeh to v3, current bokeh version not compatible with numpy 2.x

2 participants