| 9 Jan 2025 |
Sandro 🐧 | Fyi https://github.com/NixOS/nixpkgs/issues/372194 | 06:00:36 |
@hexa:lossy.network | we're on 3.13 already | 12:02:04 |
@rick:matrix.ciphernetics.nl | Also the channel advanced today so home assistant 2025.1.1 is available in nixos-unstable 🥳 | 13:04:04 |
Sandro 🐧 | In reply to @hexa:lossy.network we're on 3.13 already But only recently | 13:10:14 |
@hexa:lossy.network | but four days ahead of this issue | 13:10:41 |
@hexa:lossy.network | actually more like a week | 13:11:03 |
@hexa:lossy.network | couldn't happen before home-assistant adopted pydantic>=2.0 | 13:11:40 |
@hexa:lossy.network | which happend in 2025.1.0 | 13:11:44 |
@qbit:tapenet.org | seems this is coming from the icloud component | 14:18:11 |
@qbit:tapenet.org | … while calling the 'addErrorContext' builtin
at /nix/store/hbkwsrx232yhi5n7s7pvl40hcaha64vk-source/pkgs/development/interpreters/python/python-packages-base.nix:91:33:
90| pythonPath = [ ]; # Deprecated, for compatibility.
91| requiredPythonModules = builtins.addErrorContext "while calculating requiredPythonModules for ${drv.name or drv.pname}:" (
| ^
92| requiredPythonModules drv.propagatedBuildInputs
… while calculating requiredPythonModules for python3.13-pyicloud-1.0.0:
| 14:19:03 |
@qbit:tapenet.org | qbit@europa[0]:~/src/nixpkgs(master)% git describe
24.11-pre-105574-g3bc03725b89f
qbit@europa[0]:~/src/nixpkgs(master)% nix build .#python313Packages.pyicloud
error:
… while evaluating the attribute 'drvPath'
at /nix/store/3yrq2rssqls4mgra67i9ja5wfzh2vkqn-source/lib/customisation.nix:416:7:
415| // {
416| drvPath =
| ^
417| assert condition;
… while evaluating the attribute 'drvPath'
at /nix/store/3yrq2rssqls4mgra67i9ja5wfzh2vkqn-source/lib/customisation.nix:416:7:
415| // {
416| drvPath =
| ^
417| assert condition;
… while evaluating 'strict' to select 'drvPath' on it
at /builtin/derivation.nix:1:552:
(stack trace truncated; use '--show-trace' to show the full trace)
error: future-1.0.0 not supported for interpreter python3.13
qbit@europa[1]:~/src/nixpkgs(master)%
| 14:21:30 |
@hexa:lossy.network | future can most likely be stripped out | 14:30:30 |
@qbit:tapenet.org | ok, if python3Packages.pyicloud builds without futures is it safe to assume it's completely removable? (seems like it would) | 14:33:34 |
@hexa:lossy.network | most likely | 14:34:31 |
@hexa:lossy.network | but needs work | 14:34:33 |
@qbit:tapenet.org | https://github.com/NixOS/nixpkgs/pull/372395 | 14:46:50 |
@qbit:tapenet.org | done anyone have an example of overlaying home-assistant's python packages? (pyicloud :P) | 15:08:01 |
@qbit:tapenet.org | pyicloud = (_: super: {
home-assistant.python.pkgs.pyicloud = super.home-assistant.python.pkgs.pyicloud.overrideAttrs (_: {
propagatedBuildInputs = with super.pkgs.python313Packages; [
certifi
click
keyring
keyrings-alt
pytz
requests
six
tzlocal
];
});
});
.. maybe
| 15:22:56 |
@qbit:tapenet.org | error: attribute 'buildPythonPackage' missing
at /nix/store/hbkwsrx232yhi5n7s7pvl40hcaha64vk-source/pkgs/servers/home-assistant/build-custom-component/default.nix:20:1:
19| in
20| home-assistant.python.pkgs.buildPythonPackage (
.. maybe not :D
| 15:24:50 |
@hexa:lossy.network | no clue tbh 😄 | 15:24:52 |