octoprint: fix python3.12 compat

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian Brandes 2024-07-08 12:22:33 +02:00
parent 81c768e223
commit 8e1727f6c3
No known key found for this signature in database
GPG Key ID: 074048E893713170

View File

@ -38,6 +38,17 @@ let
inherit version;
hash = "sha256-7e6bCn/yZiG9WowQ/0hK4oc3okENmbC7mmhQx/uXeqA=";
};
doCheck = false;
});
flask-login = super.flask-login.overridePythonAttrs (oldAttrs: rec {
version = "0.6.3";
src = fetchPypi {
pname = "Flask-Login";
inherit version;
hash = "sha256-XiPRSmB+8SgGxplZC4nQ8ODWe67sWZ11lHv5wUczAzM=";
};
build-system = [ self.setuptools ];
doCheck = false; # DeprecationWarnings
});
netaddr = super.netaddr.overridePythonAttrs (oldAttrs: rec {
@ -244,6 +255,9 @@ let
] ++ lib.optionals stdenv.isDarwin [
"test_set_external_modification"
];
disabledTestPaths = [
"tests/test_octoprint_setuptools.py" # fails due to distutils and python3.12
];
passthru = {
inherit (self) python;