Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [BUG] jupyter-notebook broken after python upgrade to 3.14.8
To:
Enzo Nicosia <me@katolaz.net>
Cc:
ports@openbsd.org
Date:
Wed, 14 Oct 2026 13:27:24 +0100

Download raw body.

Thread
I missed regenerating the PLIST when updating textproc/py-python-json-logger.
Have just committed a fix, if you don't want to wait for packages and
don't want to wait for anoncvs to update you can "make plist" and
rebuild/reinstall.

On 2026/10/13 10:59, Enzo Nicosia wrote:
> Hello, 
> 
> as in the subject. `jupyter notebook` crashes in -current due to a
> failed import, after an update to the latest python-3.14.8. Details
> below. 
> 
> $ uname -prsv  
> OpenBSD 8.0 GENERIC.MP#92 amd64
> 
> $ python --version
> Python 3.14.8
> 
> $ jupyter notebook
> Traceback (most recent call last):
>   File "/usr/local/bin/jupyter-notebook", line 5, in <module>
> 	from notebook.app import main
>   File "/usr/local/lib/python3.14/site-packages/notebook/app.py", line 18, in <module>
> 	from jupyter_server.serverapp import flags
>   File "/usr/local/lib/python3.14/site-packages/jupyter_server/serverapp.py", line 40, in <module>
> 	from jupyter_events.logger import EventLogger
>   File "/usr/local/lib/python3.14/site-packages/jupyter_events/__init__.py", line 3, in <module>
> 	from .logger import EVENTS_METADATA_VERSION, EventLogger
>   File "/usr/local/lib/python3.14/site-packages/jupyter_events/logger.py", line 28, in <module>
> 	from pythonjsonlogger.json import JsonFormatter
>   File "/usr/local/lib/python3.14/site-packages/pythonjsonlogger/__init__.py", line 11, in <module>
> 	from . import json
> ImportError: cannot import name 'json' from partially initialized module 'pythonjsonlogger' (most likely due to a circular import) (/usr/local/lib/python3.14/site-packages/pythonjsonlogger/__init__.py)
> 
> Any hints?
> 
> Regards
> 
> Enzo Nicosia
> 
> -- 
>