From 887d3be3a4c0a0f71152c26b94e1d698f5abb963 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 20 Sep 2023 09:20:40 +0200 Subject: [PATCH 1/2] python311Packages.azure-data-tables: 12.4.3 -> 12.4.4 Changelog: https://github.com/Azure/azure-sdk-for-python/blob/azure-data-tables_12.4.4/sdk/tables/azure-data-tables/CHANGELOG.md --- .../azure-data-tables/default.nix | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/azure-data-tables/default.nix b/pkgs/development/python-modules/azure-data-tables/default.nix index b09102eaf0f0..783a792513be 100644 --- a/pkgs/development/python-modules/azure-data-tables/default.nix +++ b/pkgs/development/python-modules/azure-data-tables/default.nix @@ -1,33 +1,43 @@ { lib +, azure-core , buildPythonPackage , fetchPypi -, azure-core -, msrest +, isodate +, pythonOlder +, typing-extensions +, yarl }: buildPythonPackage rec { pname = "azure-data-tables"; - version = "12.4.3"; + version = "12.4.4"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - extension = "zip"; - hash = "sha256-qLA0vNRyIu36xKwB55BD/TCTOv+nmyOtk3+Y4P+SalI="; + hash = "sha256-HWjIQBWYmU43pSxKLcwx45EExn10jeEkyY9Hpbyn0vw="; }; propagatedBuildInputs = [ azure-core - msrest + isodate + typing-extensions + yarl ]; - # has no tests + # Module has no tests doCheck = false; - pythonImportsCheck = [ "azure.data.tables" ]; + pythonImportsCheck = [ + "azure.data.tables" + ]; meta = with lib; { description = "NoSQL data storage service that can be accessed from anywhere"; homepage = "https://github.com/Azure/azure-sdk-for-python"; + changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-data-tables_${version}/sdk/tables/azure-data-tables/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ jonringer ]; }; From a8a2ef96f9d08e46cda1d470f76993f9529a804d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 20 Sep 2023 09:25:55 +0200 Subject: [PATCH 2/2] azure-cli: adjust azure-data-tables override --- pkgs/tools/admin/azure-cli/python-packages.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/azure-cli/python-packages.nix b/pkgs/tools/admin/azure-cli/python-packages.nix index fbedd46048f0..698f2eddc4b6 100644 --- a/pkgs/tools/admin/azure-cli/python-packages.nix +++ b/pkgs/tools/admin/azure-cli/python-packages.nix @@ -115,8 +115,10 @@ let azure-batch = overrideAzureMgmtPackage super.azure-batch "14.0.0" "zip" "sha256-FlsembhvghAkxProX7NIadQHqg67DKS5b7JthZwmyTQ="; - azure-data-tables = overrideAzureMgmtPackage super.azure-data-tables "12.4.0" "zip" - "sha256-3V/I3pHi+JCO+kxkyn9jz4OzBoqbpCYpjeO1QTnpZlw="; + azure-data-tables = (overrideAzureMgmtPackage super.azure-data-tables "12.4.0" "zip" + "sha256-3V/I3pHi+JCO+kxkyn9jz4OzBoqbpCYpjeO1QTnpZlw=").overridePythonAttrs (attrs: { + propagatedBuildInputs = attrs.propagatedBuildInputs or [ ] ++ [ self.msrest ]; + }); azure-mgmt-apimanagement = overrideAzureMgmtPackage super.azure-mgmt-apimanagement "4.0.0" "zip" "sha256-AiTjLJ28g80xnrRFLfPUevJgeaxLpuGmvkd3+FskNiw=";