Skip to content

Commit da3fe0c

Browse files
authored
Merge pull request #105944 from JasonWHowell/azure-notebooks
Removing environment.yml approach in custom setup
2 parents 8c90adc + 5b6d001 commit da3fe0c

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

articles/notebooks/configure-manage-azure-notebooks-projects.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Configure and manage Azure Notebooks Preview
33
description: Learn how to manage project metadata, project files, the project's environment and setup steps through both the Azure Notebooks UI and direct terminal access.
44
ms.topic: how-to
5-
ms.date: 05/13/2019
5+
ms.date: 02/28/2020
66
---
77

88
# <a id="manage-and-configure-projects" /> Manage and configure projects in Azure Notebooks Preview
@@ -127,6 +127,9 @@ The information you then project depends on the type of operation you chose:
127127

128128
- **Environment.yml**: In the second drop-down list, select an *environments.yml* file for Python projects using a conda environment.
129129

130+
> [!WARNING]
131+
> As this is a preview service under development, there is currently a known issue where the `Environment.yml` setting does not get applied to your project as expected. The project and the Jupyter notebooks within do not load the specified environment file at present.
132+
130133
When you're done adding steps, select **Save**.
131134

132135
### Use the terminal

articles/notebooks/quickstart-create-jupyter-notebook-project-environment.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,14 @@ A project in Azure Notebooks is a collection of files, such as notebooks, data f
4646

4747
1. The **+ Add** command creates a step that's defined by an operation and a target file that's selected from the files in your project. The following operations are supported:
4848

49-
| Operation | Description |
50-
| --- | --- |
51-
| Requirements.txt | Python projects define their dependencies in a requirements.txt file. With this option, select the appropriate file from the project's file list, and also select the Python version in the additional drop-down that appears. If necessary, select **Cancel** to return to the project, upload or create the file, then return to the **Project Settings** > **Environment** tab and create a new step. With this step in place, running a notebook in the project automatically runs `pip install -r <file>` |
52-
| Shell script | Use to indicate a bash shell script (typically a file with the *.sh* extension) that contains any commands you wish to run to initialize the environment. |
53-
| Environment.yml | A Python project that uses conda for managing an environment uses an *environments.yml* file to describe dependencies. With this option, select the appropriate file from the project's file list. |
49+
| Operation | Description |
50+
| --- | --- |
51+
| Requirements.txt | Python projects define their dependencies in a requirements.txt file. With this option, select the appropriate file from the project's file list, and also select the Python version in the additional drop-down that appears. If necessary, select **Cancel** to return to the project, upload or create the file, then return to the **Project Settings** > **Environment** tab and create a new step. With this step in place, running a notebook in the project automatically runs `pip install -r <file>` |
52+
| Shell script | Use to indicate a bash shell script (typically a file with the *.sh* extension) that contains any commands you wish to run to initialize the environment. |
53+
| Environment.yml | A Python project that uses conda for managing an environment uses an *environments.yml* file to describe dependencies. With this option, select the appropriate file from the project's file list. |
54+
55+
> [!WARNING]
56+
> As this is a preview service under development, there is currently a known issue where the `Environment.yml` setting does not get applied to your project as expected. The project and the Jupyter notebooks within do not load the specified environment file at present.
5457
5558
1. To remove any setup step, select the **X** to the right of the step.
5659

0 commit comments

Comments
 (0)