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

Fix for getting core_path #12

Open
fcollonval opened this issue Jun 15, 2024 · 1 comment
Open

Fix for getting core_path #12

fcollonval opened this issue Jun 15, 2024 · 1 comment

Comments

@fcollonval
Copy link
Member

@cronan03 to solve the issue for

https://github.com/jupyterlab/jupyterlab-builder/blob/727dc285ea97b730068731c177915144b61a8fd7/jupyter_builder/federated_extensions.py#L202

I suggest you replace osp.join(HERE, "staging") by a call to a new function default_core_path that will have the following implementation:

from pathlib import Path

def default_core_path() -> str:
    import jupyterlab
    return str(Path(jupyterlab.__file__).parent / "staging")
@cronan03
Copy link
Collaborator

Hey, this was the error I was facing.
image

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

No branches or pull requests

2 participants