Giter VIP home page Giter VIP logo

Comments (3)

krassowski avatar krassowski commented on June 2, 2024

Yes, in 2.2.3 we partially modernized the setup script/config removing data_files from setup.py:

  setuptools.setup(
-     data_files=[
-         (
-             "etc/jupyter/jupyter_server_config.d",
-             ["jupyter_lsp/etc/jupyter-lsp-jupyter-server.json"],
-         ),
-         (
-             "etc/jupyter/jupyter_notebook_config.d",
-             ["jupyter_lsp/etc/jupyter-lsp-notebook.json"],
-         ),
-     ],
  )

and adding it in setup.cfg (still not pyproject.toml, but some progress):

+ [options.data_files]
+ etc/jupyter/jupyter_server_config.d = jupyter_lsp/etc/jupyter-lsp-jupyter-server.json

Now, you can see that jupyter-lsp-notebook.json is no longer there, only jupyter-lsp-jupyter-server.json. This is because we no longer support the old notebook server and require a modern jupyter-server.

The fact that jupyter_lsp/etc/jupyter-lsp-notebook.json was not deleted appears to be an omission. I think we should simply remove it in the next patch release.

from jupyterlab-lsp.

frenzymadness avatar frenzymadness commented on June 2, 2024

Oh, I see. I thought that both JSONs are the same but you are right that the jupyter-lsp-jupyter-server.json is still installed in the same location. Thank you for the quick reply.
We can keep this open as a reminder to remove the old JSON.

from jupyterlab-lsp.

krassowski avatar krassowski commented on June 2, 2024

jupyter-lsp 2.2.4 should have solved it, please reopen if there is still a problem. Thanks!

from jupyterlab-lsp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.