-
Notifications
You must be signed in to change notification settings - Fork 18
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
Bump traitlets to v5.9 #526
Bump traitlets to v5.9 #526
Conversation
New version of traitlets contains optimizations that significantly speed up loading of the app.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #526 +/- ##
=======================================
Coverage 85.82% 85.82%
=======================================
Files 27 27
Lines 4608 4608
=======================================
Hits 3955 3955
Misses 653 653
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Hmm, the notebook tests are failing during |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but only with Firefox which is very very strange.
I saw chrome notebook test also failed.
What is that free -m
for?
Yeah, it's very annoying. 😧 The original errors indicated that the pip process got killed by the OS OOM killer at the very end of the installation (there was no error message and the process return exit code 137, i.e. SIGKILL). I wanted to see how much memory is available inside the container. But now I see errors coming from the actual selenium tests, so perhaps there are real issues. Need to investigate more, but will probably not get to it today. I hoped this would go smoother. 😭 |
080d792
to
b2de54f
Compare
Maybe I can try to use the same way as we now test the notebook of QeApp, the image is build and the package is installed inside the container. It then makes the container test easy to reproduce locally. |
@unkcpz not sure what you mean, but we already do install AWB inside the container when running the notebook tests, see fixtures in the conftest. I got ill over the weekend so will not be able to work on this today, and probably in the next few days. Feel free to continue. Imo the first thing is to just try installing AWB from this branch locally and verify that it works.(I should have done that myself). (and perhaps monitor pips use of memory during install). |
Here is how qe app build the qe image with the things installed https://github.com/aiidalab/aiidalab-qe/blob/fc36106f315b2c46ec50995b048b4aa9bf5e5cd3/.github/workflows/docker-build-test-upload.yml#L48-L62 then there is not need to install the app through |
Hehe, seems to work now. Time is the master of solving problems. |
.github/workflows/ci.yml
Outdated
@@ -43,7 +43,7 @@ jobs: | |||
matrix: | |||
tag: [latest] | |||
browser: [Chrome, Firefox] | |||
python-version: ['3.10'] | |||
python-version: ['3.9'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python-version: ['3.9'] | |
python-version: ['3.10'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let me try to change this back to 3.10 see if it still fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notebook tests all pass 🥂 ! Just one minor request, see if it is correct.
Emm... Now it is the unit test that stuck. I ran locally and it stuck at EDIT, cod query test timeout since the https://www.crystallography.net/ is down for the moment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All tests passed. (finally 😄 )
Okay, let's try this out. @unkcpz could you please release a new beta version? It would be great if you could also test this together with aiida-core 2.4 |
New version of traitlets contains optimizations that significantly speed up loading of the app.
As discussed in https://github.com/danielhollas/aiidalab-widgets-base/pull/new/deps/bump-traitlets