question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use skip_if_exists from jupyter-packaging

See original GitHub issue

This is not mandatory for the extension to work.

In order to prevent the jupytext-feedstock to build the labextension and the nbextension (hence not depend on jupyterlab and nodejs), we can use jupyter-packaging’s skip_if_exists function which allows us to skip the build. In that case we need to ship the nbextension and labextension as part of the sdist.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
mwoutscommented, Jan 11, 2021

Locally I am having some success with https://github.com/mwouts/jupytext/pull/708. Do you deem that as acceptable?

0reactions
mwoutscommented, Jan 11, 2021

Thank you @martinRenou . Well I’ve added an if shutil.which("npm") (see #708) and that seems to work well, both on linux and windows. We’ll do with that until we find a better way!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tools to help build and install Jupyter Python packages - GitHub
There are three ways to use jupyter-packaging in another package. ... skip-if-exists : A list of local files whose presence causes the prebuild...
Read more >
Tools To Help Build and install Jupyter Python Packages
There are three ways to use jupyter-packaging in another package. ... skip-if-exists : A list of local files whose presence causes the prebuild...
Read more >
Changelog — Jupyter Server documentation - Read the Docs
Add skip-if-exists config #1108 (@blink1073). Use ... Use admin github token for releaser #1025 (@blink1073) ... Use Jupyter Packaging #477 (@jtpio) ...
Read more >
Jupyter Packaging :: Anaconda.org
noarch v0.12.3. conda install. To install this package run one of the following: conda install -c conda-forge jupyter-packaging. Description.
Read more >
Jupyter Packaging - GithubHelp
There are three ways to use jupyter-packaging in another package. ... skip-if-exists : A list of local files whose presence causes the prebuild...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found