git.iko.soy/typeable/nixpkgs
on master help sign in
Fix boto3 for python3.
commit88ae75017edcad44eaabb3132defefd9efd802d8 authorTom Hunger <tehunger@gmail.com> dateMon 1 Feb 2016, 00:07 (11 years ago) parent1e5cad9
1 file changed+9−4
pkgs/top-level/python-packages.nix+9−4
pkgs/top-level/python-packages.nix+9−4
@@ -2282,10 +2282,15 @@ in modules // {
22822282 };
22832283
22842284 propagatedBuildInputs = [ self.botocore
2285− self.futures_2_2
22862285 self.jmespath
2287− ];
2288− buildInputs = [ self.docutils ];
2286+ ] ++ (if isPy3k then [] else [self.futures_2_2]);
2287+ buildInputs = [ self.docutils self.nose self.mock ];
2288+
2289+ # Tests are failing with `botocore.exceptions.NoCredentialsError:
2290+ # Unable to locate credentials`. There also seems to be some mock
2291+ # issues (`assert_called_once` doesn't exist in mock but boto
2292+ # seems to think it is?).
2293+ doCheck = false;
22892294
22902295 meta = {
22912296 homepage = https://github.com/boto3/boto;
@@ -12520,7 +12525,7 @@ in modules // {
1252012525 # Disable failing test_f2py test.
1252112526 # f2py couldn't be found by test,
1252212527 # even though it was used successfully to build numpy
12523−
12528+
1252412529 # The large file support test is disabled because it takes forever
1252512530 # and can cause the machine to run out of disk space when run.
1252612531 prePatch = ''