-
Notifications
You must be signed in to change notification settings - Fork 26
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
REF: make ipywidgets optional dependency #132
Conversation
Seems like the first thing to do would be to switch to |
@martinfleis thank you or taking care of this! Could you add a test as well? |
I wanted to but we would need to revise CI to test in the environment with and without ipywidgets which doesn't seem to be possible now. |
@martinfleis ok, most new CI testing happened in https://github.com/pysal/splot/tree/main I am currently not sure anymore why this branch failed. I unfortunately do not have much time this week. I think I could try giving it a go Wednesday during the day, and do testing of this later. |
I will add the test here and run it locally. Then we can have a go at #124 with @jGaboardi with your permission and ensure that it is properly tested on CI. That way we can merge this and release it before the feature freeze. |
In order to complete #124 we will need full admin privileges (for Secrets, etc.). |
It may actually be overly complicated to do this test without |
Just a note that yesterday we removed support for 3.6 and added 3.9 support for libpysal. So if 3.6 is failing in splot, this is likely one reason. |
@jGaboardi and @martinfleis now have admin rights. |
CI is failing since March 1 (https://travis-ci.org/github/pysal/splot/builds/760938486). |
@martinfleis & @jGaboardi we used to start fixing all bugs on the main branch, not the master branch anymore and got that one ready including a new testing procedure. The main branch currently seems to pass, however I am unsure if this is correct. Maybe @jGaboardi you could confirm? if so, we should make main the new default and point all new pr's towards main instead of master. |
I didn't know we have both master and main (confusing). Should I target this PR to main then? |
@martinfleis we were in the middle of migrating to main and also of during this process changing the testing procedure. However as far as I remember the testing did not work and we could not figure out why. Help is much appreciated. Maybe target it towards main and we see if testing there runs through. |
let me clean the PR, changing base caused a mess |
cool, it seems that the new CI is up and running! I'll add the test then and remove ipywidgets from one of the env files to check it. |
Though it doesn't seem to work... |
I think it fails due to libpysal not working with 3.6. Can you add the correct python versions within this PR? Just dropping 3.6 adding 3.9. |
ok now, for some reason it is testing |
I added skips for bokeh tests. |
And test of ipywidgets import error. |
Codecov Report
@@ Coverage Diff @@
## main #132 +/- ##
===========================================
- Coverage 98.15% 85.94% -12.21%
===========================================
Files 18 18
Lines 1195 1217 +22
===========================================
- Hits 1173 1046 -127
- Misses 22 171 +149
Continue to review full report at Codecov.
|
I think this is good to merge |
Fixes #130
CI is failing on some numba stuff I did not try to debug.
Btw, we should really try to do #124.