git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #12744 from teh/p3boto

Fix boto3 build for Python 3 and 2.

commit9dbe54afaf4e6f279f7738022409bdd25cc81762 authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateMon 1 Feb 2016, 20:02 (11 years ago) parentd43c08088ae750
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 = ''