From 2dac86f1405bc7f1b5bdf7dd7126d394132bb654 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 29 Oct 2021 21:12:23 +0000 Subject: [PATCH 1/2] python39Packages.influxdb-client: 1.21.0 -> 1.23.0 --- pkgs/development/python-modules/influxdb-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/influxdb-client/default.nix b/pkgs/development/python-modules/influxdb-client/default.nix index 6d2f9f30a4e5..1fe609db9335 100644 --- a/pkgs/development/python-modules/influxdb-client/default.nix +++ b/pkgs/development/python-modules/influxdb-client/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "influxdb-client"; - version = "1.21.0"; + version = "1.23.0"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "influxdata"; repo = "influxdb-client-python"; rev = "v${version}"; - sha256 = "081pwd3aa7kbgxqcl1hfi2ny4iapnxkcp9ypsfslr69d0khvfc4s"; + sha256 = "0n8zflphcj9l17mkqa4acxb0sna0v05zq5y07ayizf84zm93hpbr"; }; propagatedBuildInputs = [ From 7fa90b3e6f6ff7e46f68318d5f77c15ad28bd315 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 1 Nov 2021 12:29:42 +0100 Subject: [PATCH 2/2] home-assistant: pin influxdb-client at 1.21.0 --- pkgs/servers/home-assistant/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 136bf49a6401..c5ad53b3739a 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -52,6 +52,19 @@ let }); }) + # Pinned due to API changes in influxdb-client>1.21.0 + (self: super: { + influxdb-client = super.influxdb-client.overridePythonAttrs (oldAttrs: rec { + version = "1.21.0"; + src = fetchFromGitHub { + owner = "influxdata"; + repo = "influxdb-client-python"; + rev = "v${version}"; + sha256 = "081pwd3aa7kbgxqcl1hfi2ny4iapnxkcp9ypsfslr69d0khvfc4s"; + }; + }); + }) + # Pinned due to API changes in pyruckus>0.12 (self: super: { pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec {