Unverified Commit 8e1727f6 authored by Florian Brandes's avatar Florian Brandes
Browse files

octoprint: fix python3.12 compat

parent 81c768e2
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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;