Unverified Commit 75bd1bf6 authored by Emily's avatar Emily Committed by GitHub
Browse files

music-assistant: 2.7.6 -> 2.7.8 (#490466)

parents 0bffa40e 3426c75e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
diff --git a/music_assistant/helpers/util.py b/music_assistant/helpers/util.py
index bc14912b..d207b855 100644
index 377c7221..aaf6460d 100644
--- a/music_assistant/helpers/util.py
+++ b/music_assistant/helpers/util.py
@@ -274,7 +274,7 @@ async def get_ip_addresses(include_ipv6: bool = False) -> tuple[str, ...]:
                 if ip.is_IPv6 and not include_ipv6:
@@ -305,7 +305,7 @@ async def get_ip_addresses(include_ipv6: bool = False) -> tuple[str, ...]:
                     continue
                 ip_str = str(ip.ip)
                 # ifaddr returns IPv6 addresses as (address, flowinfo, scope_id) tuples
                 ip_str = ip.ip[0] if isinstance(ip.ip, tuple) else ip.ip
-                if ip_str.startswith(("127", "169.254")):
+                if ip_str.startswith(("127", "169.254")) and "PYTEST_VERSION" not in os.environ:
                     # filter out IPv4 loopback/APIPA address
+2 −2
Original line number Diff line number Diff line
@@ -7,13 +7,13 @@

buildPythonPackage rec {
  pname = "music-assistant-frontend";
  version = "2.17.76";
  version = "2.17.73";
  pyproject = true;

  src = fetchPypi {
    pname = "music_assistant_frontend";
    inherit version;
    hash = "sha256-wQ+6xD1BDajMIpz7VVH0j/AIgCcIVjv1Y/k/kMYv96U=";
    hash = "sha256-vmZa98pT5Cg22fa73/KTrMUqP4Axc1y4x710HCxBzIY=";
  };

  build-system = [ setuptools ];
+3 −2
Original line number Diff line number Diff line
@@ -47,14 +47,14 @@ assert

python.pkgs.buildPythonApplication rec {
  pname = "music-assistant";
  version = "2.7.6";
  version = "2.7.8";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "music-assistant";
    repo = "server";
    tag = version;
    hash = "sha256-tAzCEU8jFWENOy0WaAchuhQGjmQl8BTW9TuGZPJByPw=";
    hash = "sha256-o17H8cmMC8szh/hfgdq0JWCPh45TkrhuXOikr+DcBw8=";
  };

  patches = [
@@ -186,6 +186,7 @@ python.pkgs.buildPythonApplication rec {
    "tests/core/test_server_base.py::test_events"
    # provider is missing dependencies
    "tests/providers/nicovideo"
    "tests/providers/apple_music"
  ];

  pythonImportsCheck = [ "music_assistant" ];
+1 −1
Original line number Diff line number Diff line
# Do not edit manually, run ./update-providers.py

{
  version = "2.7.6";
  version = "2.7.8";
  providers = {
    airplay =
      ps: with ps; [