!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

509 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant133 Servers

Load older messages


SenderMessageTime
6 Apr 2025
@geoffrey:frogeye.frGeoffrey Frogeye * Any installation with local_calendar, local_todo or google, maybe more 17:52:44
@hexa:lossy.network@hexa:lossy.network
commit 6dbc44e8109c30a6523e0543a7ced88777e3d1dd
Merge: ebc05ccbb4d0 db07b2139708
Author: Vladimír Čunát <v@cunat.cz>
Date:   Sun Mar 23 18:54:15 2025 +0100

    tzdata: 2025a -> 2025b (#392462)

commit db07b21397089d01aebfe736181947ba65a9b42c
Author: Sergei Trofimovich <slyich@gmail.com>
Date:   Sun Mar 23 06:30:20 2025 +0000

    tzdata: 2025a -> 2025b
    
    Changes: https://github.com/eggert/tz/compare/2025a...2025b
    (cherry picked from commit 0e22650f6956c978a4dc68bfb3bb8c40b78070c1)

commit ebc05ccbb4d0342242fbae049aef758dce1e2808
Merge: 017303ab3b6f 4652098e774d
Author: Vladimír Čunát <v@cunat.cz>
Date:   Sun Mar 23 18:52:21 2025 +0100

    tzdata: 2024b -> 2025a (#392460)

commit 4652098e774d130001e046737792ffde1122c5ce
Author: Sergei Trofimovich <slyich@gmail.com>
Date:   Sat Jan 18 06:11:58 2025 +0000

    tzdata: 2024b -> 2025a
    
    Changes: https://github.com/eggert/tz/blob/2025a/NEWS
    (cherry picked from commit 892f0edfb10f1b74bc2bf6fa2b49eef170819b0f)
17:52:51
@hexa:lossy.network@hexa:lossy.networkthese look like plausible causes17:52:57
@geoffrey:frogeye.frGeoffrey FrogeyePretty sure it's 2025a -> 2025b17:53:31
@geoffrey:frogeye.frGeoffrey FrogeyeIt added the "America/Coyhaique" timezone https://lists.iana.org/hyperkitty/list/tz-announce@iana.org/thread/6JVHNHLB6I2WAYTQ75L6KEPEQHFXAJK3/17:54:21
@hexa:lossy.network@hexa:lossy.networkall of these were in the last channel bump17:54:23
@geoffrey:frogeye.frGeoffrey FrogeyeAlso bumping python3Packages.tzdata to 2025.1 (corresponds to not-the-python-package tzdata 2025a) was not enough, hence I went with 2025.217:55:30
@hexa:lossy.network@hexa:lossy.networkwhich is funny, since we bumped tzdata and python3.pkgs.tzdata is independent 🤔17:56:50
@hexa:lossy.network@hexa:lossy.networkand ical consumes the python version17:57:22
@hexa:lossy.network@hexa:lossy.networkare you mixing channels?17:57:49
@geoffrey:frogeye.frGeoffrey FrogeyeOn unstable it's fine because the bump of both tzdata are happening in the same staging batch (not sure that's the right terminology), it's a 24.11-only problem.17:58:31
@hexa:lossy.network@hexa:lossy.networkoh, python itself depends on tzdata17:58:45
@hexa:lossy.network@hexa:lossy.network

ical> E FileNotFoundError: [Errno 2] No such file or directory: '/nix/store/zpkj9lmgkrcinkwa9k458viszgmncx29-python3.12-tzdata-2024.2/lib/python3.12/site-packages/tzdata/zoneinfo/America/Coyhaique'

18:01:03
@hexa:lossy.network@hexa:lossy.networkso it clearly looks into the python tzdata package18:01:12
@hexa:lossy.network@hexa:lossy.networkwhich has not been bumped18:01:36
@hexa:lossy.network@hexa:lossy.networkand neither has ical been bumped18:01:42
@geoffrey:frogeye.frGeoffrey Frogeyeical can survive without being bumped18:02:14
@hexa:lossy.network@hexa:lossy.networkI am thoroughly confused how this started failing18:02:16
@hexa:lossy.network@hexa:lossy.networkpython3.pkgs.ical reads zone information from python3.pkgs.tzdata18:02:37
@hexa:lossy.network@hexa:lossy.networkneither were updated, but now python3.pkgs.ical fails to test18:02:48
@hexa:lossy.network@hexa:lossy.networkinstead tzdata was updated18:02:57
@geoffrey:frogeye.frGeoffrey Frogeye I haven't dug too much there, but I think: the list of timezones is provided by pkgs.tzdata. But python3.pkgs.ical does tests which requires additional data provided by python3.pkgs.tzdata? 18:04:02
@hexa:lossy.network@hexa:lossy.networkeither way, bumping python3.pkgs.tzdata will take 2-3 weeks at least18:06:09
@hexa:lossy.network@hexa:lossy.networkhttps://wiki.nixos.org/wiki/Home_Assistant#Tracking_the_latest_release18:08:25
@hexa:lossy.network@hexa:lossy.networkyou can use this snippet to track the latest release from unstable instead for the time being18:08:38
@geoffrey:frogeye.frGeoffrey Frogeye

I'm using this hack that requires no recompilation for my own setup, the PR was just so others didn't run into the same issue :)

    nixpkgs.overlays = [
      (final: prev: {
        pythonPackagesExtensions = (prev.pythonPackagesExtensions or [ ]) ++ [
          (pfinal: pprev: {
            ical = pprev.ical.override {
              tzdata = pprev.tzdata.overrideAttrs (
                tfinal: tprev: rec {
                  pname = "tzdata";
                  version = "2025.2";

                  src = prev.fetchPypi {
                    inherit pname version;
                    hash = "sha256-tgpjj8wNr/rfgv4PV+U9Br3sLzbE32YoCuebzmvW8rk=";
                  };

                }
              );
            };
          })
        ];
      })
    ];
18:09:10
@hexa:lossy.network@hexa:lossy.networkpytz also ships a timezone db 🥳18:09:50
@geoffrey:frogeye.frGeoffrey FrogeyeYeah, I get that I'm probably alone running Home Assistant on stable, but given I use almost 0 cloud services it's been quite stable :)18:11:26
@geoffrey:frogeye.frGeoffrey FrogeyeIs it still worth bumping python3.pkgs.tzdata... even if it will fix 24.11 for a whole month before it gets deprecated?18:12:50
@hexa:lossy.network@hexa:lossy.networkthe question is what other packages we'll need to bump18:26:51

Show newer messages


Back to Room ListRoom Version: 6