Skip to content
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

Make ELN widgets optional #609

Merged
merged 1 commit into from
May 31, 2024
Merged

Conversation

danielhollas
Copy link
Contributor

@danielhollas danielhollas commented May 28, 2024

As discussed in #608 and #595, this PR makes aiidalab-eln dependency optional via new eln extras. The ELN widgets will show an error if the dependency is not installed.

@edan-bainglass @yakutovicha please test, I am not familiar with these widgets. Also please feel free to tweak the error message.

WARNING: This is a breaking change and so it should be released in 0.2.3.

Copy link

codecov bot commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.19%. Comparing base (7c9a3ef) to head (569bcc1).
Report is 24 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #609      +/-   ##
==========================================
- Coverage   96.21%   96.19%   -0.02%     
==========================================
  Files          11       11              
  Lines        1188     1183       -5     
==========================================
- Hits         1143     1138       -5     
  Misses         45       45              
Flag Coverage Δ
python-3.10 96.19% <ø> (-0.02%) ⬇️
python-3.9 ?

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.

@danielhollas danielhollas added this to the v0.2.3 milestone May 28, 2024
@danielhollas danielhollas mentioned this pull request May 28, 2024
5 tasks
Copy link
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.

LGTM!

@danielhollas danielhollas merged commit df106c5 into aiidalab:master May 31, 2024
11 checks passed
@danielhollas danielhollas deleted the optional-eln branch May 31, 2024 13:12
@danielhollas danielhollas added the dependencies Pull requests that update a dependency file label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants