Commit f03f2e8
fix(deps): bump nicegui lower bound to 3.11.0 to fix download regression
NiceGUI 3.10.0 has a bug where exceptions raised in async event handlers
are silently swallowed (fixed by zauberzeug/nicegui#5945, #5946).
This manifested as test_gui_run_download and
test_gui_run_qupath_install_to_inspect timing out at "Download
completed.": the start_download() coroutine fires "Downloading ..." but
crashes before the success notification, and 3.10.0's broken exception
handling never surfaces the failure.
3.11.0 also makes ValueChangeEventArguments generic over its value
type (zauberzeug/nicegui#5785), so update three call sites that need
the new signature:
- dataset/_gui.py: ValueChangeEventArguments[str | None] for the source
input; coerce its .value to str when invoking _download.
- application/_gui/_page_application_describe.py: parameterize
on_force_change with [bool | None] and bool()-coerce e.value before
assigning to SubmitForm.force.
- system/_gui.py: bool()-coerce the mask_secrets switch value passed to
load_info().
CVE-2026-39844 (>=3.10.0) remediation is preserved by the new lower
bound.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent afef177 commit f03f2e8
5 files changed
Lines changed: 15 additions & 10 deletions
File tree
- src/aignostics
- application/_gui
- dataset
- system
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
| 318 | + | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments