| 15 Mar 2023 |
hexa | some get dumped into to propagatedBuildInputs, as if they were required | 09:40:20 |
hexa | some become optional using enableSomething flags | 09:40:32 |
hexa | some get entirely ignored | 09:40:36 |
hexa | also not a fan of the undiscoverable enableFlag design | 09:46:29 |
hexa | also toggling these flags forces a rebuild of the package, when providing a proper PYTHONPATH would be sufficient | 10:02:25 |
hexa | ma27: config inspection to derive required extras? yay/nay? | 11:36:43 |
ma27 | so your suggestion would be to handle optional dependencies (such as systemd/redis and probably more, e.g. prometheus_client which is IIRC only needed when actually exposing metrics) the same way as we do it with plugins (i.e. adding them to PYTHONPATH in the service)? Havent' thought too much about it, but after a first glance I'd say it sounds pretty reasonable, hence Yay from me %) | 11:57:36 |
hexa | yep 🙂 | 12:00:36 |
hexa | make the default closure small | 12:00:44 |
hexa | make sure extras and plugins don't cause a rebuild, so everyone can rely on the cached package | 12:01:01 |
hexa | Redacted or Malformed Event | 12:01:54 |