Skip to content

Commit

Permalink
Removing pip install step for itsdangerous and markupsafe (#61)
Browse files Browse the repository at this point in the history
It seems raiwidgets 0.18.0 already pins these two dependencies correctly.
  • Loading branch information
gaugup committed May 2, 2022
1 parent 8296b47 commit f4ae57e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
5 changes: 1 addition & 4 deletions Quick-Setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ Write-Host "=-= Creating conda environment '$EnvName' with python v3.8"
conda create -y -n $EnvName python=3.8
conda activate $EnvName

Write-Host "=-= Installing Jupyter"
pip install jupyter "markupsafe<=2.0.1" "itsdangerous==2.0.1"

Write-Host "=-= Installing responsibleai"
pip install responsibleai~=0.18.0 raiwidgets~=0.18.0 pyarrow

Expand All @@ -57,4 +54,4 @@ Write-Host "=-= Setting default subscription"
az account set -s $SubId

Write-Host "=-= Setting default resource group and workspace"
az configure --defaults group=$ResourceGroup workspace=$Workspace
az configure --defaults group=$ResourceGroup workspace=$Workspace
1 change: 0 additions & 1 deletion docs/Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ cd RAI-vNext-Preview
```
8. Run the following pip installs
``` powershell
pip install jupyter markupsafe<=2.0.1 itsdangerous==2.0.1
pip install responsibleai~=0.18.0 raiwidgets~=0.18.0 pyarrow
```
``` powershell
Expand Down
4 changes: 0 additions & 4 deletions src/responsibleai/conda_envs/python-aml-rai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,5 @@ dependencies:
- azureml-mlflow
- responsibleai~=0.18.0
- raiwidgets~=0.18.0
# Limit markupsafe version is a workaround to resolve the issue from markupsafe's breaking change: https://github.com/aws/aws-sam-cli/issues/3661
- markupsafe<=2.0.1
# Workaround to fix import failure related to itsdangerous's latest release: https://stackoverflow.com/questions/71189819/python-docker-importerror-cannot-import-name-json-from-itsdangerous
- itsdangerous==2.0.1
- azureml-dataset-runtime
- azureml-core

0 comments on commit f4ae57e

Please sign in to comment.