Repository navigation
Fix CI — bokeh 3.9.0#9205
Conversation
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 31 files ± 0 31 suites ±0 10h 43m 23s ⏱️ - 26m 57s For more details on these failures, see this check. Results for commit 169d913. ± Comparison against base commit a13b06c. ♻️ This comment has been updated with latest results. |
|
I think it is expected the “not ci1” tests fail. |
| - numpy >=1.24 | ||
| - pandas >=2 | ||
| - bokeh >=3.1.0 | ||
| - bokeh >=3.9.0 |
There was a problem hiding this comment.
We can't introduce a lower bound to a version that was just released. We should instead implement a fix that supports a range of versions
There was a problem hiding this comment.
Would you like something like this?
if bokeh_version >= 3.9:
...
else:
...
|
The noci tests fail with a probably related failure. |
| @@ -1,4 +1,4 @@ | |||
| name: dask-distributed | |||
| name: dask-distributed-310 | |||
There was a problem hiding this comment.
that change probably makes sense but I suggest to factor this out into another PR
… configuration files
There was a problem hiding this comment.
@DimitriPapadopoulos this way we get full backwards/forwards compat
There was a problem hiding this comment.
Thank you for helping out, I wouldn't have guessed {% extends "file.html.jinja" %} can fail silently and fall back on {% extends "file.html" %}.
Looks perfect now.
| @@ -1,5 +1,5 @@ | |||
| {% extends "file.html.jinja" %} | |||
There was a problem hiding this comment.
I'm not sure how to have two different extensions based on the version of bokeh. Could you help?
There was a problem hiding this comment.
bokeh 3.9 is looking for file.html. We are now including a file.html which just points to the old file.html.jinja. Older versions will simply ignore the new file
I updated the PR in case this is what's causing the confusion
There was a problem hiding this comment.
I'll try something like this:
{% if BOKEH_VERSION >= '3.9' %}
{% extends "file.html.jinja" %}
{% else %}
{% extends "file.html" %}
{% endif %}
I will need to set BOKEH_VERSION, perhaps somewhere around here:
distributed/distributed/scheduler.py
Lines 8623 to 8624 in a13b06c
I'm a bit lost here.
There was a problem hiding this comment.
Ah, got it. So it fails silently.
|
test failures appear to be unrelated. Thanks @DimitriPapadopoulos for raising and fixing this! |
| f'<script type="text/javascript" src="/{prefix}/static/' | ||
| in response.body.decode() | ||
| ) | ||
| assert f'src="/{prefix}/static/' in response.body.decode() |
There was a problem hiding this comment.
Perhaps keep the leading space:
| assert f'src="/{prefix}/static/' in response.body.decode() | |
| assert f' src="/{prefix}/static/' in response.body.decode() |
Fixes CI by adapting to these changes in bokeh 3.9.0:
type="text/javascript"from<script>tags bokeh/bokeh#14847 / bokeh/bokeh@d061525pre-commit run --all-files