!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
27 Jun 2021
@hexa:lossy.network@hexa:lossy.networkbut for bisecting I commented the package setting in the test 16:25:38
@robert:funklause.dedotlambdaYeah i'm pretty sure that 19581cb9619d58f76e10293b7a57aaf477db28d9 is the culprit.16:25:43
@hexa:lossy.network@hexa:lossy.networknice16:26:13
@hexa:lossy.network@hexa:lossy.networkyeah, propagating setuptools from there was weird16:26:21
@hexa:lossy.network@hexa:lossy.networkso let's add setuptools to home assistant and be done with it I guess.16:27:21
@hexa:lossy.network@hexa:lossy.network

❯ rg setuptools
setup.py
5:from setuptools import find_packages, setup
16:27:46
@hexa:lossy.network@hexa:lossy.networkonly mention of setuptools in hass/core16:27:54
@robert:funklause.dedotlambda
In reply to @hexa:lossy.network
Yes, because ofBorg runs the tests as passthrough.tests, so we execute the package tests that way as well
ofborg also builds home-assistant, that runs the tests
16:28:16
@robert:funklause.dedotlambda
In reply to @hexa:lossy.network
only mention of setuptools in hass/core
pkg_resources is usually what is the run-time dependency
16:28:38
@hexa:lossy.network@hexa:lossy.networkso it should be cached?16:29:31
@robert:funklause.dedotlambdaWhat do you mean?16:31:04
@hexa:lossy.network@hexa:lossy.networkif it is built by ofborg it is probably cached, when the tests run16:31:20
@robert:funklause.dedotlambda
In reply to @hexa:lossy.network
if it is built by ofborg it is probably cached, when the tests run
oh yeah indeed, but building it without tests is cheap
16:31:55
@hexa:lossy.network@hexa:lossy.networktrue, but it would be a second package build I guess?16:32:25
@robert:funklause.dedotlambda We lose testing whether our default option for services.home-assistant.package works though. 16:32:30
@hexa:lossy.network@hexa:lossy.networkyeah, I don't mind either way16:32:42
@hexa:lossy.network@hexa:lossy.networki run the tests often enough16:32:49
@robert:funklause.dedotlambdaWill you make the PR adding setuptools?16:33:17
@robert:funklause.dedotlambda
In reply to @hexa:lossy.network
dotlambda: Fabian Affolter I'm tired big time, day after vaccination, so don't expect much from me 😵
Congrats on getting vaccinated btw!
16:36:14
@hexa:lossy.network@hexa:lossy.networkI'm a bit numb16:36:29
@hexa:lossy.network@hexa:lossy.networkit's day n+116:36:41
@hexa:lossy.network@hexa:lossy.networkso please just do it yourself :)16:36:50
@robert:funklause.dedotlambdaI didn't feel anything until I got really sick on day n+6, but that must have been unrelated.16:37:31
@robert:funklause.dedotlambda
In reply to @hexa:lossy.network
so please just do it yourself :)
It's ready, just waiting on the build to finish.
16:41:45
@robert:funklause.dedotlambda* It's ready, just waiting for the build to finish.16:41:53
@hexa:lossy.network@hexa:lossy.networkthanks!16:43:22
@hexa:lossy.network@hexa:lossy.network dotlambda: if you are in good standing, sure try and make that upstream pr. 21:02:35
@robert:funklause.dedotlambda
In reply to @hexa:lossy.network
dotlambda: if you are in good standing, sure try and make that upstream pr.
I'd rather not, given that I'd have to set up some environment to run their gen_requirements_all.py.
21:27:00
@hexa:lossy.network@hexa:lossy.network
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
  nativeBuildInputs = with pkgs; [
    bashInteractive
    pkg-config
    autoreconfHook
    python3.pkgs.setuptools
    python3
    libxslt
    doxygen
    graphviz
  ];
  # fix homeassistant-pyozw build
  NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ];
  buildInputs = with pkgs; [
    libxml2
    openssl
    libxslt
    libffi
    udev
    zlib
    ffmpeg
  ];
}
21:27:33
@hexa:lossy.network@hexa:lossy.networkpretty sure mic came up with that21:27:54

Show newer messages


Back to Room ListRoom Version: 6