-
Notifications
You must be signed in to change notification settings - Fork 227
Remove the reading of the package.json file in the Python package #276
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
Comments
I'll copy what I wrote in the Thebe issue: Part of the error is this:
I'm not sure where this file is executing but maybe it's dependent on where the current notebook is? |
The |
You could move your js folder into the python package as a subdirectory. Then it would be present in the source repo and would also be in the installed version if the package data flag is used. |
In
Running Binder with this repository seems like a very specific use case for the error so I'm hesitant to make any big changes to the codebase. I find that renaming the |
I don't think that is a solution for this repository. But you can do things like that in thebe. For example, you can add a |
I wouldn't really like this, ideally, both packages would be in separate repos. The best approach IMO is to not depend on the package.json in the Python code, it's no big deal to remove this dependency and will fix your issue. I am quite busy with other things this week though. |
Yeh, it seems Jupyter 3.0 has new mechanisms for supporting extensions installed from pypi. So there are probably new better ways to set things up.
That's fine, we just don't quite know what exactly we can remove, because we aren't familiar with this source code. |
Seeing the issue that appears here: jupyter-book/thebe#294 I wonder if we should not get rid of this line. We should maybe hard-code the supported front-end version instead of reading the front-end version that is installed alongside the Python package.
The text was updated successfully, but these errors were encountered: