From e31b185555362f0ee450e689abe0284d0958725c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 1 Oct 2024 12:54:23 +0000 Subject: [PATCH 01/34] python312Packages.aioautomower: 2024.9.1 -> 2024.9.3 --- pkgs/development/python-modules/aioautomower/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioautomower/default.nix b/pkgs/development/python-modules/aioautomower/default.nix index c3a4ec04b50c040..675657c7be25533 100644 --- a/pkgs/development/python-modules/aioautomower/default.nix +++ b/pkgs/development/python-modules/aioautomower/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "aioautomower"; - version = "2024.9.1"; + version = "2024.9.3"; pyproject = true; disabled = pythonOlder "3.11"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "Thomas55555"; repo = "aioautomower"; rev = "refs/tags/${version}"; - hash = "sha256-MdsK+QP8YdMceTiNwhuf84KARIHCyn7/g6WKrDB6yCc="; + hash = "sha256-2jPQcMD05SUYnBwAaWHbGKXy7Du2JKPVq3eui9YaqxI="; }; postPatch = '' From 458dc55412254ca4a06975b9c194a465c9ff8789 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 25 Sep 2024 11:51:10 +0000 Subject: [PATCH 02/34] python312Packages.aioesphomeapi: 25.3.2 -> 27.0.0 --- pkgs/development/python-modules/aioesphomeapi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioesphomeapi/default.nix b/pkgs/development/python-modules/aioesphomeapi/default.nix index 8e13ca9d212bb56..4d6f597fb2a9feb 100644 --- a/pkgs/development/python-modules/aioesphomeapi/default.nix +++ b/pkgs/development/python-modules/aioesphomeapi/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { pname = "aioesphomeapi"; - version = "25.3.2"; + version = "27.0.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "esphome"; repo = "aioesphomeapi"; rev = "refs/tags/v${version}"; - hash = "sha256-ITNXPwQTKOyH0TXYr8v/VI5rPNCvKGb/zIE1q+Ja8j0="; + hash = "sha256-2FA0QleMJG69vhyC85tO4ZAY0U8qPIdyJROHKxC35GM="; }; build-system = [ From 5999042463b9437804404b80e32273c7a8be2efa Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 2 Oct 2024 04:53:24 +0000 Subject: [PATCH 03/34] python312Packages.aiorussound: 3.1.5 -> 4.0.5 --- pkgs/development/python-modules/aiorussound/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiorussound/default.nix b/pkgs/development/python-modules/aiorussound/default.nix index 7c0f045c6222e0f..6e702e7927cb457 100644 --- a/pkgs/development/python-modules/aiorussound/default.nix +++ b/pkgs/development/python-modules/aiorussound/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "aiorussound"; - version = "3.1.5"; + version = "4.0.5"; pyproject = true; # requires newer f-strings introduced in 3.12 @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "noahhusby"; repo = "aiorussound"; rev = "refs/tags/${version}"; - hash = "sha256-c9elemUdvX8Q8/Sr4DSXEx9SdRoLKibQFbY+WSDg/yM="; + hash = "sha256-W0vhVK1SmnTsNuXpDn2e1BrBnsdBwgiNyXucC+ASg1M="; }; build-system = [ poetry-core ]; From c6dcb7e98a9e619fe8ce650d4fac5ffff42aa1a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 18 Sep 2024 17:02:45 -0700 Subject: [PATCH 04/34] python312Packages.ayla-iot-unofficial: 1.3.1 -> 1.4.1 Diff: https://github.com/rewardone/ayla-iot-unofficial/compare/refs/tags/v1.3.1...v1.4.1 Changelog: https://github.com/rewardone/ayla-iot-unofficial/releases/tag/v1.4.0 https://github.com/rewardone/ayla-iot-unofficial/releases/tag/v1.4.1 --- .../python-modules/ayla-iot-unofficial/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ayla-iot-unofficial/default.nix b/pkgs/development/python-modules/ayla-iot-unofficial/default.nix index de43b8c642ac9e2..3e2819fa0feafb0 100644 --- a/pkgs/development/python-modules/ayla-iot-unofficial/default.nix +++ b/pkgs/development/python-modules/ayla-iot-unofficial/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "ayla-iot-unofficial"; - version = "1.3.1"; + version = "1.4.1"; pyproject = true; src = fetchFromGitHub { owner = "rewardone"; repo = "ayla-iot-unofficial"; rev = "refs/tags/v${version}"; - hash = "sha256-WfaDTKht+WEnozVFWGYwNvrC8Rr/IePxjNp5O7jz/9A="; + hash = "sha256-SAfDpABOWsic3kqsN0txlchEIRKJ0xtpJERZUH5CKR0="; }; build-system = [ setuptools ]; From da8e621de95f214050c7afd42b9c26647b1097aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 18:58:48 -0700 Subject: [PATCH 05/34] python312Packages.brother: 4.3.0 -> 4.3.1 Diff: https://github.com/bieniu/brother/compare/refs/tags/4.3.0...4.3.1 Changelog: https://github.com/bieniu/brother/releases/tag/4.3.1 --- pkgs/development/python-modules/brother/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/brother/default.nix b/pkgs/development/python-modules/brother/default.nix index e6b79fb3bcdd1be..84ad97686b48ee4 100644 --- a/pkgs/development/python-modules/brother/default.nix +++ b/pkgs/development/python-modules/brother/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "brother"; - version = "4.3.0"; + version = "4.3.1"; pyproject = true; disabled = pythonOlder "3.11"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "bieniu"; repo = "brother"; rev = "refs/tags/${version}"; - hash = "sha256-JnIJgR8OiN6y6ib0Y+FXa98Q/4dtvJ8q2r6tgQSRvN4="; + hash = "sha256-fWa5FNBGV8tnJ3CozMicXLGsDvnTjNzU8PdV266MeeQ="; }; build-system = [ setuptools ]; From dea43bb0bb0084389468c40a08cd43b6f03eda9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:02:45 -0700 Subject: [PATCH 06/34] python312Packages.cached-ipaddress: 0.5.0 -> 0.6.0 Diff: https://github.com/bdraco/cached-ipaddress/compare/refs/tags/v0.5.0...v0.6.0 Changelog: https://github.com/bdraco/cached-ipaddress/blob/refs/tags/v0.6.0/CHANGELOG.md --- pkgs/development/python-modules/cached-ipaddress/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cached-ipaddress/default.nix b/pkgs/development/python-modules/cached-ipaddress/default.nix index d36b620710bf726..de17cb4106b4e34 100644 --- a/pkgs/development/python-modules/cached-ipaddress/default.nix +++ b/pkgs/development/python-modules/cached-ipaddress/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "cached-ipaddress"; - version = "0.5.0"; + version = "0.6.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "bdraco"; repo = "cached-ipaddress"; rev = "refs/tags/v${version}"; - hash = "sha256-Ec2tW1X0iYdQFd5XFRABwUTPjqxV5lhwT6UEimmF+/o="; + hash = "sha256-wF5GBQCmKHo3sX4lYA9/wS69x4fFNNh08VG3qMp9UKs="; }; build-system = [ From 7903bc9ffab486acc42b4a2114bae9b82242c8fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:17:06 -0700 Subject: [PATCH 07/34] python312Packages.firebase-messaging: 0.3.0 -> 0.4.4 Diff: https://github.com/sdb9696/firebase-messaging/compare/refs/tags/0.3.0...0.4.4 Changelog: https://github.com/sdb9696/firebase-messaging/releases/tag/0.4.4 --- .../firebase-messaging/default.nix | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/firebase-messaging/default.nix b/pkgs/development/python-modules/firebase-messaging/default.nix index 15c39a634980c21..a64bc19ea2e611f 100644 --- a/pkgs/development/python-modules/firebase-messaging/default.nix +++ b/pkgs/development/python-modules/firebase-messaging/default.nix @@ -6,8 +6,9 @@ buildPythonPackage, cryptography, fetchFromGitHub, + hatchling, http-ece, - poetry-core, + myst-parser, protobuf, pytest-asyncio, pytest-mock, @@ -23,16 +24,16 @@ buildPythonPackage rec { pname = "firebase-messaging"; - version = "0.3.0"; + version = "0.4.4"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "sdb9696"; repo = "firebase-messaging"; rev = "refs/tags/${version}"; - hash = "sha256-pZpnekJ11yx3L8l56vZOa4uS+jJMxUkYODgNAqysVeY="; + hash = "sha256-duUqDioIBo2QQP/4VGGwklDt4F8pDm/sHrvOx4wcTWQ="; }; outputs = [ @@ -40,12 +41,19 @@ buildPythonPackage rec { "doc" ]; + build-system = [ + hatchling + ]; + nativeBuildInputs = [ - poetry-core sphinxHook ] ++ optional-dependencies.docs; - propagatedBuildInputs = [ + pythonRelaxDeps = [ + "http-ece" + ]; + + dependencies = [ aiohttp cryptography http-ece @@ -54,6 +62,7 @@ buildPythonPackage rec { optional-dependencies = { docs = [ + myst-parser sphinx sphinx-autodoc-typehints sphinx-rtd-theme From e01bc4e7a22c5cc33ba2815568fb32da0a45b057 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 1 Oct 2024 02:48:19 +0000 Subject: [PATCH 08/34] python312Packages.google-generativeai: 0.7.2 -> 0.8.2 --- .../python-modules/google-generativeai/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-generativeai/default.nix b/pkgs/development/python-modules/google-generativeai/default.nix index ae1bdc82ae7f5a5..70d7da0936fe12d 100644 --- a/pkgs/development/python-modules/google-generativeai/default.nix +++ b/pkgs/development/python-modules/google-generativeai/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "google-generativeai"; - version = "0.7.2"; + version = "0.8.2"; pyproject = true; disabled = pythonOlder "3.9"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "google"; repo = "generative-ai-python"; rev = "refs/tags/v${version}"; - hash = "sha256-KVKoPCpMaaVMU6VqYXD7vHmhv1AS5slRobRVDDuaDHc="; + hash = "sha256-7l7Tg4sCdRtYnDwrQBA4rUIz4gO2YGf+3qn7OQRMCDc="; }; pythonRelaxDeps = [ "google-ai-generativelanguage" ]; From 9e64517d0d02af2a1a37bc47ed934bb96d787088 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 30 Sep 2024 02:10:10 +0000 Subject: [PATCH 09/34] python312Packages.jaraco-abode: 5.2.1 -> 6.2.1 --- pkgs/development/python-modules/jaraco-abode/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jaraco-abode/default.nix b/pkgs/development/python-modules/jaraco-abode/default.nix index 666f527fce40506..0b96700f267de79 100644 --- a/pkgs/development/python-modules/jaraco-abode/default.nix +++ b/pkgs/development/python-modules/jaraco-abode/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { pname = "jaraco-abode"; - version = "5.2.1"; + version = "6.2.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -34,7 +34,7 @@ buildPythonPackage rec { owner = "jaraco"; repo = "jaraco.abode"; rev = "refs/tags/v${version}"; - hash = "sha256-1omRBbUNS2/U2laK7E1M0uZfejZVMdGezG5oIGILj70="; + hash = "sha256-t5AI2wpSM6xMzULEZYkUgGvcODM8PVxdd2Vy/PV0Ga4="; }; nativeBuildInputs = [ From 6b42a94fc37a4a3d3ad54449f74b9b6c7afc2674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:04:59 -0700 Subject: [PATCH 10/34] python312Packages.matrix-nio: 0.25.0 -> 0.25.1 Diff: https://github.com/poljar/matrix-nio/compare/refs/tags/0.25.0...0.25.1 Changelog: https://github.com/poljar/matrix-nio/blob/0.25.1/CHANGELOG.md --- pkgs/development/python-modules/matrix-nio/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/matrix-nio/default.nix b/pkgs/development/python-modules/matrix-nio/default.nix index 537a80408c669c8..eaed123ef9031f5 100644 --- a/pkgs/development/python-modules/matrix-nio/default.nix +++ b/pkgs/development/python-modules/matrix-nio/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, # build-system - poetry-core, + setuptools, # dependencies aiofiles, @@ -44,14 +44,14 @@ buildPythonPackage rec { pname = "matrix-nio"; - version = "0.25.0"; + version = "0.25.1"; pyproject = true; src = fetchFromGitHub { owner = "poljar"; repo = "matrix-nio"; rev = "refs/tags/${version}"; - hash = "sha256-wk1UjnazBdK4BCWXRG5Bn9Rasrk+yy3qqideS8tEAk8="; + hash = "sha256-cfxM/k0AXP/47goWahAzY36dpZiR00gmNveyoxQWvjo="; }; patches = [ @@ -59,7 +59,7 @@ buildPythonPackage rec { ./allow-tests-without-olm.patch ]; - build-system = [ poetry-core ]; + build-system = [ setuptools ]; dependencies = [ aiofiles From d47a12062b34054fecf0b063506772eca158013d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:05:26 -0700 Subject: [PATCH 11/34] python312Packages.prometheus-client: 0.20.0 -> 0.21.0 Diff: https://github.com/prometheus/client_python/compare/refs/tags/v0.20.0...v0.21.0 Changelog: https://github.com/prometheus/client_python/releases/tag/v0.21.0 --- pkgs/development/python-modules/prometheus-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/prometheus-client/default.nix b/pkgs/development/python-modules/prometheus-client/default.nix index 9f0704d7a3d0b51..3c465a430a292ae 100644 --- a/pkgs/development/python-modules/prometheus-client/default.nix +++ b/pkgs/development/python-modules/prometheus-client/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "prometheus-client"; - version = "0.20.0"; + version = "0.21.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "prometheus"; repo = "client_python"; rev = "refs/tags/v${version}"; - hash = "sha256-IMw0mpOUzjXBy4bMTeSFMc5pdibI5lGxZHKiufjPLbM="; + hash = "sha256-LrCBCfIcpxNjy/yjwCG4J34eJO4AdUr21kp9FBwSeAY="; }; build-system = [ setuptools ]; From 4ece7a38cb6499912526455e89dcf9f3cea1fd23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:08:11 -0700 Subject: [PATCH 12/34] python312Packages.py-synologydsm-api: 2.5.2 -> 2.5.3 Diff: https://github.com/mib1185/py-synologydsm-api/compare/refs/tags/v2.5.2...v2.5.3 Changelog: https://github.com/mib1185/py-synologydsm-api/releases/tag/v2.5.3 --- .../development/python-modules/py-synologydsm-api/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/py-synologydsm-api/default.nix b/pkgs/development/python-modules/py-synologydsm-api/default.nix index 7fe3f1f61f4df91..8361171fc261fd6 100644 --- a/pkgs/development/python-modules/py-synologydsm-api/default.nix +++ b/pkgs/development/python-modules/py-synologydsm-api/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "py-synologydsm-api"; - version = "2.5.2"; + version = "2.5.3"; pyproject = true; disabled = pythonOlder "3.9"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "mib1185"; repo = "py-synologydsm-api"; rev = "refs/tags/v${version}"; - hash = "sha256-c1qNCOmGEiI+bHDGxJ7OtdmPFcdkev+5U9cuDC8O5iQ="; + hash = "sha256-3DpgJqL8pSiAK/t/Qe2CxntQStTqDumkivhnPKHVlnE="; }; build-system = [ setuptools ]; From cf375da8bf15b53a9ea8f3d6ccbad9fd78e5392f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 2 Oct 2024 18:09:51 +0200 Subject: [PATCH 13/34] python312Packages.pychromecast: 14.0.1 -> 14.0.2 Changelog: https://github.com/home-assistant-libs/pychromecast/releases/tag/14.0.2 --- pkgs/development/python-modules/pychromecast/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pychromecast/default.nix b/pkgs/development/python-modules/pychromecast/default.nix index f14248b781b0820..df5007d93828675 100644 --- a/pkgs/development/python-modules/pychromecast/default.nix +++ b/pkgs/development/python-modules/pychromecast/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "pychromecast"; - version = "14.0.1"; + version = "14.0.2"; pyproject = true; disabled = pythonOlder "3.11"; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "PyChromecast"; inherit version; - hash = "sha256-4W4Kf5SIMZGRuLT6IcoL60vxLu2lyb9kAkEYjyvqCj4="; + hash = "sha256-CSxl9CGZG8pWUzi8YaDBSGHEfg9cCmWRml6T8C39Bxo="; }; postPatch = '' From c672d3c867d7f97bb5810e86cb4e2c9b85d34b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 20 Jul 2024 00:24:24 -0700 Subject: [PATCH 14/34] python312Packages.pypoint: 2.3.2 -> 3.0.0 Diff: https://github.com/fredrike/pypoint/compare/v2.3.2...v3.0.0 --- .../python-modules/pypoint/default.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pypoint/default.nix b/pkgs/development/python-modules/pypoint/default.nix index e0e5aab54350c55..d7062da6c80bb72 100644 --- a/pkgs/development/python-modules/pypoint/default.nix +++ b/pkgs/development/python-modules/pypoint/default.nix @@ -2,26 +2,25 @@ lib, buildPythonPackage, fetchFromGitHub, - authlib, - httpx, + setuptools, + aiohttp, }: buildPythonPackage rec { pname = "pypoint"; - version = "2.3.2"; - format = "setuptools"; + version = "3.0.0"; + pyproject = true; src = fetchFromGitHub { owner = "fredrike"; repo = "pypoint"; rev = "v${version}"; - hash = "sha256-tQ5rQs6ECn9O9dVXKWhmy9BBpOzgqSmwpmbIRbJn2CQ="; + hash = "sha256-Ri+vf/vnjQQ+9eZ1Gzt+v68FAxVGt0IY9S3SpeVem3A="; }; - propagatedBuildInputs = [ - authlib - httpx - ]; + build-system = [ setuptools ]; + + dependencies = [ aiohttp ]; # upstream has no tests doCheck = false; From 6afb096a46ef7880347f165f9960995b8220bae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:01:26 -0700 Subject: [PATCH 15/34] python312Packages.pysnmp: 6.2.5 -> 6.2.6 Diff: https://github.com/lextudio/pysnmp/compare/refs/tags/v6.2.5...6.2.6 Changelog: https://github.com/lextudio/pysnmp/blob/refs/tags/v6.2.6/CHANGES.rst --- pkgs/development/python-modules/pysnmp/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pysnmp/default.nix b/pkgs/development/python-modules/pysnmp/default.nix index 3fa3a1dfe700b38..540d1fbff830c2f 100644 --- a/pkgs/development/python-modules/pysnmp/default.nix +++ b/pkgs/development/python-modules/pysnmp/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "pysnmp"; - version = "6.2.5"; + version = "6.2.6"; pyproject = true; src = fetchFromGitHub { owner = "lextudio"; repo = "pysnmp"; rev = "refs/tags/v${version}"; - hash = "sha256-EGMUTUN95wykU756GJSiXwr8Hi3kyaLPfqhuDgvhbBE="; + hash = "sha256-+FfXvsfn8XzliaGUKZlzqbozoo6vDxUkgC87JOoVasY="; }; pythonRemoveDeps = [ "pytest-cov" ]; @@ -67,7 +67,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python SNMP library"; homepage = "https://github.com/lextudio/pysnmp"; - changelog = "https://github.com/lextudio/pysnmp/blob/${src.rev}/CHANGES.txt"; + changelog = "https://github.com/lextudio/pysnmp/blob/${src.rev}/CHANGES.rst"; license = licenses.bsd2; maintainers = with maintainers; [ hexa ]; }; From 250f63e097ed8db054a6252a20dd6b6ceb13881a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:10:03 -0700 Subject: [PATCH 16/34] python312Packages.python-kasa: 0.7.3 -> 0.7.4 Diff: https://github.com/python-kasa/python-kasa/compare/refs/tags/0.7.3...0.7.4 Changelog: https://github.com/python-kasa/python-kasa/blob/0.7.4/CHANGELOG.md --- pkgs/development/python-modules/python-kasa/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-kasa/default.nix b/pkgs/development/python-modules/python-kasa/default.nix index dcb2a96f671a34a..9561deec1b07eec 100644 --- a/pkgs/development/python-modules/python-kasa/default.nix +++ b/pkgs/development/python-modules/python-kasa/default.nix @@ -14,6 +14,7 @@ pytest-asyncio, pytest-freezer, pytest-mock, + pytest-socket, pytestCheckHook, pythonOlder, rich, @@ -22,7 +23,7 @@ buildPythonPackage rec { pname = "python-kasa"; - version = "0.7.3"; + version = "0.7.4"; pyproject = true; disabled = pythonOlder "3.9"; @@ -31,7 +32,7 @@ buildPythonPackage rec { owner = "python-kasa"; repo = "python-kasa"; rev = "refs/tags/${version}"; - hash = "sha256-41FY1KaPDQxOHtxgaKRakNbiBm/qPYCICpvzxVAmSD8="; + hash = "sha256-dzDbA/iJUfTQNKq2V1PlCYpIeg031Fm0JyZvHrDWqHI="; }; build-system = [ hatchling ]; @@ -48,6 +49,7 @@ buildPythonPackage rec { pytest-asyncio pytest-freezer pytest-mock + pytest-socket pytestCheckHook voluptuous ]; From 7b2b527b31425a91e7934a1a8c5c044c9a945401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:12:45 -0700 Subject: [PATCH 17/34] python312Packages.python-matter-server: 6.3.0 -> 6.6.0 Diff: https://github.com/home-assistant-libs/python-matter-server/compare/refs/tags/6.3.0...6.6.0 Changelog: https://github.com/home-assistant-libs/python-matter-server/releases/tag/6.6.0 --- .../python-modules/python-matter-server/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-matter-server/default.nix b/pkgs/development/python-modules/python-matter-server/default.nix index 453bf9b8b7c281f..8a736730ef54498 100644 --- a/pkgs/development/python-modules/python-matter-server/default.nix +++ b/pkgs/development/python-modules/python-matter-server/default.nix @@ -24,6 +24,7 @@ zeroconf, # tests + aioresponses, python, pytest, pytest-aiohttp, @@ -55,7 +56,7 @@ in buildPythonPackage rec { pname = "python-matter-server"; - version = "6.3.0"; + version = "6.6.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -64,7 +65,7 @@ buildPythonPackage rec { owner = "home-assistant-libs"; repo = "python-matter-server"; rev = "refs/tags/${version}"; - hash = "sha256-/e7U0knkWQq9PnTimA2/ncNTyekx7QOcFEdtJHUcb9I="; + hash = "sha256-g+97a/X0FSapMLfdW6iNf1akkHGLqCmHYimQU/M6loo="; }; patches = [ @@ -105,6 +106,7 @@ buildPythonPackage rec { }; nativeCheckInputs = [ + aioresponses pytest-aiohttp pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); From 6306c5232ee10621106f3f72aa680227923a584b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 2 Oct 2024 17:48:09 +0200 Subject: [PATCH 18/34] python312Packages.restrictedpython: 7.2 -> 7.3 Changelog: https://github.com/zopefoundation/RestrictedPython/blob/7.3/CHANGES.rst --- pkgs/development/python-modules/restrictedpython/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/restrictedpython/default.nix b/pkgs/development/python-modules/restrictedpython/default.nix index daba92a14a6c634..2d85f85eb80b956 100644 --- a/pkgs/development/python-modules/restrictedpython/default.nix +++ b/pkgs/development/python-modules/restrictedpython/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "restrictedpython"; - version = "7.2"; + version = "7.3"; pyproject = true; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "RestrictedPython"; inherit version; - hash = "sha256-TR0w9wmmYhynxCNvCLZ7cyplHICZFF8TcHjH3UvtPSE="; + hash = "sha256-iIgwTHhY/c/YbFC1hWF5c3W6QDGdK2/7XSSwi2otzWE="; }; build-system = [ setuptools ]; From c61507cdc5d4680b107a100a1c02507cca980d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:15:14 -0700 Subject: [PATCH 19/34] python312Packages.ring-doorbell: 0.9.5 -> 0.9.6 Changelog: https://github.com/tchellomello/python-ring-doorbell/blob/0.9.6/CHANGELOG.md --- .../development/python-modules/ring-doorbell/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/ring-doorbell/default.nix b/pkgs/development/python-modules/ring-doorbell/default.nix index 4bfbc9d1e54ab80..b417ea9269c9739 100644 --- a/pkgs/development/python-modules/ring-doorbell/default.nix +++ b/pkgs/development/python-modules/ring-doorbell/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "ring-doorbell"; - version = "0.9.5"; + version = "0.9.6"; pyproject = true; disabled = pythonOlder "3.9"; @@ -31,7 +31,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "ring_doorbell"; inherit version; - hash = "sha256-NnKcUr0SExXRDkNCIGU3LtwU1LIMAZzurn2Aoua1lzA="; + hash = "sha256-pSHsQ2bJ0zNk6eJfDERVFqZM/IWorL8HFFjnwnhaHhY="; }; pythonRelaxDeps = [ "requests-oauthlib" ]; @@ -42,16 +42,13 @@ buildPythonPackage rec { aiofiles aiohttp asyncclick + firebase-messaging oauthlib pytz typing-extensions websockets ]; - optional-dependencies = { - listen = [ firebase-messaging ]; - }; - nativeCheckInputs = [ aioresponses freezegun From 7b7e376e16e3aee938c2ac1a79eee87df1c76bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:21:28 -0700 Subject: [PATCH 20/34] python312Packages.uiprotect: 6.0.2 -> 6.1.0 Diff: https://github.com/uilibs/uiprotect/compare/refs/tags/v6.0.2...v6.1.0 Changelog: https://github.com/uilibs/uiprotect/blob/refs/tags/v6.1.0/CHANGELOG.md --- pkgs/development/python-modules/uiprotect/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/uiprotect/default.nix b/pkgs/development/python-modules/uiprotect/default.nix index bee77028970e61c..ee01a24bebccee8 100644 --- a/pkgs/development/python-modules/uiprotect/default.nix +++ b/pkgs/development/python-modules/uiprotect/default.nix @@ -38,7 +38,7 @@ buildPythonPackage rec { pname = "uiprotect"; - version = "6.0.2"; + version = "6.1.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -47,7 +47,7 @@ buildPythonPackage rec { owner = "uilibs"; repo = "uiprotect"; rev = "refs/tags/v${version}"; - hash = "sha256-3Dmim+wSAhco3KvtbAT/f/feNriaI22m0ml4L9SJFPs="; + hash = "sha256-SWEWh1c5GcMrjJlcLtXScRNoem2ACGt3nFC4+ARMIIw="; }; build-system = [ poetry-core ]; @@ -89,6 +89,12 @@ buildPythonPackage rec { pytestFlagsArray = [ "--benchmark-disable" ]; + disabledTests = [ + # https://127.0.0.1 vs https://127.0.0.1:0 + "test_base_url" + "test_bootstrap" + ]; + pythonImportsCheck = [ "uiprotect" ]; meta = with lib; { From c34480b9d113f3a7c2a1fc3204218c5076d169d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:24:38 -0700 Subject: [PATCH 21/34] python312Packages.zeroconf: 0.133.0 -> 0.135.0 Diff: https://github.com/jstasiak/python-zeroconf/compare/refs/tags/0.133.0...0.135.0 Changelog: https://github.com/python-zeroconf/python-zeroconf/releases/tag/0.135.0 --- pkgs/development/python-modules/zeroconf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zeroconf/default.nix b/pkgs/development/python-modules/zeroconf/default.nix index c23d94c7af64816..b06ccc46b0ad408 100644 --- a/pkgs/development/python-modules/zeroconf/default.nix +++ b/pkgs/development/python-modules/zeroconf/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "zeroconf"; - version = "0.133.0"; + version = "0.135.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "jstasiak"; repo = "python-zeroconf"; rev = "refs/tags/${version}"; - hash = "sha256-nS3zr+56K819GujzA4uLqcZJb4OxbAOV3FfxssDEEQA="; + hash = "sha256-3zUY9zOmC2avR7rO5O22lqqEY5ql612fRutbGl7SYKs="; }; build-system = [ From c3a008748ac711b27028b9d08ff20680400b5d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 19:25:45 -0700 Subject: [PATCH 22/34] python312Packages.zha: 0.0.33 -> 0.0.34 Diff: https://github.com/zigpy/zha/compare/refs/tags/0.0.33...0.0.34 Changelog: https://github.com/zigpy/zha/releases/tag/0.0.34 --- pkgs/development/python-modules/zha/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zha/default.nix b/pkgs/development/python-modules/zha/default.nix index f8c83870f9f159a..1847b2c49d8e42e 100644 --- a/pkgs/development/python-modules/zha/default.nix +++ b/pkgs/development/python-modules/zha/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "zha"; - version = "0.0.33"; + version = "0.0.34"; pyproject = true; disabled = pythonOlder "3.12"; @@ -36,7 +36,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = "zha"; rev = "refs/tags/${version}"; - hash = "sha256-qcXKHIiEm1wqcQKRH+TqgQMPZbLqNnBiR6dbmLwxW1Y="; + hash = "sha256-or4mZpfcVl7fTf8O1vBxEeeJvhYNgrlV+FClrzQG/lg="; }; postPatch = '' From eb241b19b997edfe0a85dc0fab1f52eab9ec8318 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 25 Sep 2024 09:20:36 +0000 Subject: [PATCH 23/34] python312Packages.zha-quirks: 0.0.121 -> 0.0.122 --- pkgs/development/python-modules/zha-quirks/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zha-quirks/default.nix b/pkgs/development/python-modules/zha-quirks/default.nix index 7e9720163c8cc9b..05040663a5790cc 100644 --- a/pkgs/development/python-modules/zha-quirks/default.nix +++ b/pkgs/development/python-modules/zha-quirks/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "zha-quirks"; - version = "0.0.121"; + version = "0.0.122"; pyproject = true; disabled = pythonOlder "3.12"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = "zha-device-handlers"; rev = "refs/tags/${version}"; - hash = "sha256-+HDW07fFh47gW7xNaymylSt8TT2Vzz+6IWSPLtkk/Nw="; + hash = "sha256-/xxMcZPwIL76F+E3Rp0/VtzFOrk7e4i1knf/OIAf+48="; }; postPatch = '' From 64233888343683a8f0ba0caf70d6c31aa86dd30c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 25 Sep 2024 18:37:29 +0000 Subject: [PATCH 24/34] python312Packages.zigpy: 0.66.0 -> 0.67.0 --- pkgs/development/python-modules/zigpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zigpy/default.nix b/pkgs/development/python-modules/zigpy/default.nix index bc3fec15864e37e..9edb65707b9f7be 100644 --- a/pkgs/development/python-modules/zigpy/default.nix +++ b/pkgs/development/python-modules/zigpy/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "zigpy"; - version = "0.66.0"; + version = "0.67.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -36,7 +36,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = "zigpy"; rev = "refs/tags/${version}"; - hash = "sha256-Rv45WP6KxsFY/eGgNja5JSgmVKQWrRbP6K4tz6CFpMs="; + hash = "sha256-06RKvKOXMhq6LwKSk451cR7EUW+78AZzWsrqSMgq02E="; }; postPatch = '' From aee2c6e7856dd33951af76c17eebbb25e362fc21 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 1 Oct 2024 12:49:57 +0000 Subject: [PATCH 25/34] python312Packages.zwave-js-server-python: 0.57.0 -> 0.58.1 --- .../python-modules/zwave-js-server-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zwave-js-server-python/default.nix b/pkgs/development/python-modules/zwave-js-server-python/default.nix index bb374e1ec42b68b..d2caa2c2f383d34 100644 --- a/pkgs/development/python-modules/zwave-js-server-python/default.nix +++ b/pkgs/development/python-modules/zwave-js-server-python/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "zwave-js-server-python"; - version = "0.57.0"; + version = "0.58.1"; pyproject = true; disabled = pythonOlder "3.11"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "home-assistant-libs"; repo = "zwave-js-server-python"; rev = "refs/tags/${version}"; - hash = "sha256-5Kvk73tRnHFi5YDzMmRj1r7gKuAPkecPF9q9L2qhAUI="; + hash = "sha256-hszt14ymZQsUg0zfJ7+cY08DlXNaWzxKwV/i4i29DtI="; }; build-system = [ setuptools ]; From 17fd913baea7c1a16ae3161763e34bead11e7795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 18:52:01 -0700 Subject: [PATCH 26/34] home-assistant.frontend: 20240909.1 -> 20241002.2 Changelog: https://github.com/home-assistant/frontend/releases/tag/20241002.2 --- pkgs/servers/home-assistant/frontend.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/home-assistant/frontend.nix b/pkgs/servers/home-assistant/frontend.nix index b40c1e1e1fc6a6f..d56630451d99c23 100644 --- a/pkgs/servers/home-assistant/frontend.nix +++ b/pkgs/servers/home-assistant/frontend.nix @@ -4,7 +4,7 @@ buildPythonPackage rec { # the frontend version corresponding to a specific home-assistant version can be found here # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json pname = "home-assistant-frontend"; - version = "20240909.1"; + version = "20241002.2"; format = "wheel"; src = fetchPypi { @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "home_assistant_frontend"; dist = "py3"; python = "py3"; - hash = "sha256-inxDdsJQ58Jg+3bc382l8z/PbChWI0pfZR/k+wyexvE="; + hash = "sha256-9NqPBWcNM288ATdKH+Em0e9g2V2497YJLt8Wx5OL4+k="; }; # there is nothing to strip in this package From 5127dd03ce6868aab1bb5e593e22447c9abe527d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 18:52:17 -0700 Subject: [PATCH 27/34] home-assistant.intents: 2024.9.4 -> 2024.10.2 Diff: https://github.com/home-assistant/intents-package/compare/refs/tags/2024.9.4...2024.10.2 Changelog: https://github.com/home-assistant/intents/releases/tag/2024.10.2 --- pkgs/servers/home-assistant/intents.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/home-assistant/intents.nix b/pkgs/servers/home-assistant/intents.nix index 9442d1fbde289ec..a7360dd7e2e5819 100644 --- a/pkgs/servers/home-assistant/intents.nix +++ b/pkgs/servers/home-assistant/intents.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "home-assistant-intents"; - version = "2024.9.4"; + version = "2024.10.2"; pyproject = true; disabled = pythonOlder "3.9"; @@ -31,7 +31,7 @@ buildPythonPackage rec { repo = "intents-package"; rev = "refs/tags/${version}"; fetchSubmodules = true; - hash = "sha256-8wsszLbrOLvJJoXFHx40zJJbXKT6yNRS5Kgam9P8yGQ="; + hash = "sha256-bVKsZvQ4JhVpwILkRR/+lUzchBGwG2D4TTdBD7lDRcY="; }; build-system = [ From 0ad3a9ef892fd28382684cbb1e882e024de670a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 3 Oct 2024 14:36:50 -0700 Subject: [PATCH 28/34] python312Packages.open-interpreter: unpin google-generativeai --- pkgs/development/python-modules/open-interpreter/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/open-interpreter/default.nix b/pkgs/development/python-modules/open-interpreter/default.nix index 12e4cabb076880a..d771128a7903472 100644 --- a/pkgs/development/python-modules/open-interpreter/default.nix +++ b/pkgs/development/python-modules/open-interpreter/default.nix @@ -50,6 +50,7 @@ buildPythonPackage rec { pythonRemoveDeps = [ "git-python" ]; pythonRelaxDeps = [ + "google-generativeai" "psutil" "pynput" "yaspin" From f5ec6712ddf64d184d472bf2f6e7e44e5a2547dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 3 Oct 2024 16:13:25 -0700 Subject: [PATCH 29/34] python312Packages.aiodukeenergy: init at 0.2.2 --- .../python-modules/aiodukeenergy/default.nix | 49 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 51 insertions(+) create mode 100644 pkgs/development/python-modules/aiodukeenergy/default.nix diff --git a/pkgs/development/python-modules/aiodukeenergy/default.nix b/pkgs/development/python-modules/aiodukeenergy/default.nix new file mode 100644 index 000000000000000..01e0fa7cae1afc2 --- /dev/null +++ b/pkgs/development/python-modules/aiodukeenergy/default.nix @@ -0,0 +1,49 @@ +{ + aiohttp, + aioresponses, + buildPythonPackage, + fetchFromGitHub, + lib, + poetry-core, + pytest-asyncio, + pytest-cov-stub, + pytestCheckHook, + yarl, +}: + +buildPythonPackage rec { + pname = "aiodukeenergy"; + version = "0.2.2"; + pyproject = true; + + src = fetchFromGitHub { + owner = "hunterjm"; + repo = "aiodukeenergy"; + rev = "refs/tags/v${version}"; + hash = "sha256-aDBleEp3ZlY1IfFCbsUEU+wzYgjNaJeip8crHlh5qHE="; + }; + + build-system = [ poetry-core ]; + + dependencies = [ + aiohttp + yarl + ]; + + pythonImportsCheck = [ "aiodukeenergy" ]; + + nativeCheckInputs = [ + aioresponses + pytest-asyncio + pytest-cov-stub + pytestCheckHook + ]; + + meta = { + changelog = "https://github.com/hunterjm/aiodukeenergy/blob/${src.rev}/CHANGELOG.md"; + description = "Asyncio Duke Energy"; + homepage = "https://github.com/hunterjm/aiodukeenergy"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c1800dfbba93ba7..caeb6db46021e40 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -207,6 +207,8 @@ self: super: with self; { aiodocker = callPackage ../development/python-modules/aiodocker { }; + aiodukeenergy = callPackage ../development/python-modules/aiodukeenergy { }; + aioeafm = callPackage ../development/python-modules/aioeafm { }; aioeagle = callPackage ../development/python-modules/aioeagle { }; From 0c691d6cb70dda5e4f12e9d843df3c7e86f447b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 3 Oct 2024 16:24:34 -0700 Subject: [PATCH 30/34] python312Packages.google-photos-library-api: init at 0.12.1 --- .../google-photos-library-api/default.nix | 49 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 51 insertions(+) create mode 100644 pkgs/development/python-modules/google-photos-library-api/default.nix diff --git a/pkgs/development/python-modules/google-photos-library-api/default.nix b/pkgs/development/python-modules/google-photos-library-api/default.nix new file mode 100644 index 000000000000000..49feac0a0be2776 --- /dev/null +++ b/pkgs/development/python-modules/google-photos-library-api/default.nix @@ -0,0 +1,49 @@ +{ + aiohttp, + buildPythonPackage, + fetchFromGitHub, + google-api-python-client, + google-auth, + lib, + mashumaro, + pytest-aiohttp, + pytestCheckHook, + setuptools, +}: + +buildPythonPackage rec { + pname = "google-photos-library-api"; + version = "0.12.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "allenporter"; + repo = "python-google-photos-library-api"; + rev = "refs/tags/${version}"; + hash = "sha256-xSwUzVwC7RPpmC9M1x/WYIaoiUlcF2h2fwiP6FYA6sw="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + aiohttp + google-api-python-client + google-auth + mashumaro + ]; + + pythonImportsCheck = [ "google_photos_library_api" ]; + + nativeCheckInputs = [ + pytest-aiohttp + pytestCheckHook + ]; + + meta = { + changelog = "https://github.com/allenporter/python-google-photos-library-api/releases/tag/${version}"; + description = "Python client library for Google Photos Library API"; + homepage = "https://github.com/allenporter/python-google-photos-library-api"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index caeb6db46021e40..8f4eea5319ab174 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5268,6 +5268,8 @@ self: super: with self; { google-nest-sdm = callPackage ../development/python-modules/google-nest-sdm { }; + google-photos-library-api = callPackage ../development/python-modules/google-photos-library-api { }; + googlemaps = callPackage ../development/python-modules/googlemaps { }; google-pasta = callPackage ../development/python-modules/google-pasta { }; From f645888bb56091ec2a3946079ee2c0364e86f716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 3 Oct 2024 16:29:02 -0700 Subject: [PATCH 31/34] python312Packages.pyiskra: init at 0.1.14 --- .../python-modules/pyiskra/default.nix | 41 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/pyiskra/default.nix diff --git a/pkgs/development/python-modules/pyiskra/default.nix b/pkgs/development/python-modules/pyiskra/default.nix new file mode 100644 index 000000000000000..844299d01bc673d --- /dev/null +++ b/pkgs/development/python-modules/pyiskra/default.nix @@ -0,0 +1,41 @@ +{ + aiohttp, + buildPythonPackage, + fetchFromGitHub, + lib, + pymodbus, + setuptools, +}: + +buildPythonPackage rec { + pname = "pyiskra"; + version = "0.1.14"; + pyproject = true; + + src = fetchFromGitHub { + owner = "Iskramis"; + repo = "pyiskra"; + rev = "refs/tags/v${version}"; + hash = "sha256-OLNUa11UULiW6E8nVy5rUyN7iAD7KdM+R76m2zaDOgc="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + aiohttp + pymodbus + ]; + + pythonImportsCheck = [ "pyiskra" ]; + + # upstream has no tests + doCheck = false; + + meta = { + changelog = "https://github.com/Iskramis/pyiskra/releases/tag/v${version}"; + description = "Python Iskra devices interface"; + homepage = "https://github.com/Iskramis/pyiskra"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8f4eea5319ab174..b5a9648c6a34402 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10200,6 +10200,8 @@ self: super: with self; { pyisemail = callPackage ../development/python-modules/pyisemail { }; + pyiskra = callPackage ../development/python-modules/pyiskra { }; + pyisy = callPackage ../development/python-modules/pyisy { }; pyixapi = callPackage ../development/python-modules/pyixapi { }; From 31bcaf75e8e9e098356660d545c8509787a45657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 3 Oct 2024 16:49:31 -0700 Subject: [PATCH 32/34] python312Packages.lektricowifi: init at 0.0.43 --- .../python-modules/lektricowifi/default.nix | 58 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 60 insertions(+) create mode 100644 pkgs/development/python-modules/lektricowifi/default.nix diff --git a/pkgs/development/python-modules/lektricowifi/default.nix b/pkgs/development/python-modules/lektricowifi/default.nix new file mode 100644 index 000000000000000..b6b4a5142c3c9cc --- /dev/null +++ b/pkgs/development/python-modules/lektricowifi/default.nix @@ -0,0 +1,58 @@ +{ + async-timeout, + buildPythonPackage, + fetchFromGitHub, + httpx, + lib, + pydantic, + pytest-asyncio, + pytestCheckHook, + setuptools, +}: + +buildPythonPackage rec { + pname = "lektricowifi"; + version = "0.0.43"; + pyproject = true; + + src = fetchFromGitHub { + owner = "Lektrico"; + repo = "lektricowifi"; + rev = "refs/tags/v.${version}"; + hash = "sha256-NwM1WpH6tS0iAVpG2gSFJpDPPn9nECHAzpOnWzeYPH4="; + }; + + postPatch = '' + substituteInPlace tests/test_mocked_devices.py \ + --replace-fail "from asyncmock import AsyncMock" "from unittest.mock import AsyncMock" + ''; + + build-system = [ setuptools ]; + + pythonRelaxDeps = [ + "pydantic" + ]; + + dependencies = [ + async-timeout + httpx + pydantic + ]; + + pythonImportsCheck = [ "lektricowifi" ]; + + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; + + # AttributeError: type object 'InfoForCharger' has no attribute 'from_dict' + doCheck = false; + + meta = { + description = "Communication with Lektrico's chargers"; + homepage = "https://github.com/Lektrico/lektricowifi"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b5a9648c6a34402..9ae98146679c924 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6991,6 +6991,8 @@ self: super: with self; { igraph-c = pkgs.igraph; }; + lektricowifi = callPackage ../development/python-modules/lektricowifi { }; + leveldb = callPackage ../development/python-modules/leveldb { }; levenshtein = callPackage ../development/python-modules/levenshtein { }; From 523c99538b26615dabada81c685e1714d1bd69c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Oct 2024 18:54:22 -0700 Subject: [PATCH 33/34] home-assistant: 2024.9.3 -> 2024.10.0 https://www.home-assistant.io/blog/2024/10/02/release-202410/ --- .../home-assistant/component-packages.nix | 89 +++++++++++++++++-- pkgs/servers/home-assistant/default.nix | 14 +-- 2 files changed, 89 insertions(+), 14 deletions(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 8ef2dda17da73d7..87af552c35757c5 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2,7 +2,7 @@ # Do not edit! { - version = "2024.9.3"; + version = "2024.10.0"; components = { "3_day_blinds" = ps: with ps; [ ]; @@ -216,6 +216,8 @@ aprslib geopy ]; + "aps" = ps: with ps; [ + ]; "apsystems" = ps: with ps; [ apsystems-ez1 ]; @@ -284,6 +286,14 @@ pymicro-vad pyspeex-noise ]; + "assist_satellite" = ps: with ps; [ + ha-ffmpeg + hassil + home-assistant-intents + mutagen + pymicro-vad + pyspeex-noise + ]; "asuswrt" = ps: with ps; [ aioasuswrt pyasuswrt @@ -584,6 +594,9 @@ ]; "calendar" = ps: with ps; [ ]; + "cambridge_audio" = ps: with ps; [ + aiostreammagic + ]; "camera" = ps: with ps; [ pyturbojpeg ]; @@ -739,6 +752,10 @@ ]; "ddwrt" = ps: with ps; [ ]; + "deako" = ps: with ps; [ + ifaddr + zeroconf + ]; # missing inputs: pydeako "debugpy" = ps: with ps; [ debugpy ]; @@ -753,6 +770,7 @@ "default_config" = ps: with ps; [ aiodhcpwatcher aiodiscover + aiohasupervisor async-upnp-client av bleak @@ -932,6 +950,12 @@ ]; "duckdns" = ps: with ps; [ ]; + "duke_energy" = ps: with ps; [ + aiodukeenergy + fnv-hash-fast + psutil-home-assistant + sqlalchemy + ]; "dunehd" = ps: with ps; [ pdunehd ]; @@ -946,6 +970,7 @@ "dweet" = ps: with ps; [ ]; # missing inputs: dweepy "dynalite" = ps: with ps; [ + aiohasupervisor dynalite-devices dynalite-panel home-assistant-frontend @@ -1365,6 +1390,7 @@ pyfronius ]; "frontend" = ps: with ps; [ + aiohasupervisor home-assistant-frontend pillow ]; @@ -1492,6 +1518,7 @@ gassist-text ]; "google_cloud" = ps: with ps; [ + google-cloud-speech google-cloud-texttospeech ]; "google_domains" = ps: with ps; [ @@ -1511,6 +1538,9 @@ "google_maps" = ps: with ps; [ locationsharinglib ]; + "google_photos" = ps: with ps; [ + google-photos-library-api + ]; "google_pubsub" = ps: with ps; [ google-cloud-pubsub ]; @@ -1590,6 +1620,7 @@ habitipy ]; "hardkernel" = ps: with ps; [ + aiohasupervisor psutil-home-assistant ]; "hardware" = ps: with ps; [ @@ -1602,6 +1633,7 @@ aioharmony ]; "hassio" = ps: with ps; [ + aiohasupervisor ]; "havana_shade" = ps: with ps; [ ]; @@ -1670,6 +1702,7 @@ "homeassistant_alerts" = ps: with ps; [ ]; "homeassistant_green" = ps: with ps; [ + aiohasupervisor pillow psutil-home-assistant pyserial @@ -1678,6 +1711,7 @@ zha ]; "homeassistant_hardware" = ps: with ps; [ + aiohasupervisor pillow pyserial pyudev @@ -1685,6 +1719,7 @@ zha ]; "homeassistant_sky_connect" = ps: with ps; [ + aiohasupervisor pillow psutil-home-assistant pyserial @@ -1693,6 +1728,7 @@ zha ]; "homeassistant_yellow" = ps: with ps; [ + aiohasupervisor pillow psutil-home-assistant pyserial @@ -1959,6 +1995,7 @@ "inspired_shades" = ps: with ps; [ ]; "insteon" = ps: with ps; [ + aiohasupervisor home-assistant-frontend insteon-frontend-home-assistant pillow @@ -2029,6 +2066,9 @@ "isal" = ps: with ps; [ isal ]; + "iskra" = ps: with ps; [ + pyiskra + ]; "islamic_prayer_times" = ps: with ps; [ prayer-times-calculator-offline ]; @@ -2164,6 +2204,7 @@ knocki ]; "knx" = ps: with ps; [ + aiohasupervisor home-assistant-frontend knx-frontend pillow @@ -2243,6 +2284,7 @@ "lawn_mower" = ps: with ps; [ ]; "lcn" = ps: with ps; [ + aiohasupervisor home-assistant-frontend lcn-frontend pillow @@ -2324,6 +2366,9 @@ ]; "legrand" = ps: with ps; [ ]; + "lektrico" = ps: with ps; [ + lektricowifi + ]; "lg_netcast" = ps: with ps; [ ifaddr pylgnetcast @@ -2394,6 +2439,7 @@ "lock" = ps: with ps; [ ]; "logbook" = ps: with ps; [ + aiohasupervisor fnv-hash-fast home-assistant-frontend pillow @@ -2424,6 +2470,7 @@ pyturbojpeg ]; "lovelace" = ps: with ps; [ + aiohasupervisor pillow ]; "luci" = ps: with ps; [ @@ -2462,6 +2509,7 @@ paho-mqtt_1 ]; "map" = ps: with ps; [ + aiohasupervisor home-assistant-frontend pillow ]; @@ -2671,6 +2719,8 @@ ]; # missing inputs: moehlenhoff-alpha2 "mold_indicator" = ps: with ps; [ ]; + "monarch_money" = ps: with ps; [ + ]; # missing inputs: typedmonarchmoney "monessen" = ps: with ps; [ ]; "monoprice" = ps: with ps; [ @@ -2768,6 +2818,7 @@ mutesync ]; "my" = ps: with ps; [ + aiohasupervisor home-assistant-frontend pillow ]; @@ -2930,6 +2981,8 @@ "nx584" = ps: with ps; [ pynx584 ]; + "nyt_games" = ps: with ps; [ + ]; # missing inputs: nyt_games "nzbget" = ps: with ps; [ ]; # missing inputs: pynzbgetapi "oasa_telematics" = ps: with ps; [ @@ -2963,6 +3016,7 @@ omnilogic ]; "onboarding" = ps: with ps; [ + aiohasupervisor pillow ]; "oncue" = ps: with ps; [ @@ -3075,6 +3129,7 @@ "osramlightify" = ps: with ps; [ ]; # missing inputs: lightify "otbr" = ps: with ps; [ + aiohasupervisor ifaddr pillow psutil-home-assistant @@ -3123,10 +3178,12 @@ pexpect ]; "panel_custom" = ps: with ps; [ + aiohasupervisor home-assistant-frontend pillow ]; "panel_iframe" = ps: with ps; [ + aiohasupervisor home-assistant-frontend pillow ]; @@ -3433,6 +3490,7 @@ zeroconf ]; "raspberry_pi" = ps: with ps; [ + aiohasupervisor psutil-home-assistant ]; "raspyrfm" = ps: with ps; [ @@ -3451,6 +3509,7 @@ sqlalchemy ]; "recovery_mode" = ps: with ps; [ + aiohasupervisor ha-ffmpeg hass-nabucasa hassil @@ -3517,8 +3576,7 @@ "ring" = ps: with ps; [ ha-ffmpeg ring-doorbell - ] - ++ ring-doorbell.optional-dependencies.listen; + ]; "ripple" = ps: with ps; [ ]; # missing inputs: python-ripple-api "risco" = ps: with ps; [ @@ -3764,6 +3822,8 @@ sensorpush-ble zeroconf ]; + "sensoterra" = ps: with ps; [ + ]; # missing inputs: sensoterra "sentry" = ps: with ps; [ sentry-sdk ]; @@ -3897,6 +3957,8 @@ "smarttub" = ps: with ps; [ python-smarttub ]; + "smarty" = ps: with ps; [ + ]; # missing inputs: pysmarty2 "smhi" = ps: with ps; [ smhi-pkg ]; @@ -4242,8 +4304,6 @@ ]; # missing inputs: tessie-api "text" = ps: with ps; [ ]; - "tfiac" = ps: with ps; [ - ]; # missing inputs: pytfiac "thermobeacon" = ps: with ps; [ aioesphomeapi aioruuvigateway @@ -4296,9 +4356,6 @@ thermopro-ble zeroconf ]; - "thermoworks_smoke" = ps: with ps; [ - stringcase - ]; # missing inputs: thermoworks-smoke "thethingsnetwork" = ps: with ps; [ ttn-client ]; @@ -4449,6 +4506,8 @@ "trend" = ps: with ps; [ numpy_1 ]; + "triggercmd" = ps: with ps; [ + ]; # missing inputs: triggercmd "tts" = ps: with ps; [ ha-ffmpeg mutagen @@ -4678,6 +4737,9 @@ ]; "websocket_api" = ps: with ps; [ ]; + "weheat" = ps: with ps; [ + weheat + ]; "wemo" = ps: with ps; [ pywemo ]; @@ -4716,6 +4778,8 @@ "wled" = ps: with ps; [ wled ]; + "wmspro" = ps: with ps; [ + ]; # missing inputs: pywmspro "wolflink" = ps: with ps; [ ]; # missing inputs: wolf-comm "workday" = ps: with ps; [ @@ -4895,6 +4959,7 @@ "zeversolar" = ps: with ps; [ ]; # missing inputs: zeversolar "zha" = ps: with ps; [ + aiohasupervisor pillow pyserial pyudev @@ -4982,6 +5047,7 @@ "arve" "aseko_pool_live" "assist_pipeline" + "assist_satellite" "asuswrt" "atag" "august" @@ -5028,6 +5094,7 @@ "button" "caldav" "calendar" + "cambridge_audio" "camera" "canary" "cast" @@ -5089,6 +5156,7 @@ "dsmr_reader" "dte_energy_bridge" "duckdns" + "duke_energy" "dunehd" "duotecno" "dwd_weather_warnings" @@ -5198,9 +5266,11 @@ "google" "google_assistant" "google_assistant_sdk" + "google_cloud" "google_domains" "google_generative_ai_conversation" "google_mail" + "google_photos" "google_pubsub" "google_sheets" "google_tasks" @@ -5291,6 +5361,7 @@ "iqvia" "iron_os" "isal" + "iskra" "islamic_prayer_times" "israel_rail" "ista_ecotrend" @@ -5324,6 +5395,7 @@ "lcn" "ld2410_ble" "led_ble" + "lektrico" "lg_netcast" "lg_soundbar" "lidarr" @@ -5770,6 +5842,7 @@ "webmin" "webostv" "websocket_api" + "weheat" "wemo" "whirlpool" "whois" diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 4a4a6b8eed8047a..c22bfe4418b99ce 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -408,7 +408,7 @@ let extraBuildInputs = extraPackages python.pkgs; # Don't forget to run update-component-packages.py after updating - hassVersion = "2024.9.3"; + hassVersion = "2024.10.0"; in python.pkgs.buildPythonApplication rec { pname = "homeassistant"; @@ -426,13 +426,13 @@ in python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; rev = "refs/tags/${version}"; - hash = "sha256-W/qngUrc/R3lqdIWUFIXtP9IJ6t+VGdeAdJyZuGm94Q="; + hash = "sha256-X7atEjhw6QcS5xNiW+17/vrwqjCL4N3VocxUTELLXgo="; }; # Secondary source is pypi sdist for translations sdist = fetchPypi { inherit pname version; - hash = "sha256-Qp1AiB89sq1OrAVR7qLEfX1j8kW8L2lb4Z1x4z4AzP0="; + hash = "sha256-SHNs/zLyNVi0uGguRTWMnt9UpPYEFJbrfwBYFz+q5Nk="; }; build-system = with python.pkgs; [ @@ -457,6 +457,7 @@ in python.pkgs.buildPythonApplication rec { "sqlalchemy" "typing-extensions" "urllib3" + "uv" "yarl" ]; @@ -489,6 +490,7 @@ in python.pkgs.buildPythonApplication rec { dependencies = with python.pkgs; [ # Only packages required in pyproject.toml aiodns + aiohasupervisor aiohttp aiohttp-cors aiohttp-fast-zlib @@ -512,7 +514,6 @@ in python.pkgs.buildPythonApplication rec { orjson packaging pillow - pip psutil-home-assistant pyjwt pyopenssl @@ -523,6 +524,7 @@ in python.pkgs.buildPythonApplication rec { typing-extensions ulid-transform urllib3 + uv voluptuous voluptuous-openapi voluptuous-serialize @@ -530,8 +532,6 @@ in python.pkgs.buildPythonApplication rec { # REQUIREMENTS in homeassistant/auth/mfa_modules/totp.py and homeassistant/auth/mfa_modules/notify.py pyotp pyqrcode - # Implicit dependency via homeassistant/requirements.py - packaging ]; makeWrapperArgs = lib.optional skipPip "--add-flags --skip-pip"; @@ -587,6 +587,8 @@ in python.pkgs.buildPythonApplication rec { "--deselect=tests/helpers/test_script.py::test_parallel_error" "--deselect=tests/helpers/test_script.py::test_propagate_error_service_not_found" "--deselect=tests/helpers/test_script.py::test_continue_on_error_automation_issue" + # checks whether pip is installed + "--deselect=tests/util/test_package.py::test_check_package_fragment" # tests are located in tests/ "tests" ]; From a705fce17279eac8007744a035c8a8b7835d189d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 4 Oct 2024 02:36:45 +0200 Subject: [PATCH 34/34] python312Packages.homeassistant-stubs: 2024.9.3 -> 2024.10.0 https://github.com/KapJI/homeassistant-stubs/releases/tag/2024.10.0 --- pkgs/servers/home-assistant/stubs.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/home-assistant/stubs.nix b/pkgs/servers/home-assistant/stubs.nix index 93b21249b886bd2..da133b6a9c06bac 100644 --- a/pkgs/servers/home-assistant/stubs.nix +++ b/pkgs/servers/home-assistant/stubs.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "homeassistant-stubs"; - version = "2024.9.3"; + version = "2024.10.0"; pyproject = true; disabled = python.version != home-assistant.python.version; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "KapJI"; repo = "homeassistant-stubs"; rev = "refs/tags/${version}"; - hash = "sha256-ohk0Gxq+q7PH/+SRMEu4KFz/xoc/TDeuEzTnMjaYMBU="; + hash = "sha256-CI8orK0iR8avP4zgdIo9EWa9G7fqAul9CF/rEZBqDbQ="; }; build-system = [