Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.10.0 is breaking JupyterLab CI #555

Closed
fcollonval opened this issue Jul 23, 2021 · 0 comments · Fixed by #556
Closed

v1.10.0 is breaking JupyterLab CI #555

fcollonval opened this issue Jul 23, 2021 · 0 comments · Fixed by #556

Comments

@fcollonval
Copy link
Member

The error arises from:

spec = importlib.util.find_spec(namespace)

From the documentation

Find the spec for a module, optionally relative to the specified package name. If the module is in sys.modules, then sys.modules[name].spec is returned (unless the spec would be None or is not set, in which case ValueError is raised).

If the application is defined in a Python file not belonging to a package, __spec__ won't be set - this is the case of the broken JupyterLab CI test.

Xref: jupyterlab/jupyterlab#10682

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 a pull request may close this issue.

1 participant