Unverified Commit 742ea5dc authored by Martin Weinelt's avatar Martin Weinelt
Browse files

home-assistant: propagate pyotp and pyqrcode

These dependencies are not documented, but rather installed at runtime
as needed.

Propagate them to fix the OTP use case, where QR Codes need to be
generated, to e.g. scan them to your phone.
parent cbbbee5c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -432,6 +432,9 @@ in python.pkgs.buildPythonApplication rec {
    voluptuous
    voluptuous-serialize
    yarl
    # REQUIREMENTS in homeassistant/auth/mfa_modules/totp.py and homeassistant/auth/mfa_modules/notify.py
    pyotp
    pyqrcode
    # Implicit dependency via homeassistant/requirements.py
    setuptools
  ];
@@ -458,8 +461,6 @@ in python.pkgs.buildPythonApplication rec {
    respx
    syrupy
    tomli
    # required through tests/auth/mfa_modules/test_otp.py
    pyotp
    # Sneakily imported in tests/conftest.py
    paho-mqtt
  ] ++ lib.concatMap (component: getPackages component python.pkgs) [