Skip to content

pixi-global: pin bokeh to 3.9 - #672

Merged
kondratyevd merged 2 commits into
mainfrom
pixi-global-bokeh-3.9
Oct 28, 2026
Merged

kondratyevd merged 2 commits into
mainfrom
pixi-global-bokeh-3.9

Conversation

@kondratyevd

Copy link
Copy Markdown
Collaborator

A Dask scheduler that reaches its idle timeout never exits. With distributed 2025.3.1, Scheduler.close() calls Bokeh's synchronous Server.stop(), which since bokeh 3.10.0 raises RuntimeError: Cannot synchronously wait on a running event loop. The close aborts with the scheduler stuck in closing, which disables every later idle check, so the cluster keeps its workers until someone stops it. One such cluster held about 800 idle workers for 16 hours with no tasks and no client.

distributed fixed this in 2026.8.0 (dask/distributed#9351), but dask-awkward 2026.2.1 — the newest release, and upstream main — requires distributed >=2025.3.1,<2025.4.0. So bokeh goes back to 3.9 until dask-awkward allows a newer distributed. A local conda-only solve keeps distributed 2025.3.1 and dask-awkward 2026.2.1, with bokeh 3.9.2.

What moves for users when it lands: the pixi/global env is re-locked and synced with bokeh 3.9. Dask clusters created from it afterwards shut down after the 3600 s idle timeout again. Clusters already running keep the old behaviour. Clusters built from users' own envs are unaffected.

Renovate will propose bokeh 3.10 again; close that PR until dask-awkward allows a newer distributed.

🤖 Generated with Claude Code

A Dask scheduler that reaches its idle timeout never exits: with
distributed 2025.3.1, Scheduler.close() calls Bokeh's synchronous
Server.stop(), which since bokeh 3.10.0 raises "Cannot synchronously
wait on a running event loop". The close aborts with the scheduler left
in the closing state, which disables every later idle check, so the
cluster keeps its workers until someone stops it.

distributed fixed this in 2026.8.0 (dask/distributed#9351), but
dask-awkward 2026.2.1, the newest release, requires distributed
<2025.4.0. Hold bokeh at 3.9 until dask-awkward allows a newer
distributed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kondratyevd
kondratyevd merged commit 6af62eb into main Oct 28, 2026
22 checks passed
@kondratyevd
kondratyevd deleted the pixi-global-bokeh-3.9 branch October 28, 2026 20:27
kondratyevd added a commit that referenced this pull request Oct 28, 2026
Of the 31 minutes ray-nrp took in a run that rebuilt it (#672), 14 went
to writing its 15 GB environment layer to the GHA cache and 11 to
exporting the image to the docker daemon for the smoke test; installing
the environment took one. The layer changes with every pixi/global lock,
which is all that rebuilds the image, so the cache never served it, and
it is larger than the repository's 10 GB GHA cache, evicting the other
images' caches.

ray-nrp now builds with buildx's docker driver, into the daemon the
smoke test and push use, with no cache. The other images are unchanged.

Co-authored-by: Claude Opus 5.5 <[email protected]>
kondratyevd added a commit that referenced this pull request Oct 30, 2026
#707)

#672 capped bokeh at 3.9 because distributed 2025.3.1 cannot stop a
dashboard on bokeh 3.10 or newer, so a Dask scheduler that reaches its
idle timeout never exits and keeps its workers. The cap sits only in
pixi/global/pixi.toml, where Renovate reads 3.9.* as a range, so 3.10.*
is queued for the next window on renovate/pixi-global, which automerges,
and CI cannot see the fault.

The traefik rule never applied: Renovate names a chart from an OCI
repository by its full path, and matchPackageNames compares packageName
alone. Chart 42.2.0, which needs Kubernetes 1.30, was therefore offered
on the major branch it shares with Loki 20, where a PR that must fail CI
would hold one of the two concurrency slots.

Checked with renovate-config-validator --strict and with
renovate --platform=local --dry-run=lookup: traefik offered 42.2.0 and
pixi/global's bokeh 3.10.0 before, and neither after. The Loki major
stays, and pixi/base's bokeh pin is untouched.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant