Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
pythonPackages.azure-mgmt-storage: remove patch.
Browse files Browse the repository at this point in the history
as suggested in the comment.
  • Loading branch information
AmineChikhaoui authored and FRidh committed Apr 11, 2019
1 parent 6b2bd33 commit 02bb5e3
Showing 1 changed file with 0 additions and 6 deletions.
Expand Up @@ -15,12 +15,6 @@ buildPythonPackage rec {
sha256 = "22a779cae5e09712b7d62ef9bc3d8907a5666893a8a113b6d9348e933170236f";
};

preConfigure = ''
# Patch to make this package work on requests >= 2.11.x
# CAN BE REMOVED ON NEXT PACKAGE UPDATE
sed -i 's|len(request_content)|str(len(request_content))|' azure/mgmt/storage/storagemanagement.py
'';

postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
Expand Down

0 comments on commit 02bb5e3

Please sign in to comment.