You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LocalLayerRepository.__str__ produces a malformed string (missing closing parenthesis) #584
LocalLayerRepository.__str__ returns a string with an unclosed parenthesis. Every error message raised when using a local kernel (from _validate_layer, _get_kernel_layer, etc.) will contain a broken diagnostic string.
Steps to reproduce
from pathlib import Path
from kernels import LocalLayerRepository
The other two repository classes (LayerRepository line 115, LockedLayerRepository line 226) do not have this issue. One character fix — happy to open a PR if helpful.
Activity
sayakpaul commentedon May 27, 2026
Do you have a full reproducible example?
thesayakmondal commentedon May 27, 2026
Verified on
kernels==0.14.1(latest published version) using Google Colab:Output:
No GPU required to reproduce. Happy to open a PR with the one-character fix if that works for you.
danieldk commentedon May 28, 2026
Thanks for reporting, should be fixed in #597 .
kernels: Fix missing closing paren in `LocalLayerRepository.__str__` (#…
thesayakmondal commentedon May 29, 2026
Thanks for the quick fix @danieldk and thanks for the follow-up @sayakpaul. Happy to have caught it!