home-assistant: migrate to python 3.12

This commit is contained in:
Martin Weinelt 2024-03-02 22:33:20 +01:00
parent 610e71693b
commit 0b69a2b5db
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -4,7 +4,7 @@
, fetchFromGitHub
, fetchPypi
, fetchpatch
, python311
, python312
, substituteAll
, ffmpeg-headless
, inetutils
@ -375,6 +375,9 @@ let
inherit version;
hash = "sha256-6xjnunJoqIC/HM/pLlNOlqs04Dl/KNy8s/wNpPaltr0=";
};
pytestFlagsArray = [
"-W" "ignore::DeprecationWarning"
];
});
voluptuous = super.voluptuous.overridePythonAttrs (oldAttrs: rec {
@ -444,7 +447,7 @@ let
})
];
python = python311.override {
python = python312.override {
packageOverrides = lib.composeManyExtensions (defaultOverrides ++ [ packageOverrides ]);
};
@ -496,6 +499,7 @@ in python.pkgs.buildPythonApplication rec {
pythonRelaxDeps = [
"attrs"
"bcrypt"
"ciso8601"
"orjson"
"pyopenssl"