Skip to content

Commit

Permalink
Debian Build: Remove the cryptography workaround (#5019)
Browse files Browse the repository at this point in the history
* Install latest crypto

* Remove the workaround as it works in WSL now and we had to update cryptography
  • Loading branch information
derekbekoe authored Dec 1, 2017
1 parent c360569 commit 0de4f83
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions build_scripts/debian/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ done;
all_modules=`find $tmp_pkg_dir -name "*.whl"`
$source_dir/python_env/bin/pip3 install $all_modules
$source_dir/python_env/bin/pip3 install --force-reinstall --upgrade azure-nspkg azure-mgmt-nspkg
# WORKAROUND: Newer versions of cryptography do not work on Bash on Windows / WSL - see https://github.com/Azure/azure-cli/issues/4154
# If you *have* to use a newer version of cryptography in the future, verify that it works on WSL also.
$source_dir/python_env/bin/pip3 install cryptography==2.0
# Add the debian files
mkdir $source_dir/debian
# Create temp dir for the debian/ directory used for CLI build.
Expand Down

0 comments on commit 0de4f83

Please sign in to comment.