File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -593,6 +593,8 @@ 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
+ # upgrade jupyter-server to version > 2.x
597
+ pip install --force-reinstall --no-deps jupyter_server>=2.* && \
596
598
/tmp/clean-layer.sh
597
599
598
600
RUN pip install setuptools==59.8.0 && pip install -e git+https://github.com/SohierDane/BigQuery_Helper#egg=bq_helper
Original file line number Diff line number Diff line change
1
+ import os
2
+ import unittest
3
+
4
+
5
+ class TestJupyterServer (unittest .TestCase ):
6
+ def test_version (self ):
7
+ from packaging .version import parse as parse_version
8
+ from importlib .metadata import version as pckg_version
9
+
10
+ self .assertTrue (parse_version (pckg_version ("jupyter_server" )) >= parse_version ("2.0" ))
11
+
12
+ def test_terminals (self ):
13
+ import jupyter_server_terminals
14
+
15
+ self .assertTrue (hasattr (jupyter_server_terminals , "version_info" ))
You can’t perform that action at this time.
0 commit comments