Skip to content

Commit

Permalink
Merge pull request #102507 from jonringer/update-azure
Browse files Browse the repository at this point in the history
python3Packages.azure*: update
  • Loading branch information
Jonathan Ringer committed Nov 3, 2020
2 parents b1f28db + a944acc commit 7dcd415
Show file tree
Hide file tree
Showing 20 changed files with 102 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

buildPythonPackage rec {
pname = "azure-appconfiguration";
version = "1.1.0";
version = "1.1.1";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0mv053vl88nzpv701gnjdmbylc8qm0kkq87264rfhvrx3ydymf97";
sha256 = "b83cd2cb63d93225de84e27abbfc059212f8de27766f4c58dd3abb839dff0be4";
};

propagatedBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/azure-core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
}:

buildPythonPackage rec {
version = "1.8.1";
version = "1.8.2";
pname = "azure-core";
disabled = isPy27;

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "7efbeac3a6dfb634cb5323bc04e18ab609aeab6b03610808091aa0517373d626";
sha256 = "621b53271f7988b766f8a7d7f7a2c44241e3d2c1d8db13e68089d6da6241748e";
};

propagatedBuildInputs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

buildPythonPackage rec {
pname = "azure-datalake-store";
version = "0.0.50";
version = "0.0.51";

src = fetchPypi {
inherit pname version;
sha256 = "9b9b58dcf1d0d0e5aa499d5cb49dcf8f5432ca467a747b39167bb70ef901dbc2";
sha256 = "b871ebb3bcfd292e8a062dbbaacbc132793d98f1b60f549a8c3b672619603fc1";
};

propagatedBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/azure-identity/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

buildPythonPackage rec {
pname = "azure-identity";
version = "1.4.0";
version = "1.4.1";
disabled = isPy38;

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "820e1f3e21f90d36063239c6cb7ca9a6bb644cb120a6b1ead3081cafdf6ceaf8";
sha256 = "7b071089faf0789059ac24052e311e2b096a002c173d42b96896db09c6e2ba5d";
};

propagatedBuildInputs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

buildPythonPackage rec {
pname = "azure-mgmt-billing";
version = "0.2.0"; #pypi's 0.2.0 doesn't build ootb
version = "1.0.0"; #pypi's 0.2.0 doesn't build ootb

src = fetchPypi {
inherit pname version;
sha256 = "1li2bcdwdapwwx7xbvgfsq51f2mrwm0qyzih8cjhszcah2rkpxw5";
sha256 = "8b55064546c8e94839d9f8c98e9ea4b021004b3804e192bf39fa65b603536ad0";
extension = "zip";
};

Expand All @@ -25,7 +25,7 @@ buildPythonPackage rec {
];

preBuild = ''
rm azure_bdist_wheel.py
rm -rf azure_bdist_wheel.py
substituteInPlace setup.cfg \
--replace "azure-namespace-package = azure-mgmt-nspkg" ""
'';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

buildPythonPackage rec {
pname = "azure-mgmt-cognitiveservices";
version = "6.2.0";
version = "6.3.0";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "93503507ba87c18fe24cd3dfcd54e6e69a4daf7636f38b7537e09cee9a4c13ce";
sha256 = "1d029d5140152a36cc32f340e09f2b185ede2f54e577a44f3821878efb823415";
};

propagatedBuildInputs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

buildPythonPackage rec {
pname = "azure-mgmt-containerservice";
version = "9.4.0";
version = "10.0.0";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "d90684106c70779450b82067be4d3e449c799ca1f47d941e45f6d2b5c016dac9";
sha256 = "9b44b2d0b281fc1999324a715fb5cf4f47d392a35bc0a01f24bb8dbc4c123acd";
};

propagatedBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/azure-mgmt-core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
}:

buildPythonPackage rec {
version = "1.2.0";
version = "1.2.1";
pname = "azure-mgmt-core";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "8fe3b59446438f27e34f7b24ea692a982034d9e734617ca1320eedeee1939998";
sha256 = "a3906fa77edfedfcc3229dc3b69489d5ed63b107c7eacbc50092e6cbfbfd83f0";
};

propagatedBuildInputs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

buildPythonPackage rec {
pname = "azure-mgmt-datafactory";
version = "0.13.0";
version = "0.14.0";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "3eabe34f49587840617747511a0aa25d08b0c1619677a1fdda24ce9e6b0f2c74";
sha256 = "47bb23fa6cc28f3f15dd7a404b7f9d7af469adf78f79a11eb01ff75ca10a75ba";
};

propagatedBuildInputs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:

buildPythonPackage rec {
version = "1.7.0";
version = "2.0.0";
pname = "azure-mgmt-hdinsight";
disabled = isPy27;

src = fetchPypi {
inherit pname version;
sha256 = "9d1120bd9760687d87594ec5ce9257b7335504afbe55b3cda79462c1e07a095b";
sha256 = "fd47029f2423e45ec4d311f651dc972043b98e960f186f5c6508c6fdf6eb2fe8";
extension = "zip";
};

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/azure-mgmt-media/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

buildPythonPackage rec {
pname = "azure-mgmt-media";
version = "2.2.0";
version = "3.0.0";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0adeee9e654a9011f5107def06fea6838864a3514a1e5a9ed495f3a56a687cc7";
sha256 = "8944775725c5253614d257576d841ee68afa34f570b05c0924a7f73f1db28a24";
};

propagatedBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/azure-mgmt-search/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

buildPythonPackage rec {
pname = "azure-mgmt-search";
version = "2.1.0";
version = "3.0.0";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0085c7qi9z1ayxd8683ck79nfnldkrwl481hzav84flyg8d0m94j";
sha256 = "d4c78b14b48edd2e27e2068c9a448acfc84a18595be77fe483afe7bb447e1eb6";
};

propagatedBuildInputs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:

buildPythonPackage rec {
version = "0.4.1";
version = "0.5.0";
pname = "azure-mgmt-security";
disabled = isPy27;

src = fetchPypi {
inherit pname version;
sha256 = "08gf401d40bd1kn9wmpxcjxqdh84cd9hxm8rdjd0918483sqs71r";
sha256 = "c0d232cdb5ad74f4590db2e44df74c0872fcb9fded7f03c7b57188a63b54ecfa";
extension = "zip";
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

buildPythonPackage rec {
pname = "azure-mgmt-servicebus";
version = "0.6.0";
version = "1.0.0";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "f20920b8fb119ef4abeda4d2dac765a4fc48cd0bcf30c27f8c4cc6d890bc08b1";
sha256 = "bb37d97eb3798740a0bc1bfa37b04946a193a6d1a3b0849fdc5e1dc2a9f25d81";
};

propagatedBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/azure-mgmt-sql/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

buildPythonPackage rec {
pname = "azure-mgmt-sql";
version = "0.22.0";
version = "0.23.0";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "01c82a1559f49e5f51021b8fbd35e738e08cbede1f39cf00da8085c853575f39";
sha256 = "acf7d4c83fb43152a809e3894528e561e601be543250c2824cc615cc88a70855";
};

propagatedBuildInputs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

buildPythonPackage rec {
pname = "azure-servicefabric";
version = "7.1.0.45";
version = "7.2.0.46";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "8dd0eb419ca62f2436c31982f6d236868f15f65bb062c4e5a98e50b16298dcda";
sha256 = "c15fd5e8fe33a12295435f16e007edcfd8f660547795742f9b74ef8fb3a431ba";
};

propagatedBuildInputs = [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ lib, buildPythonPackage, fetchPypi
, azure-common
, azure-core
, msrest
}:

buildPythonPackage rec {
pname = "azure-synapse-artifacts";
version = "0.3.0";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0p43zmw96fh3wp75phf3fcqdfb36adqvxfc945yfda6fi555nw1a";
};

propagatedBuildInputs = [
azure-common
azure-core
msrest
];

pythonImportsCheck = [ "azure.synapse.artifacts" ];

meta = with lib; {
description = "CHANGE";
homepage = "https://github.com/CHANGE/azure-synapse-artifacts/";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}
9 changes: 4 additions & 5 deletions pkgs/tools/admin/azure-cli/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, lib, python, fetchFromGitHub, installShellFiles }:

let
version = "2.12.1";
version = "2.14.0";
src = fetchFromGitHub {
owner = "Azure";
repo = "azure-cli";
rev = "azure-cli-${version}";
sha256 = "14m2zjgaszrki34kva23vdsl0nxxifz8r9i54ld3idi8hj3nx0q3";
sha256 = "0rihxkdckfkqzrr3jc8jpdpjg3pgz5jymyz19lpva8qqln7cmzpy";
};

# put packages that needs to be overriden in the py package scope
Expand Down Expand Up @@ -113,6 +113,7 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
azure-multiapi-storage
azure-storage-blob
azure-synapse-accesscontrol
azure-synapse-artifacts
azure-synapse-spark
colorama
cryptography
Expand Down Expand Up @@ -164,9 +165,7 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
# almost the entire test suite requires an azure account setup and networking
# ensure that the azure namespaces are setup correctly and that azure.cli can be accessed
checkPhase = ''
cd azure # avoid finding local copy
${py.interpreter} -c 'import azure.cli.core; assert "${version}" == azure.cli.core.__version__'
HOME=$TMPDIR ${py.interpreter} -m azure.cli --help
HOME=$TMPDIR $out/bin/az --help > /dev/null
'';

# ensure these namespaces are able to be accessed
Expand Down

0 comments on commit 7dcd415

Please sign in to comment.