whisper: upgrade to the same version as the other graphite components

Without this we get the following Python exception when trying to fetch
a graph in the graphite web app:

    File "/nix/store/nj62jqk2xmp5c3h93pfnlqn66qj1kkvs-python-2.7.12-env/lib/python2.7/site-packages/opt/graphite/webapp/graphite/storage.py", line 335, in fetch
      return whisper.fetch(self.fs_path, startTime, endTime, now)
  TypeError: fetch() takes at most 3 arguments (4 given)

Fixes #21032.
This commit is contained in:
Bas van Dijk 2016-12-10 01:00:29 +01:00 committed by Franz Pletz
parent 6fc5f8d4f3
commit b4005bbac0
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -35,6 +35,8 @@ let
buildPythonApplication = args: buildPythonPackage ({namePrefix="";} // args );
graphiteVersion = "0.9.15";
in {
inherit python bootstrapped-pip pythonAtLeast pythonOlder isPy26 isPy27 isPy33 isPy34 isPy35 isPy36 isPyPy isPy3k mkPythonDerivation buildPythonPackage buildPythonApplication;
@ -27764,11 +27766,11 @@ in {
whisper = buildPythonPackage rec {
name = "whisper-${version}";
version = "0.9.12";
version = graphiteVersion;
src = pkgs.fetchurl {
url = "mirror://pypi/w/whisper/${name}.tar.gz";
sha256 = "0eca66449d6ceb29e2ab5457b01618e0fe525710dd130a286a18282d849ae5b2";
sha256 = "1chkphxwnwvy2cs7jc2h2i0lqqvi9jx6vqj3ly88lwk7m35r4ss2";
};
# error: invalid command 'test'
@ -27783,7 +27785,7 @@ in {
carbon = buildPythonPackage rec {
name = "carbon-${version}";
version = "0.9.15";
version = graphiteVersion;
src = pkgs.fetchurl {
url = "mirror://pypi/c/carbon/${name}.tar.gz";
@ -28016,7 +28018,7 @@ in {
graphite_web = buildPythonPackage rec {
name = "graphite-web-${version}";
disabled = isPy3k;
version = "0.9.15";
version = graphiteVersion;
src = pkgs.fetchurl rec {
url = "mirror://pypi/g/graphite-web/${name}.tar.gz";