Handle Bokeh 3.0 CDSView change#5643
Handle Bokeh 3.0 CDSView change#5643jrbourbeau merged 2 commits intodask:mainfrom bryevdv:bryanv/cdsview_3_0
Conversation
jrbourbeau
left a comment
There was a problem hiding this comment.
Thanks @bryevdv -- just as a heads up there are a few known flaky tests, so if you see seemingly unrelated test failures in CI, that is most likely the cause
|
@jrbourbeau AFAICT everything is working fine with both 2.4.2 and 3.0.0dev I am seeing an error message on exit with 3.0dev But that seems like something to handle in a separate issue |
|
@jrbourbeau I did dig into the three failed tests, all "macos, not ci1" tests and all with a few failures related to reconnection and/or timeouts. I don't think they pertain to anything Bokeh-related but any guidance is welcome. |
jrbourbeau
left a comment
There was a problem hiding this comment.
Thanks @bryevdv, those tests are definitely unrelated to the changes here
|
FWIW I'm running the full CI suite against the development version of |
|
Thanks @jrbourbeau ! |
Starting with Bokeh 3.0,
CDSViewwill automatically infer the correctColumnDatSourceto apply to, and therefore no longer has asourceproperty. SeeCDSView.sourceand infer the source fromCDSView's parent bokeh/bokeh#11773This PR adds an version check to explicitly switch appropriate behavior.
pre-commit run --all-filesNOTE: just checking CI at this point, I still need to actually manually test with
3.0.0dev