about summary refs log tree commit diff
path: root/pkgs/development/python-modules/botocore/default.nix
diff options
context:
space:
mode:
authorAnthony Roussel <anthony@roussel.dev>2022-12-09 23:39:14 +0100
committerAnthony Roussel <anthony@roussel.dev>2022-12-28 17:58:33 +0100
commit9a0aed0dc19b8fc31dd00183216c2fc29830c013 (patch)
tree7220e8aa30a445fc1085471860b246f55d0bf65c /pkgs/development/python-modules/botocore/default.nix
parent781c993a8ae7a813e88e1ff5a510d9fd2716d8ff (diff)
python310Packages.botocore: 1.27.75 -> 1.29.38
Diffstat (limited to 'pkgs/development/python-modules/botocore/default.nix')
-rw-r--r--pkgs/development/python-modules/botocore/default.nix34
1 files changed, 21 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/botocore/default.nix b/pkgs/development/python-modules/botocore/default.nix
index c6905d2de667e..1d101b368f93d 100644
--- a/pkgs/development/python-modules/botocore/default.nix
+++ b/pkgs/development/python-modules/botocore/default.nix
@@ -4,43 +4,51 @@
 , python-dateutil
 , jmespath
 , docutils
-, simplejson
-, mock
-, nose
 , urllib3
+, pytestCheckHook
+, jsonschema
 }:
 
 buildPythonPackage rec {
   pname = "botocore";
-  version = "1.27.75"; # N.B: if you change this, change boto3 and awscli to a matching version
+  version = "1.29.38"; # N.B: if you change this, change boto3 and awscli to a matching version
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "sha256-+LHaK0HojFjbUdsMbv9spWQliUjOSlrH6WrDWkabDU8=";
+    hash = "sha256-K5jH2oZozcAitNila1BoZFTQoQwRUYcC/eQYgdIGGLY=";
   };
 
   propagatedBuildInputs = [
     python-dateutil
     jmespath
     docutils
-    simplejson
     urllib3
   ];
 
-  checkInputs = [ mock nose ];
+  checkInputs = [
+    pytestCheckHook
+    jsonschema
+  ];
+
+  doCheck = true;
 
-  checkPhase = ''
-    nosetests -v
-  '';
+  disabledTestPaths = [
+    # Integration tests require networking
+    "tests/integration"
 
-  # Network access
-  doCheck = false;
+    # Disable slow tests (only run unit tests)
+    "tests/functional"
+  ];
 
-  pythonImportsCheck = [ "botocore" ];
+  pythonImportsCheck = [
+    "botocore"
+  ];
 
   meta = with lib; {
     homepage = "https://github.com/boto/botocore";
+    changelog = "https://github.com/boto/botocore/blob/${version}/CHANGELOG.rst";
     license = licenses.asl20;
     description = "A low-level interface to a growing number of Amazon Web Services";
+    maintainers = with maintainers; [ anthonyroussel ];
   };
 }