Skip to content

Commit

Permalink
deps: enforce upper limit jupyter_client and pyzmq
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepVanlier committed Aug 7, 2023
1 parent 64fe16e commit 39b3a94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
21 changes: 3 additions & 18 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@ The easiest way to install Python and SciPy is with `Anaconda`_, a free scientif

.. code-block::
conda install lumicks.pylake "jupyter_client<8"
.. note::

There is currently an `open issue <https://github.com/jupyter/notebook/issues/6748>`_ with Jupyter that results in communication problems between Jupyter notebooks and the Jupyter kernel.
As a workaround, we temporarily suggest adding the constraint `jupyter_client<8` to install an older version of this kernel.
conda install lumicks.pylake
#. It should be possible to open a jupyter notebook in this environment by calling::

Expand Down Expand Up @@ -103,12 +98,7 @@ This concludes the Pylake installation procedure. Check out the :doc:`Tutorial <

.. code-block::
conda install lumicks.pylake "jupyter_client<8"
.. note::

There is currently an `open issue <https://github.com/jupyter/notebook/issues/6748>`_ with Jupyter that results in communication problems between Jupyter notebooks and the Jupyter kernel.
As a workaround, we temporarily suggest adding the constraint `jupyter_client<8` to install an older version of this kernel.
conda install lumicks.pylake
#. You can open a Jupyter notebook in this environment by calling `jupyter notebook` from the terminal.

Expand Down Expand Up @@ -142,12 +132,7 @@ This concludes the Pylake installation procedure. Check out the :doc:`Tutorial <

.. code-block::
conda install lumicks.pylake "jupyter_client<8"
.. note::

There is currently an `open issue <https://github.com/jupyter/notebook/issues/6748>`_ with Jupyter that results in communication problems between Jupyter notebooks and the Jupyter kernel.
As a workaround, we temporarily suggest adding the constraint `jupyter_client<8` to install an older version of this kernel.
conda install lumicks.pylake
#. You can open a jupyter notebook in this environment by calling::

Expand Down
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,12 @@ def read(filename):
"tqdm>=4.27.0", # 4.27.0 introduced tqdm.auto which auto-selects notebook or console
],
extras_require={
"notebook": ["notebook>=4.4.1", "ipywidgets>=7.0.0"],
"notebook": [
"notebook>=4.4.1",
"ipywidgets>=7.0.0",
"jupyter_client<8", # https://github.com/jupyter/notebook/issues/6748
"pyzmq<25", # https://github.com/jupyter/notebook/issues/6748
],
},
zip_safe=False,
)

0 comments on commit 39b3a94

Please sign in to comment.