File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -593,7 +593,9 @@ RUN pip install --upgrade dask && \
593
593
mkdir -p /etc/ipython/ && echo "c = get_config(); c.IPKernelApp.matplotlib = 'inline'" > /etc/ipython/ipython_config.py && \
594
594
# Temporary patch for broken libpixman 0.38 in conda-forge, symlink to system libpixman 0.34 untile conda package gets updated to 0.38.5 or higher.
595
595
ln -sf /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.34.0 /opt/conda/lib/libpixman-1.so.0.38.0 && \
596
- /tmp/clean-layer.sh
596
+ /tmp/clean-layer.sh && \
597
+ # upgrade jupyter-server to version > 2.x
598
+ pip install --force-reinstall --no-deps jupyter_server>=2.*
597
599
598
600
RUN pip install setuptools==59.8.0 && pip install -e git+https://github.com/SohierDane/BigQuery_Helper#egg=bq_helper
599
601
Original file line number Diff line number Diff line change
1
+ import os
2
+ import unittest
3
+
4
+
5
+ class TestJupyterServer (unittest .TestCase ):
6
+
7
+
8
+ def test_version (self ):
9
+ from packaging .version import parse as parse_version
10
+ from importlib .metadata import version as pckg_version
11
+ self .assertTrue (parse_version (pckg_version ('jupyter_server' )) >= parse_version ('2.0' ))
12
+
13
+ def test_terminals (self ):
14
+ import jupyter_server_terminals
15
+
16
+
You can’t perform that action at this time.
0 commit comments