فهرست منبع

back to glob $(but inside expansion), replace -c anaconda with -c nodefaults

Nicholas Bollweg 4 سال پیش
والد
کامیت
acbba724d2
4فایلهای تغییر یافته به همراه8 افزوده شده و 8 حذف شده
  1. 1 1
      docs/source/extension/extension_tutorial.rst
  2. 3 3
      docs/source/getting_started/issue.rst
  3. 1 1
      scripts/release_prep.sh
  4. 3 3
      scripts/release_test.sh

+ 1 - 1
docs/source/extension/extension_tutorial.rst

@@ -63,7 +63,7 @@ new environment named ``jupyterlab-ext``.
 
 .. code:: bash
 
-    conda create -n jupyterlab-ext --override-channels --strict-channel-priority -c conda-forge -c anaconda jupyterlab=3 cookiecutter nodejs jupyter-packaging git
+    conda create -n jupyterlab-ext --override-channels --strict-channel-priority -c conda-forge -c nodefaults jupyterlab=3 cookiecutter nodejs jupyter-packaging git
 
 Now activate the new environment so that all further commands you run
 work out of that environment.

+ 3 - 3
docs/source/getting_started/issue.rst

@@ -10,16 +10,16 @@ Diagnosing an Issue
 
 If you find a problem in JupyterLab, please follow the steps below to diagnose and report the issue. Following these steps helps you diagnose if the problem is likely from JupyterLab or from a different project.
 
-1. Try to reproduce the issue in a new environment with the latest official JupyterLab installed and no extra packages. 
+1. Try to reproduce the issue in a new environment with the latest official JupyterLab installed and no extra packages.
 
    If you are using conda:
 
      1. create a new environment::
 
-         conda create -n jlab-test --override-channels --strict-channel-priority -c conda-forge -c anaconda jupyterlab
+         conda create -n jlab-test --override-channels --strict-channel-priority -c conda-forge -c nodefaults jupyterlab
 
      2. Activate the environment::
-       
+
          conda activate jlab-test
 
      3. Start JupyterLab::

+ 1 - 1
scripts/release_prep.sh

@@ -9,7 +9,7 @@ else
     WORK_DIR=$(mktemp -d -t ${JLAB_REL_ENV}XXXXX)
     cd $WORK_DIR
 
-    conda create --override-channels --strict-channel-priority -c conda-forge -c anaconda -y -n $JLAB_REL_ENV jupyter-packaging nodejs twine
+    conda create --override-channels --strict-channel-priority -c conda-forge -c nodefaults -y -n $JLAB_REL_ENV jupyter-packaging nodejs twine
     conda activate $JLAB_REL_ENV
 
     git clone git@github.com:jupyterlab/jupyterlab.git

+ 3 - 3
scripts/release_test.sh

@@ -10,10 +10,10 @@ set -ex
 JLAB_TEST_ENV="${CONDA_DEFAULT_ENV}_test"
 TEST_DIR=$(mktemp -d -t ${JLAB_TEST_ENV}XXXXX)
 
-conda create --override-channels --strict-channel-priority -c conda-forge -c anaconda -y -n "$JLAB_TEST_ENV" notebook nodejs twine
+conda create --override-channels --strict-channel-priority -c conda-forge -c nodefaults -y -n "$JLAB_TEST_ENV" nodejs
 conda activate "$JLAB_TEST_ENV"
 
-python -m pip install --find-links=dist --no-index jupyterlab
+python -m pip install $(ls dist/*.whl)
 
 cp examples/notebooks/*.ipynb $TEST_DIR/
 
@@ -28,7 +28,7 @@ popd
 
 pushd $TEST_DIR
 
-conda install --override-channels --strict-channel-priority -c conda-forge -c anaconda -y ipywidgets altair matplotlib vega_datasets jupyterlab_widgets
+conda install --override-channels --strict-channel-priority -c conda-forge -c nodefaults -y ipywidgets altair matplotlib vega_datasets jupyterlab_widgets
 
 jupyter lab build
 python -m jupyterlab.browser_check