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
However I've discovered that after creating a fresh version of the pythia-book-dev environment, JupyterBook will not launch. Running jupyter lab produces
Traceback (most recent call last):
File "/Users/br546577/miniconda3/envs/pythia-book-dev/bin/jupyter-lab", line 6, in <module>
from jupyterlab.labapp import main
File "/Users/br546577/miniconda3/envs/pythia-book-dev/lib/python3.12/site-packages/jupyterlab/__init__.py", line 8, in <module>
from .handlers.announcements import (
File "/Users/br546577/miniconda3/envs/pythia-book-dev/lib/python3.12/site-packages/jupyterlab/handlers/announcements.py", line 15, in <module>
from jupyterlab_server.translation_utils import translator
File "/Users/br546577/miniconda3/envs/pythia-book-dev/lib/python3.12/site-packages/jupyterlab_server/__init__.py", line 6, in <module>
from .app import LabServerApp
File "/Users/br546577/miniconda3/envs/pythia-book-dev/lib/python3.12/site-packages/jupyterlab_server/app.py", line 10, in <module>
from jupyter_server.extension.application import ExtensionApp, ExtensionAppJinjaMixin
File "/Users/br546577/miniconda3/envs/pythia-book-dev/lib/python3.12/site-packages/jupyter_server/extension/application.py", line 17, in <module>
from jupyter_server.serverapp import ServerApp
File "/Users/br546577/miniconda3/envs/pythia-book-dev/lib/python3.12/site-packages/jupyter_server/serverapp.py", line 39, in <module>
from jupyter_events.logger import EventLogger
File "/Users/br546577/miniconda3/envs/pythia-book-dev/lib/python3.12/site-packages/jupyter_events/__init__.py", line 3, in <module>
from .logger import EVENTS_METADATA_VERSION, EventLogger
File "/Users/br546577/miniconda3/envs/pythia-book-dev/lib/python3.12/site-packages/jupyter_events/logger.py", line 19, in <module>
from .schema import SchemaType
File "/Users/br546577/miniconda3/envs/pythia-book-dev/lib/python3.12/site-packages/jupyter_events/schema.py", line 18, in <module>
from .validators import draft7_format_checker, validate_schema
File "/Users/br546577/miniconda3/envs/pythia-book-dev/lib/python3.12/site-packages/jupyter_events/validators.py", line 44, in <module>
JUPYTER_EVENTS_SCHEMA_VALIDATOR = Draft7Validator(
^^^^^^^^^^^^^^^^
TypeError: create.<locals>.Validator.__init__() got an unexpected keyword argument 'registry'
This is on a Mac laptop (osx-arm64).
The problem appears to be upstream in jupyter_events, and has been reported in jupyter/jupyter_events#99.
I'm not sure if the problem is isolated to osx-arm64 or not. This is not something that our CI testing will catch, since we don't launch JupyterLab in those tests.
Pinning to Python < 3.12 resolves the problem.
I will open a PR for that.
The text was updated successfully, but these errors were encountered:
As discussed in #485, our instructions for local environment creation are out of date. I'll open a PR to resolve #485 shortly.
However I've discovered that after creating a fresh version of the
pythia-book-dev
environment, JupyterBook will not launch. Runningjupyter lab
producesThis is on a Mac laptop (osx-arm64).
The problem appears to be upstream in
jupyter_events
, and has been reported in jupyter/jupyter_events#99.I'm not sure if the problem is isolated to osx-arm64 or not. This is not something that our CI testing will catch, since we don't launch JupyterLab in those tests.
Pinning to Python < 3.12 resolves the problem.
I will open a PR for that.
The text was updated successfully, but these errors were encountered: