aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/azure-core/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/azure-core/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/azure-core/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/azure-core/default.nix b/nixpkgs/pkgs/development/python-modules/azure-core/default.nix
index dc31669f718..35640989b2f 100644
--- a/nixpkgs/pkgs/development/python-modules/azure-core/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/azure-core/default.nix
@@ -4,6 +4,8 @@
, mock
, msrest
, pytest
+, pytest-asyncio
+, pytest-trio
, pytestCheckHook
, requests
, six
@@ -12,14 +14,14 @@
}:
buildPythonPackage rec {
- version = "1.5.0";
+ version = "1.8.0";
pname = "azure-core";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
- sha256 = "181iyigm11y56lf1kwv7pcdyppavpwjb1b6k3qp3jnbqaypad9mg";
+ sha256 = "c89bbdcdc13ad45fe57d775ed87b15baf6d0b039a1ecd0a1bc91d2f713cb1f08";
};
propagatedBuildInputs = [
@@ -33,13 +35,16 @@ buildPythonPackage rec {
mock
msrest
pytest
+ pytest-trio
+ pytest-asyncio
pytestCheckHook
trio
typing-extensions
];
pytestFlagsArray = [ "tests/" ];
- disabledTests = [ "response" "request" "timeout" ];
+ # disable tests which touch network
+ disabledTests = [ "aiohttp" "multipart_send" "response" "request" "timeout" ];
meta = with lib; {
description = "Microsoft Azure Core Library for Python";