Merge pull request #267465 from mweinelt/home-assistant-fixes

home-assistant: update disabled tests

authored by Martin Weinelt and committed by GitHub 3ecd815c 07adfe61

+6 -29
-29
pkgs/servers/home-assistant/default.nix
··· 279 279 }; 280 280 }); 281 281 282 - python-telegram-bot = super.python-telegram-bot.overridePythonAttrs (oldAttrs: rec { 283 - version = "13.15"; 284 - src = fetchFromGitHub { 285 - owner = "python-telegram-bot"; 286 - repo = "python-telegram-bot"; 287 - rev = "v${version}"; 288 - hash = "sha256-EViSjr/nnuJIDTwV8j/O50hJkWV3M5aTNnWyzrinoyg="; 289 - }; 290 - propagatedBuildInputs = [ 291 - self.apscheduler 292 - self.cachetools 293 - self.certifi 294 - self.cryptography 295 - self.decorator 296 - self.future 297 - self.tornado 298 - self.urllib3 299 - ]; 300 - setupPyGlobalFlags = [ "--with-upstream-urllib3" ]; 301 - postPatch = '' 302 - rm -r telegram/vendor 303 - substituteInPlace requirements.txt \ 304 - --replace "APScheduler==3.6.3" "APScheduler" \ 305 - --replace "cachetools==4.2.2" "cachetools" \ 306 - --replace "tornado==6.1" "tornado" 307 - ''; 308 - doCheck = false; 309 - }); 310 - 311 282 # Pinned due to API changes ~1.0 312 283 vultr = super.vultr.overridePythonAttrs (oldAttrs: rec { 313 284 version = "0.1.2";
+6
pkgs/servers/home-assistant/tests.nix
··· 49 49 # tries to retrieve file from github 50 50 "test_non_text_stdout_capture" 51 51 ]; 52 + sma = [ 53 + # missing operating_status attribute in entity 54 + "test_sensor_entities" 55 + ]; 52 56 vesync = [ 53 57 # homeassistant.components.vesync:config_validation.py:863 The 'vesync' option has been removed, please remove it from your configuration 54 58 "test_async_get_config_entry_diagnostics__single_humidifier" ··· 128 132 129 133 meta = old.meta // { 130 134 broken = lib.elem component [ 135 + # pinned version incompatible with urllib3>=2.0 136 + "telegram_bot" 131 137 ]; 132 138 # upstream only tests on Linux, so do we. 133 139 platforms = lib.platforms.linux;