!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

303 Members
https://github.com/nix-community/poetry2nix54 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
11 Mar 2024
@dorekhov:matrix.orgDaniil Orekhov joined the room.17:50:16
@dorekhov:matrix.orgDaniil Orekhov i am trying to install sanic and getting No module named 'pkg_resources' for tracerite. I have tried adding setuptools as overrides to both sanic and tracerite, but the issue persists. Any suggestions on how to fix/dubug this issue? 19:45:11
@dorekhov:matrix.orgDaniil Orekhov * i am trying to install sanic and getting No module named 'pkg_resources' for tracerite. I have tried adding setuptools as overrides to both sanic and tracerite, but the issue persists. Any suggestions on how to fix/debug this issue? 19:45:27
12 Mar 2024
@gaivs:matrix.orggaivs Could you add pkg_resources, as that is the missing module? 10:41:38
13 Mar 2024
@matusf:matrix.orgmatusf Hello, how do you do local development with poetry2nix? I started from the template and created an app with mkPoetryApplication function and included it in a shell. Then I ran the package using python ./app/__init__.py and it successfully runs the program. I noticed that I can edit the sources and without rebuilding I'm able to run it with the same command and see the change. Is this the correct way to use poetry2nix for local development? Are there any pitfalls in this solution? I'm bit unsure because I've seen mkPoetryEditablePackage function. When should one use it instead of mkPoetryApplication as I described? 01:24:29
@dantefromhell:matrix.org@dantefromhell:matrix.org joined the room.15:00:37
@dantefromhell:matrix.org@dantefromhell:matrix.orgI'm using `poetry2nix` inside a flake and it duplicates my `systems` input via `inputs.flake-utils.systems`. since `poetry2nix` already has `inputs.systems` I wonder if it's intentional that `flake-utils` is not following this input?15:05:22
14 Mar 2024
@federicodschonborn:matrix.org@federicodschonborn:matrix.org left the room.02:04:48
@vbear:matrix.orgVebjørn Halvorsen joined the room.12:31:31
@vbear:matrix.orgVebjørn HalvorsenIm getting this error when trying to install tensorflow: 🤔 974| (old.buildInputs or [ ]) 975| ++ [ pkgs.hdf5 self.pkg-config ] | ^ 976| ++ lib.optional mpiSupport mpi Did you mean pkgconfig?12:32:31
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:45:09
@tcarls:matrix.orgCharles Duffy How does one set overlays &c when using mkPoetryScriptsPackage? I tried setting python = myPoetryEnv, but that's not actually putting the dependencies in that poetryEnv (which does have overrides &c defined) in the PYTHONPATH. 20:40:19

Show newer messages


Back to Room ListRoom Version: 6