Skip to content

Commit

Permalink
home-assistant: 2024.12.1 -> 2024.12.2 (#364287)
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored Dec 12, 2024
2 parents a6d6fac + ab434ba commit ea0f90c
Show file tree
Hide file tree
Showing 11 changed files with 109 additions and 38 deletions.
10 changes: 5 additions & 5 deletions pkgs/development/python-modules/aiounifi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
orjson,
pytest-aiohttp,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
segno,
Expand All @@ -16,7 +17,7 @@

buildPythonPackage rec {
pname = "aiounifi";
version = "80";
version = "81";
pyproject = true;

disabled = pythonOlder "3.11";
Expand All @@ -25,15 +26,13 @@ buildPythonPackage rec {
owner = "Kane610";
repo = "aiounifi";
rev = "refs/tags/v${version}";
hash = "sha256-320ptaKT+6mKUj9y+MvGovp4/XVbYIlDTb9lLXY7c1w=";
hash = "sha256-QuECmv/xWTNsC42JmPlYwN710Pu6L9jNbtOPJsUdM9k=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools==" "setuptools>=" \
--replace-fail "setuptools==75.6.0" "setuptools" \
--replace-fail "wheel==" "wheel>="
sed -i '/--cov=/d' pyproject.toml
'';

build-system = [ setuptools ];
Expand All @@ -48,6 +47,7 @@ buildPythonPackage rec {
aioresponses
pytest-aiohttp
pytest-asyncio
pytest-cov-stub
pytestCheckHook
trustme
];
Expand Down
8 changes: 3 additions & 5 deletions pkgs/development/python-modules/astropy-iers-data/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
pythonOlder,
setuptools,
setuptools-scm,
wheel,
}:

buildPythonPackage rec {
pname = "astropy-iers-data";
version = "0.2024.9.23.0.31.43";
version = "0.2024.12.9.0.36.21";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -19,13 +18,12 @@ buildPythonPackage rec {
owner = "astropy";
repo = "astropy-iers-data";
rev = "refs/tags/v${version}";
hash = "sha256-PGr8meqVs9l15+k5DHmcPcGK96ydN0nRUOBVfvCtRUg=";
hash = "sha256-SN4qDBY3hi0Gj+AH3SSDi5+hKrHMNgPR/Y6HR2Vid0A=";
};

nativeBuildInputs = [
build-system = [
setuptools
setuptools-scm
wheel
];

pythonImportsCheck = [ "astropy_iers_data" ];
Expand Down
97 changes: 85 additions & 12 deletions pkgs/development/python-modules/astropy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,66 @@
pythonOlder,

# build time
astropy-extension-helpers,
cython,
extension-helpers,
setuptools,
setuptools-scm,

# dependencies
astropy-iers-data,
numpy,
packaging,
pyerfa,
pyyaml,

# optional-depedencies
scipy,
matplotlib,
ipython,
ipywidgets,
ipykernel,
pandas,
certifi,
dask,
h5py,
pyarrow,
beautifulsoup4,
html5lib,
sortedcontainers,
pytz,
jplephem,
mpmath,
asdf,
asdf-astropy,
bottleneck,
fsspec,
s3fs,

# testing
pytestCheckHook,
stdenv,
pytest-xdist,
pytest-astropy-header,
pytest-astropy,
threadpoolctl,

# runtime
astropy-iers-data,
numpy,
packaging,
pyerfa,
pyyaml,
}:

buildPythonPackage rec {
pname = "astropy";
version = "6.1.4";
version = "7.0.0";
pyproject = true;

disabled = pythonOlder "3.10";

src = fetchPypi {
inherit pname version;
hash = "sha256-NhVY4rCTqZvr5p8f1H+shqGSYHpMFu05ugqACyq2DDQ=";
hash = "sha256-6S18n+6G6z34cU5d1Bu/nxY9ND4aGD2Vv2vQnkMTyUA=";
};

build-system = [
astropy-extension-helpers
cython
extension-helpers
setuptools
setuptools-scm
];
Expand All @@ -51,11 +77,54 @@ buildPythonPackage rec {
pyyaml
];

optional-dependencies = lib.fix (self: {
recommended = [
scipy
matplotlib
];
ipython = [
ipython
];
jupyter = [
ipywidgets
ipykernel
# ipydatagrid
pandas
] ++ self.ipython;
all =
[
certifi
dask
h5py
pyarrow
beautifulsoup4
html5lib
sortedcontainers
pytz
jplephem
mpmath
asdf
asdf-astropy
bottleneck
fsspec
s3fs
]
++ self.recommended
++ self.ipython
++ self.jupyter
++ dask.optional-dependencies.array
++ fsspec.optional-dependencies.http;
});

nativeCheckInputs = [
pytestCheckHook
pytest-xdist
pytest-astropy-header
pytest-astropy
];
threadpoolctl
] ++ optional-dependencies.recommended;

pythonImportsCheck = [ "astropy" ];

# Not running it inside the build directory. See:
# https://github.com/astropy/astropy/issues/15316#issuecomment-1722190547
Expand All @@ -64,8 +133,12 @@ buildPythonPackage rec {
export HOME="$(mktemp -d)"
export OMP_NUM_THREADS=$(( $NIX_BUILD_CORES / 4 ))
'';
pythonImportsCheck = [ "astropy" ];

disabledTests = [
# tests for all availability of all optional deps
"test_basic_testing_completeness"
"test_all_included"

# May fail due to parallelism, see:
# https://github.com/astropy/astropy/issues/15441
"TestUnifiedOutputRegistry"
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/bellows/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

buildPythonPackage rec {
pname = "bellows";
version = "0.42.2";
version = "0.42.5";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "bellows";
rev = "refs/tags/${version}";
hash = "sha256-qLTlkdX0nPTUEkVBgzStbYYAi6XpGIfs/KvC/EC8svE=";
hash = "sha256-RdNJmIhJR4Ubb4hppFkde8EeYHtFSoJp3CJPGj0463U=";
};

postPatch = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/deebot-client/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

buildPythonPackage rec {
pname = "deebot-client";
version = "9.2.0";
version = "9.3.0";
pyproject = true;

disabled = pythonOlder "3.12";
Expand All @@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "DeebotUniverse";
repo = "client.py";
rev = "refs/tags/${version}";
hash = "sha256-M1O0fSfli/kktfR+RB0pLCiUPriml+NQYbNFa0KZmRE=";
hash = "sha256-3+gVtBpOvkqQSA12ive8bbNPwv1Jmc5aZu1uCgWVsm4=";
};

pythonRelaxDeps = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/zha/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

buildPythonPackage rec {
pname = "zha";
version = "0.0.41";
version = "0.0.42";
pyproject = true;

disabled = pythonOlder "3.12";
Expand All @@ -36,7 +36,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zha";
rev = "refs/tags/${version}";
hash = "sha256-qtv61rh6qwsjBjUHJ5RWnFWBiPOUW03dRAHO2mq/4II=";
hash = "sha256-iju/WjndlwEZjforoVyoIb6oTJNlvkEnsoQH2d6tFlQ=";
};

postPatch = ''
Expand Down
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Do not edit!

{
version = "2024.12.1";
version = "2024.12.2";
components = {
"3_day_blinds" =
ps: with ps; [
Expand Down
6 changes: 3 additions & 3 deletions pkgs/servers/home-assistant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ let
extraBuildInputs = extraPackages python.pkgs;

# Don't forget to run update-component-packages.py after updating
hassVersion = "2024.12.1";
hassVersion = "2024.12.2";

in
python.pkgs.buildPythonApplication rec {
Expand All @@ -482,13 +482,13 @@ python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = "refs/tags/${version}";
hash = "sha256-Gmm8PfgxJYlTEGYKcteSMFbxDWFqmZ/Gt0qbuMe7oHg=";
hash = "sha256-jkIXvU5mPNp/sWtbVVN+SwydiHAkfkhjQ9s0SoqZhYY=";
};

# Secondary source is pypi sdist for translations
sdist = fetchPypi {
inherit pname version;
hash = "sha256-oQ53syzdVjd8HiO83YloDczDXDweZY4muAFB4HR8SJQ=";
hash = "sha256-72f40oVVgjf6XDCwkcZteuPjm/seoN651+wv3AlZDec=";
};

build-system = with python.pkgs; [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/home-assistant/frontend.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend";
version = "20241127.6";
version = "20241127.7";
format = "wheel";

src = fetchPypi {
inherit version format;
pname = "home_assistant_frontend";
dist = "py3";
python = "py3";
hash = "sha256-wNIkAuedlgHO05rGnxJHFOH2W5eQ45yGWK+tjLRLERo=";
hash = "sha256-kK47PO8RrDwslEY6l41fqi7/Uuym6YiBl4E5VpGrg80=";
};

# there is nothing to strip in this package
Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/home-assistant/intents.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

buildPythonPackage rec {
pname = "home-assistant-intents";
version = "2024.12.4";
version = "2024.12.9";
pyproject = true;

disabled = pythonOlder "3.9";
Expand All @@ -32,7 +32,7 @@ buildPythonPackage rec {
repo = "intents-package";
rev = "refs/tags/${version}";
fetchSubmodules = true;
hash = "sha256-5mSMezDPJmDaWdL5GeoED3CzjoJRU1CoDZL+6bK7x2Q=";
hash = "sha256-tjJLm3SCSKy2PWahzpEOHz1PgD1VNuxxpszhBWPrcOw=";
};

build-system = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/home-assistant/stubs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

buildPythonPackage rec {
pname = "homeassistant-stubs";
version = "2024.12.1";
version = "2024.12.2";
pyproject = true;

disabled = python.version != home-assistant.python.version;
Expand All @@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "KapJI";
repo = "homeassistant-stubs";
rev = "refs/tags/${version}";
hash = "sha256-j00wgk4oHZXNAJkosppVXMprDKeqvDMt+aq0MDms1gA=";
hash = "sha256-9wn+ZRie9eQT6J7nnYCHo9bpKWwcb6tqQnJoEmKGAxk=";
};

build-system = [
Expand Down

0 comments on commit ea0f90c

Please sign in to comment.