From 14e725237784cd01c85417fb4179a519ff15db35 Mon Sep 17 00:00:00 2001 From: Juergen Hasch Date: Thu, 4 Aug 2022 13:24:58 +0200 Subject: [PATCH 1/3] Remove latex_envs import --- src/jupyter_contrib_nbextensions/install.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/jupyter_contrib_nbextensions/install.py b/src/jupyter_contrib_nbextensions/install.py index c7ad21959..67af3de5e 100644 --- a/src/jupyter_contrib_nbextensions/install.py +++ b/src/jupyter_contrib_nbextensions/install.py @@ -5,7 +5,6 @@ import os import jupyter_highlight_selected_word -import latex_envs from jupyter_contrib_core.notebook_compat import nbextensions from jupyter_nbextensions_configurator.application import ( EnableJupyterNbextensionsConfiguratorApp, From 7e93b241aec77f77fc4634f44526601eb562bdea Mon Sep 17 00:00:00 2001 From: Juergen Hasch Date: Thu, 4 Aug 2022 13:33:50 +0200 Subject: [PATCH 2/3] remove latex_envs --- src/jupyter_contrib_nbextensions/install.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/jupyter_contrib_nbextensions/install.py b/src/jupyter_contrib_nbextensions/install.py index 67af3de5e..78b78d318 100644 --- a/src/jupyter_contrib_nbextensions/install.py +++ b/src/jupyter_contrib_nbextensions/install.py @@ -62,7 +62,6 @@ def toggle_install_files(install, user=False, sys_prefix=False, logger=None, component_nbext_packages = [ jupyter_contrib_nbextensions, jupyter_highlight_selected_word, - latex_envs, ] for mod in component_nbext_packages: if install: From 8641b79f7e9ef524a48c1c1ec55edcc4ba957244 Mon Sep 17 00:00:00 2001 From: Juergen Hasch Date: Tue, 15 Nov 2022 17:51:15 +0100 Subject: [PATCH 3/3] Remove dependencies --- conda.recipe/meta.yaml | 1 - docs/requirements.txt | 1 - docs/source/conf.py | 2 -- src/jupyter_contrib_nbextensions/migrate.py | 1 - .../nbextensions/highlighter/demo_highlighter.ipynb | 7 ------- .../nbextensions/highlighter/export_highlights.ipynb | 7 ------- .../nbextensions/highlighter/tst_highlights.ipynb | 7 ------- tests/test_application.py | 1 - tox.ini | 1 - 9 files changed, 28 deletions(-) diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml index 601982dcb..c6f9c5d46 100644 --- a/conda.recipe/meta.yaml +++ b/conda.recipe/meta.yaml @@ -25,7 +25,6 @@ requirements: - jupyter_contrib_core >=0.3.3 - jupyter_core - jupyter_highlight_selected_word >=0.1.1 - - jupyter_latex_envs >=1.4.0 - jupyter_nbextensions_configurator >=0.4.0 - nbconvert >=4.2 - notebook >=6.0 diff --git a/docs/requirements.txt b/docs/requirements.txt index abfe53042..59e526801 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,5 @@ ipython jupyter_highlight_selected_word>=0.0.5 -jupyter_latex_envs>=1.3.4 jupyter_nbextensions_configurator>=0.2.8 readthedocs-sphinx-ext recommonmark>=0.4.0 diff --git a/docs/source/conf.py b/docs/source/conf.py index e253226b3..2df6ded36 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -58,8 +58,6 @@ 'nbextensions/exercise/history.md', # slidemode2 has no yaml, so this won't be linked to in autogenerated toc 'nbextensions/slidemode/slidemode2/README.md', - # latex_envs includes its readme twice, but we only use one copy - 'nbextensions/latex_envs/doc/README.md', ] # The master toctree document. diff --git a/src/jupyter_contrib_nbextensions/migrate.py b/src/jupyter_contrib_nbextensions/migrate.py index ffe28cade..50ad072d8 100644 --- a/src/jupyter_contrib_nbextensions/migrate.py +++ b/src/jupyter_contrib_nbextensions/migrate.py @@ -58,7 +58,6 @@ def _migrate_require_paths(logger=None): 'usability/hinterland/hinterland', 'usability/init_cell/main', 'usability/keyboard_shortcut_editor/main', - 'usability/latex_envs/latex_envs', 'usability/limit_output/main', 'usability/move_selected_cells/main', 'usability/navigation-hotkeys/main', diff --git a/src/jupyter_contrib_nbextensions/nbextensions/highlighter/demo_highlighter.ipynb b/src/jupyter_contrib_nbextensions/nbextensions/highlighter/demo_highlighter.ipynb index 248196699..de8810502 100644 --- a/src/jupyter_contrib_nbextensions/nbextensions/highlighter/demo_highlighter.ipynb +++ b/src/jupyter_contrib_nbextensions/nbextensions/highlighter/demo_highlighter.ipynb @@ -90,13 +90,6 @@ "pygments_lexer": "ipython3", "version": "3.4.3+" }, - "latex_envs": { - "bibliofile": "biblio.bib", - "cite_by": "apalike", - "current_citInitial": 1, - "eqLabelWithNumbers": true, - "eqNumInitial": 0 - } }, "nbformat": 4, "nbformat_minor": 0 diff --git a/src/jupyter_contrib_nbextensions/nbextensions/highlighter/export_highlights.ipynb b/src/jupyter_contrib_nbextensions/nbextensions/highlighter/export_highlights.ipynb index 4368b4677..05ee5a16e 100644 --- a/src/jupyter_contrib_nbextensions/nbextensions/highlighter/export_highlights.ipynb +++ b/src/jupyter_contrib_nbextensions/nbextensions/highlighter/export_highlights.ipynb @@ -188,13 +188,6 @@ "pygments_lexer": "ipython3", "version": "3.4.3+" }, - "latex_envs": { - "bibliofile": "biblio.bib", - "cite_by": "apalike", - "current_citInitial": 1, - "eqLabelWithNumbers": true, - "eqNumInitial": 0 - } }, "nbformat": 4, "nbformat_minor": 0 diff --git a/src/jupyter_contrib_nbextensions/nbextensions/highlighter/tst_highlights.ipynb b/src/jupyter_contrib_nbextensions/nbextensions/highlighter/tst_highlights.ipynb index 2f18bbc6e..923944134 100644 --- a/src/jupyter_contrib_nbextensions/nbextensions/highlighter/tst_highlights.ipynb +++ b/src/jupyter_contrib_nbextensions/nbextensions/highlighter/tst_highlights.ipynb @@ -47,13 +47,6 @@ "pygments_lexer": "ipython3", "version": "3.4.3+" }, - "latex_envs": { - "bibliofile": "biblio.bib", - "cite_by": "apalike", - "current_citInitial": 1, - "eqLabelWithNumbers": true, - "eqNumInitial": 0 - } }, "nbformat": 4, "nbformat_minor": 0 diff --git a/tests/test_application.py b/tests/test_application.py index 55a545c52..e1c39d978 100644 --- a/tests/test_application.py +++ b/tests/test_application.py @@ -104,7 +104,6 @@ def _check_install(self, dirs): expected_require_paths = [ p.replace('/', os.path.sep) + '.js' for p in [ 'highlight_selected_word/main', - 'latex_envs/latex_envs', ]] for req_part in expected_require_paths: if not any([ diff --git a/tox.ini b/tox.ini index 0902651ff..54eca722c 100644 --- a/tox.ini +++ b/tox.ini @@ -28,7 +28,6 @@ usedevelop = false deps = coverage>=4.2 jupyter_highlight_selected_word>=0.0.5 - jupyter_latex_envs>=1.4.0 mock nose notebook57: notebook==5.7