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

Downgrade minimum traitlets version to 5.4 #629

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

danielhollas
Copy link
Contributor

@danielhollas danielhollas commented Aug 21, 2024

In #621 I've unpinned traitlets dependency from traitlets==5.9.0 to traitlets~=5.9. What I did not realize, and we found out the hard way in aiidalab/aiidalab-docker-stack#494, traitlets>=5.10 break the jupyter notebook version in the current AiiDAlab image.

As aiidalab/aiidalab-docker-stack#494 showed as, it is really not good if traitlets dependency is installed outside of the conda enviroment (i.e. to ~/.local) as it may break the jupyter notebook. Here we downgrade the minimum traitlets version back to 5.4.

(NOTE: That the original motivation to upgrading to 5.9 was performance, I believe it is better if we upgrade directly in the image). I'll open a separate issue for discussion, this is just a hotfix.

Fixes aiidalab/aiidalab-docker-stack#494

As we learned in aiidalab/aiidalab-docker-stack#494,
it is really not good if traitlets dependency is installed
outside of the conda enviroment (i.e. to ~/.local) as it may
break the jupyter notebook. Here we downgrade the minimum traitlets
version back to 5.4.

(NOTE: That the original motivation to upgrading to 5.9 was performance,
I believe it is better if we upgrade directly in the image).
Copy link

codecov bot commented Aug 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.61%. Comparing base (de5f0cc) to head (34bbe53).
Report is 10 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #629   +/-   ##
=======================================
  Coverage   83.61%   83.61%           
=======================================
  Files          16       16           
  Lines        3522     3522           
=======================================
  Hits         2945     2945           
  Misses        577      577           
Flag Coverage Δ
python-3.11 83.61% <ø> (ø)
python-3.9 83.65% <ø> (ø)

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.


🚨 Try these New Features:

@danielhollas
Copy link
Contributor Author

Notebook failures are unrelated to this PR.

@danielhollas
Copy link
Contributor Author

@edan-bainglass does this change make sense to you?

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.

Straightforward. LGTM! Let's revisit the performance comment next meeting.

@danielhollas danielhollas merged commit 771dae1 into aiidalab:master Aug 22, 2024
7 of 11 checks passed
@danielhollas danielhollas deleted the downgrade-traitlets branch August 22, 2024 17:02
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.

aiidalab/full-stack:edge container crashing
2 participants