Skip to content

Commit

Permalink
Update to Bokeh 3.5 rc1 (#6936)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored Jun 25, 2024
1 parent b3a2484 commit 4e351ed
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
8 changes: 4 additions & 4 deletions panel/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "https://github.com/holoviz/panel.git"
},
"dependencies": {
"@bokeh/bokehjs": "3.5.0-dev.8",
"@bokeh/bokehjs": "3.5.0-rc.1",
"@types/debounce": "^1.2.0",
"@types/gl-matrix": "^2.4.5",
"ace-code": "^1.24.1",
Expand Down
1 change: 1 addition & 0 deletions panel/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ def server_cleanup():
def cache_cleanup():
state.clear_caches()
Design._resolve_modifiers.cache_clear()
state._stylesheets.clear()

@pytest.fixture
def autoreload():
Expand Down
7 changes: 4 additions & 3 deletions panel/tests/test_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -1792,7 +1792,7 @@ def function(value):

root = pane.get_root(document, comm)

wait_until(lambda: root.children[0].text == '<p>False</p>\n')
wait_until(lambda: root.children[0].text == '<p>False</p>\n', timeout=10_000)

Check failure on line 1795 in panel/tests/test_param.py

View workflow job for this annotation

GitHub Actions / unit:test-310:macos-latest

test_param_generator TimeoutError: wait_until timed out in 10000 milliseconds

checkbox.value = True

Expand All @@ -1811,7 +1811,7 @@ def function(value):

root = pane.get_root(document, comm)

wait_until(lambda: len(root.children) == 2)
wait_until(lambda: len(root.children) == 2, timeout=10_000)
assert root.children[0].text == '<p>False</p>\n'
assert root.children[1].text == '<p>True</p>\n'

Expand Down Expand Up @@ -1866,6 +1866,7 @@ async def function(value):
assert root.children[1].text == '<p>False</p>\n'


@pytest.mark.flaky(max_runs=3)
def test_param_generator_multiple(document, comm):
checkbox = Checkbox(value=False)

Expand All @@ -1877,7 +1878,7 @@ def function(value):

root = pane.get_root(document, comm)

wait_until(lambda: root.children[0].text == '<p>True</p>\n')
wait_until(lambda: root.children[0].text == '<p>True</p>\n', timeout=10_000)

checkbox.value = True

Expand Down
2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ lint = ["py311", "lint"]

[dependencies]
bleach = "*"
bokeh = "==3.5.0.dev8"
bokeh = "==3.5.0rc1"
linkify-it-py = "*"
markdown = "*"
markdown-it-py = "*"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [
"hatchling",
"hatch-vcs",
"param >=2.1.0",
"bokeh ==3.5.0.dev8",
"bokeh ==3.5.0rc1",
"pyviz_comms >=0.7.4",
"requests",
"packaging",
Expand Down Expand Up @@ -47,7 +47,7 @@ classifiers = [
]

dependencies = [
'bokeh ==3.5.0.dev8',
'bokeh ==3.5.0rc1',
'param >=2.1.0,<3.0',
'pyviz_comms >=2.0.0',
'markdown',
Expand Down

0 comments on commit 4e351ed

Please sign in to comment.