diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d1806b..3a92c80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: - name: Install Python uses: actions/setup-python@v2 with: - python-version: '3.7' + python-version: '3.9' architecture: 'x64' - name: Install dependencies run: python -m pip install jupyterlab~=3.0 @@ -28,6 +28,7 @@ jobs: jlpm jlpm run eslint:check python -m pip install . + jupyter labextension disable @jupyterlab/launcher-extension jupyter labextension list 2>&1 | grep -ie "@jlab-enhanced/launcher.*OK" python -m jupyterlab.browser_check diff --git a/README.md b/README.md index c36f0ef..b26dc31 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ jupyter labextension disable @jupyterlab/launcher-extension or ```bash -conda install jlab-enhanced-launcher +conda install -c conda-forge jlab-enhanced-launcher jupyter labextension disable @jupyterlab/launcher-extension ``` @@ -36,7 +36,7 @@ jupyter labextension enable @jupyterlab/launcher-extension or ```bash -conda remove jlab-enhanced-launcher +conda remove -c conda-forge jlab-enhanced-launcher jupyter labextension enable @jupyterlab/launcher-extension ``` diff --git a/binder/environment.yml b/binder/environment.yml index 08561dc..b4a05ca 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -17,6 +17,8 @@ dependencies: - nodejs >=14,<15 - pip - wheel + # Dependencies + - packaging # Fix binder - parso >=0.8.0,<0.9.0 - jupyter_telemetry >=0.1.0 diff --git a/jlab_enhanced_launcher/__init__.py b/jlab_enhanced_launcher/__init__.py index 3a12220..cc1508a 100644 --- a/jlab_enhanced_launcher/__init__.py +++ b/jlab_enhanced_launcher/__init__.py @@ -4,7 +4,7 @@ from ._version import __version__ -HERE = pathlib.Path(__file__).parent.absolute() +HERE = pathlib.Path(__file__).parent.resolve() with (HERE / 'labextension' / 'package.json').open() as fid: data = json.load(fid) diff --git a/jlab_enhanced_launcher/_version.py b/jlab_enhanced_launcher/_version.py index a7346ec..18b6e68 100644 --- a/jlab_enhanced_launcher/_version.py +++ b/jlab_enhanced_launcher/_version.py @@ -5,7 +5,7 @@ def _fetchVersion(): import pathlib from packaging.version import parse - HERE = pathlib.Path(__file__).parent.absolute() + HERE = pathlib.Path(__file__).parent.resolve() for d in HERE.rglob('package.json'): try: diff --git a/package.json b/package.json index efa6804..ff7997e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jlab-enhanced/launcher", - "version": "3.0.0", + "version": "3.0.1", "description": "A enhanced launcher for JupyterLab", "keywords": [ "jupyter",