home-assistant: 2024.12.1 -> 2024.12.2 (#364287)

authored by Martin Weinelt and committed by GitHub ea0f90c3 a6d6facd

+109 -38
+5 -5
pkgs/development/python-modules/aiounifi/default.nix
··· 7 7 orjson, 8 8 pytest-aiohttp, 9 9 pytest-asyncio, 10 + pytest-cov-stub, 10 11 pytestCheckHook, 11 12 pythonOlder, 12 13 segno, ··· 16 17 17 18 buildPythonPackage rec { 18 19 pname = "aiounifi"; 19 - version = "80"; 20 + version = "81"; 20 21 pyproject = true; 21 22 22 23 disabled = pythonOlder "3.11"; ··· 25 26 owner = "Kane610"; 26 27 repo = "aiounifi"; 27 28 rev = "refs/tags/v${version}"; 28 - hash = "sha256-320ptaKT+6mKUj9y+MvGovp4/XVbYIlDTb9lLXY7c1w="; 29 + hash = "sha256-QuECmv/xWTNsC42JmPlYwN710Pu6L9jNbtOPJsUdM9k="; 29 30 }; 30 31 31 32 postPatch = '' 32 33 substituteInPlace pyproject.toml \ 33 - --replace-fail "setuptools==" "setuptools>=" \ 34 + --replace-fail "setuptools==75.6.0" "setuptools" \ 34 35 --replace-fail "wheel==" "wheel>=" 35 - 36 - sed -i '/--cov=/d' pyproject.toml 37 36 ''; 38 37 39 38 build-system = [ setuptools ]; ··· 48 47 aioresponses 49 48 pytest-aiohttp 50 49 pytest-asyncio 50 + pytest-cov-stub 51 51 pytestCheckHook 52 52 trustme 53 53 ];
+3 -5
pkgs/development/python-modules/astropy-iers-data/default.nix
··· 5 5 pythonOlder, 6 6 setuptools, 7 7 setuptools-scm, 8 - wheel, 9 8 }: 10 9 11 10 buildPythonPackage rec { 12 11 pname = "astropy-iers-data"; 13 - version = "0.2024.9.23.0.31.43"; 12 + version = "0.2024.12.9.0.36.21"; 14 13 pyproject = true; 15 14 16 15 disabled = pythonOlder "3.8"; ··· 19 18 owner = "astropy"; 20 19 repo = "astropy-iers-data"; 21 20 rev = "refs/tags/v${version}"; 22 - hash = "sha256-PGr8meqVs9l15+k5DHmcPcGK96ydN0nRUOBVfvCtRUg="; 21 + hash = "sha256-SN4qDBY3hi0Gj+AH3SSDi5+hKrHMNgPR/Y6HR2Vid0A="; 23 22 }; 24 23 25 - nativeBuildInputs = [ 24 + build-system = [ 26 25 setuptools 27 26 setuptools-scm 28 - wheel 29 27 ]; 30 28 31 29 pythonImportsCheck = [ "astropy_iers_data" ];
+85 -12
pkgs/development/python-modules/astropy/default.nix
··· 5 5 pythonOlder, 6 6 7 7 # build time 8 - astropy-extension-helpers, 9 8 cython, 9 + extension-helpers, 10 10 setuptools, 11 11 setuptools-scm, 12 12 13 + # dependencies 14 + astropy-iers-data, 15 + numpy, 16 + packaging, 17 + pyerfa, 18 + pyyaml, 19 + 20 + # optional-depedencies 21 + scipy, 22 + matplotlib, 23 + ipython, 24 + ipywidgets, 25 + ipykernel, 26 + pandas, 27 + certifi, 28 + dask, 29 + h5py, 30 + pyarrow, 31 + beautifulsoup4, 32 + html5lib, 33 + sortedcontainers, 34 + pytz, 35 + jplephem, 36 + mpmath, 37 + asdf, 38 + asdf-astropy, 39 + bottleneck, 40 + fsspec, 41 + s3fs, 42 + 13 43 # testing 14 44 pytestCheckHook, 15 45 stdenv, 16 46 pytest-xdist, 47 + pytest-astropy-header, 17 48 pytest-astropy, 49 + threadpoolctl, 18 50 19 - # runtime 20 - astropy-iers-data, 21 - numpy, 22 - packaging, 23 - pyerfa, 24 - pyyaml, 25 51 }: 26 52 27 53 buildPythonPackage rec { 28 54 pname = "astropy"; 29 - version = "6.1.4"; 55 + version = "7.0.0"; 30 56 pyproject = true; 31 57 32 58 disabled = pythonOlder "3.10"; 33 59 34 60 src = fetchPypi { 35 61 inherit pname version; 36 - hash = "sha256-NhVY4rCTqZvr5p8f1H+shqGSYHpMFu05ugqACyq2DDQ="; 62 + hash = "sha256-6S18n+6G6z34cU5d1Bu/nxY9ND4aGD2Vv2vQnkMTyUA="; 37 63 }; 38 64 39 65 build-system = [ 40 - astropy-extension-helpers 41 66 cython 67 + extension-helpers 42 68 setuptools 43 69 setuptools-scm 44 70 ]; ··· 51 77 pyyaml 52 78 ]; 53 79 80 + optional-dependencies = lib.fix (self: { 81 + recommended = [ 82 + scipy 83 + matplotlib 84 + ]; 85 + ipython = [ 86 + ipython 87 + ]; 88 + jupyter = [ 89 + ipywidgets 90 + ipykernel 91 + # ipydatagrid 92 + pandas 93 + ] ++ self.ipython; 94 + all = 95 + [ 96 + certifi 97 + dask 98 + h5py 99 + pyarrow 100 + beautifulsoup4 101 + html5lib 102 + sortedcontainers 103 + pytz 104 + jplephem 105 + mpmath 106 + asdf 107 + asdf-astropy 108 + bottleneck 109 + fsspec 110 + s3fs 111 + ] 112 + ++ self.recommended 113 + ++ self.ipython 114 + ++ self.jupyter 115 + ++ dask.optional-dependencies.array 116 + ++ fsspec.optional-dependencies.http; 117 + }); 118 + 54 119 nativeCheckInputs = [ 55 120 pytestCheckHook 56 121 pytest-xdist 122 + pytest-astropy-header 57 123 pytest-astropy 58 - ]; 124 + threadpoolctl 125 + ] ++ optional-dependencies.recommended; 126 + 127 + pythonImportsCheck = [ "astropy" ]; 59 128 60 129 # Not running it inside the build directory. See: 61 130 # https://github.com/astropy/astropy/issues/15316#issuecomment-1722190547 ··· 64 133 export HOME="$(mktemp -d)" 65 134 export OMP_NUM_THREADS=$(( $NIX_BUILD_CORES / 4 )) 66 135 ''; 67 - pythonImportsCheck = [ "astropy" ]; 136 + 68 137 disabledTests = [ 138 + # tests for all availability of all optional deps 139 + "test_basic_testing_completeness" 140 + "test_all_included" 141 + 69 142 # May fail due to parallelism, see: 70 143 # https://github.com/astropy/astropy/issues/15441 71 144 "TestUnifiedOutputRegistry"
+2 -2
pkgs/development/python-modules/bellows/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "bellows"; 21 - version = "0.42.2"; 21 + version = "0.42.5"; 22 22 pyproject = true; 23 23 24 24 disabled = pythonOlder "3.8"; ··· 27 27 owner = "zigpy"; 28 28 repo = "bellows"; 29 29 rev = "refs/tags/${version}"; 30 - hash = "sha256-qLTlkdX0nPTUEkVBgzStbYYAi6XpGIfs/KvC/EC8svE="; 30 + hash = "sha256-RdNJmIhJR4Ubb4hppFkde8EeYHtFSoJp3CJPGj0463U="; 31 31 }; 32 32 33 33 postPatch = ''
+2 -2
pkgs/development/python-modules/deebot-client/default.nix
··· 21 21 22 22 buildPythonPackage rec { 23 23 pname = "deebot-client"; 24 - version = "9.2.0"; 24 + version = "9.3.0"; 25 25 pyproject = true; 26 26 27 27 disabled = pythonOlder "3.12"; ··· 30 30 owner = "DeebotUniverse"; 31 31 repo = "client.py"; 32 32 rev = "refs/tags/${version}"; 33 - hash = "sha256-M1O0fSfli/kktfR+RB0pLCiUPriml+NQYbNFa0KZmRE="; 33 + hash = "sha256-3+gVtBpOvkqQSA12ive8bbNPwv1Jmc5aZu1uCgWVsm4="; 34 34 }; 35 35 36 36 pythonRelaxDeps = [
+2 -2
pkgs/development/python-modules/zha/default.nix
··· 27 27 28 28 buildPythonPackage rec { 29 29 pname = "zha"; 30 - version = "0.0.41"; 30 + version = "0.0.42"; 31 31 pyproject = true; 32 32 33 33 disabled = pythonOlder "3.12"; ··· 36 36 owner = "zigpy"; 37 37 repo = "zha"; 38 38 rev = "refs/tags/${version}"; 39 - hash = "sha256-qtv61rh6qwsjBjUHJ5RWnFWBiPOUW03dRAHO2mq/4II="; 39 + hash = "sha256-iju/WjndlwEZjforoVyoIb6oTJNlvkEnsoQH2d6tFlQ="; 40 40 }; 41 41 42 42 postPatch = ''
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 2 2 # Do not edit! 3 3 4 4 { 5 - version = "2024.12.1"; 5 + version = "2024.12.2"; 6 6 components = { 7 7 "3_day_blinds" = 8 8 ps: with ps; [
+3 -3
pkgs/servers/home-assistant/default.nix
··· 461 461 extraBuildInputs = extraPackages python.pkgs; 462 462 463 463 # Don't forget to run update-component-packages.py after updating 464 - hassVersion = "2024.12.1"; 464 + hassVersion = "2024.12.2"; 465 465 466 466 in 467 467 python.pkgs.buildPythonApplication rec { ··· 482 482 owner = "home-assistant"; 483 483 repo = "core"; 484 484 rev = "refs/tags/${version}"; 485 - hash = "sha256-Gmm8PfgxJYlTEGYKcteSMFbxDWFqmZ/Gt0qbuMe7oHg="; 485 + hash = "sha256-jkIXvU5mPNp/sWtbVVN+SwydiHAkfkhjQ9s0SoqZhYY="; 486 486 }; 487 487 488 488 # Secondary source is pypi sdist for translations 489 489 sdist = fetchPypi { 490 490 inherit pname version; 491 - hash = "sha256-oQ53syzdVjd8HiO83YloDczDXDweZY4muAFB4HR8SJQ="; 491 + hash = "sha256-72f40oVVgjf6XDCwkcZteuPjm/seoN651+wv3AlZDec="; 492 492 }; 493 493 494 494 build-system = with python.pkgs; [
+2 -2
pkgs/servers/home-assistant/frontend.nix
··· 8 8 # the frontend version corresponding to a specific home-assistant version can be found here 9 9 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json 10 10 pname = "home-assistant-frontend"; 11 - version = "20241127.6"; 11 + version = "20241127.7"; 12 12 format = "wheel"; 13 13 14 14 src = fetchPypi { ··· 16 16 pname = "home_assistant_frontend"; 17 17 dist = "py3"; 18 18 python = "py3"; 19 - hash = "sha256-wNIkAuedlgHO05rGnxJHFOH2W5eQ45yGWK+tjLRLERo="; 19 + hash = "sha256-kK47PO8RrDwslEY6l41fqi7/Uuym6YiBl4E5VpGrg80="; 20 20 }; 21 21 22 22 # there is nothing to strip in this package
+2 -2
pkgs/servers/home-assistant/intents.nix
··· 22 22 23 23 buildPythonPackage rec { 24 24 pname = "home-assistant-intents"; 25 - version = "2024.12.4"; 25 + version = "2024.12.9"; 26 26 pyproject = true; 27 27 28 28 disabled = pythonOlder "3.9"; ··· 32 32 repo = "intents-package"; 33 33 rev = "refs/tags/${version}"; 34 34 fetchSubmodules = true; 35 - hash = "sha256-5mSMezDPJmDaWdL5GeoED3CzjoJRU1CoDZL+6bK7x2Q="; 35 + hash = "sha256-tjJLm3SCSKy2PWahzpEOHz1PgD1VNuxxpszhBWPrcOw="; 36 36 }; 37 37 38 38 build-system = [
+2 -2
pkgs/servers/home-assistant/stubs.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "homeassistant-stubs"; 13 - version = "2024.12.1"; 13 + version = "2024.12.2"; 14 14 pyproject = true; 15 15 16 16 disabled = python.version != home-assistant.python.version; ··· 19 19 owner = "KapJI"; 20 20 repo = "homeassistant-stubs"; 21 21 rev = "refs/tags/${version}"; 22 - hash = "sha256-j00wgk4oHZXNAJkosppVXMprDKeqvDMt+aq0MDms1gA="; 22 + hash = "sha256-9wn+ZRie9eQT6J7nnYCHo9bpKWwcb6tqQnJoEmKGAxk="; 23 23 }; 24 24 25 25 build-system = [