about summary refs log tree commit diff
path: root/pkgs/development/python-modules/boto
diff options
context:
space:
mode:
authorAlexander Ben Nasrallah <me@abn.sh>2022-03-14 05:57:18 +0100
committerAlexander Ben Nasrallah <me@abn.sh>2022-03-14 06:21:59 +0100
commit1f3771382a1f7c8ee2006eae3e438175f90ef94c (patch)
tree9b8c57cd08394188fbae3684cd1690ebe1dbf622 /pkgs/development/python-modules/boto
parentb11029f2406422188e0dea35c494a851ab9d302b (diff)
pythonPackages.boto: Enable Python 3.9
boto actually seem to work woth Python 3.9
Diffstat (limited to 'pkgs/development/python-modules/boto')
-rw-r--r--pkgs/development/python-modules/boto/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/boto/default.nix b/pkgs/development/python-modules/boto/default.nix
index 5199ca6450913..2727cb29d8b4a 100644
--- a/pkgs/development/python-modules/boto/default.nix
+++ b/pkgs/development/python-modules/boto/default.nix
@@ -3,6 +3,7 @@
 , fetchPypi
 , pythonAtLeast
 , isPy38
+, isPy39
 , python
 , nose
 , mock
@@ -13,7 +14,7 @@
 buildPythonPackage rec {
   pname = "boto";
   version = "2.49.0";
-  disabled = pythonAtLeast "3.9"; # no longer compatible with hmac std lib package
+  disabled = pythonAtLeast "3.10"; # cannot import name 'Mapping' from 'collections'
 
   src = fetchPypi {
     inherit pname version;
@@ -24,7 +25,7 @@ buildPythonPackage rec {
     ${python.interpreter} tests/test.py default
   '';
 
-  doCheck = !isPy38; # hmac functionality has changed
+  doCheck = !isPy38 && !isPy39; # hmac functionality has changed
   checkInputs = [ nose mock ];
   propagatedBuildInputs = [ requests httpretty ];