diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index ed1c8b9..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,36 +0,0 @@ -# Do not build feature branch with open Pull Requests -skip_branch_with_pr: true - -# environment variables -environment: - matrix: - - PYTHON: "C:\\Miniconda35-x64" - PYTHON_VERSION: "3.5.x" - PYTHON_MAJOR: 3 - PYTHON_ARCH: "64" - -# scripts that run after cloning repository -install: - # If there is a newer build queued for the same PR, cancel this one. - # The AppVeyor 'rollout builds' option is supposed to serve the same - # purpose but it is problematic because it tends to cancel builds pushed - # directly to master instead of just PR builds (or the converse). - # credits: JuliaLang developers. - - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` - https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | ` - Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` - throw "There are newer queued builds for this pull request, failing early." } - - - set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH% - - conda config --set always_yes yes --set changeps1 no - - conda install pip - - pip install invoke - - conda install pyyaml - -build: off - -test_script: - - 'invoke environment' - - 'invoke demofiles' - - 'invoke talk -t demo' - - 'invoke clean' diff --git a/binder/environment.yml b/binder/environment.yml index dcd1b54..0ab70e1 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -2,16 +2,16 @@ channels: - conda-forge dependencies: # Jupyter -- jupyterlab=1.0 +- jupyterlab=2 - nodejs=11 - nbconvert=5.5 - widgetsnbextension=3.5 # Python Kernel - ipykernel=5.1 - ipywidgets=7.5 -- ipyleaflet=0.11.1 +- ipyleaflet=0.12 - altair=3.1 -- bqplot=0.11.6 +- bqplot=0.12 - dask=2.1 - matplotlib=3.1 - pandas=0.24 diff --git a/tasks.py b/tasks.py index 0aae9cc..919fa61 100644 --- a/tasks.py +++ b/tasks.py @@ -48,12 +48,12 @@ def build(ctx, env_name=env_name, kernel=True): ''' ctx.run(""" {0!s} activate {1!s} && - jupyter labextension install @jupyterlab/fasta-extension@1.0 --no-build && - jupyter labextension install @jupyterlab/geojson-extension@1.0 --no-build && - jupyter labextension install @jupyterlab/plotly-extension@1.0 --no-build && - jupyter labextension install @jupyter-widgets/jupyterlab-manager@1.0 --no-build && - jupyter labextension install bqplot@0.4.6 --no-build && - jupyter labextension install jupyter-leaflet@0.11 --no-build && + jupyter labextension install @jupyterlab/fasta-extension@2.0 --no-build && + jupyter labextension install @jupyterlab/geojson-extension@2.0 --no-build && + jupyter labextension install jupyterlab-plotly@4.6 --no-build && + jupyter labextension install @jupyter-widgets/jupyterlab-manager@2.0 --no-build && + jupyter labextension install bqplot@0.5.6 --no-build && + jupyter labextension install jupyter-leaflet@0.12 --no-build && jupyter lab clean && jupyter lab build --dev-build=False """.format(source, env_name).strip().replace('\n', '')) if kernel: