!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

319 Members
https://github.com/nix-community/poetry2nix63 Servers

Load older messages


SenderMessageTime
22 May 2024
@k900:0upti.meK900Probably optional dependencies somewhere11:30:37
@x10an14:matrix.orgx10an14Some of it might be explained by the python dependencies in the nix docker image not being compressed (as they seem to be in the original one). But what gives? Any options?11:30:43
@x10an14:matrix.orgx10an14
In reply to @k900:0upti.me
Probably optional dependencies somewhere
I made sure to specify the groups = [] list in mkPoetryApplication, so that can't be it, right? Or am I mistaken?
11:31:10
@k900:0upti.meK900Optional dependencies of dependencies11:31:21
@k900:0upti.meK900Possibly11:31:23
@k900:0upti.meK900But it's hard to tell11:31:25
@k900:0upti.meK900nix-tree?11:31:26
@x10an14:matrix.orgx10an14Need to read up on nix tree, I thought i could just give it my results folder, but alas11:32:56
@x10an14:matrix.orgx10an142024-05-22T13:44:20,258284425+02:00.png
Download 2024-05-22T13:44:20,258284425+02:00.png
11:45:01
@x10an14:matrix.orgx10an14According to nix-tree, I live in a world of impossibilities 🙃11:45:02
@x10an14:matrix.orgx10an14Does this make any sense to you?11:45:10
@k900:0upti.meK900You're looking at the drv file I think11:47:39
@x10an14:matrix.orgx10an14Hmm, okay. I guess a foray into learning nix-tree is next then, if I can afford the time.11:48:40
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:25:57
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:28:11
@elonsroadster:matrix.orgcolonelpanic changed their display name from elonsroadster to colonelpanic.20:10:20
@elonsroadster:matrix.orgcolonelpanicI feel like I'm probably missing something obvious, but I'm curious about what the easiest way to support a dependency that is not in nixpkgs or pypi is. Should I just use the built in nixpkgs tooling to define a nix build for that package and then add an override20:11:37
23 May 2024
@truh:matrix.orgtruh
In reply to @elonsroadster:matrix.org
I feel like I'm probably missing something obvious, but I'm curious about what the easiest way to support a dependency that is not in nixpkgs or pypi is. Should I just use the built in nixpkgs tooling to define a nix build for that package and then add an override
I have poetry git dependencies work fine with poetry2nix in my experience. Even with private repos.
08:20:58
@truh:matrix.orgtruh
In reply to @elonsroadster:matrix.org
I feel like I'm probably missing something obvious, but I'm curious about what the easiest way to support a dependency that is not in nixpkgs or pypi is. Should I just use the built in nixpkgs tooling to define a nix build for that package and then add an override
* poetry git dependencies work fine with poetry2nix in my experience. Even with private repos.
08:21:45
@j0xxx:nixbitcoin.orgwk changed their display name from j0xxx to wk.18:05:29
24 May 2024
@lambadada:matrix.orglambadada joined the room.18:52:13
27 May 2024
@jee_mj:matrix.orgmj joined the room.10:43:05
30 May 2024
@mosquitsch:matrix.orgMatthias Q joined the room.12:02:31
@mosquitsch:matrix.orgMatthias QRedacted or Malformed Event12:02:43
@mosquitsch:matrix.orgMatthias QHey Is it possible to have a check phase in mkPoetryApplication? I want to run unit tests there as well.12:03:37
@tcelferact:matrix.orgtcelferactRedacted or Malformed Event19:51:09
@tcelferact:matrix.orgtcelferact

Hi all,

I'm trying to build scikit-learn 1.5.0, and their changelog says they've switched to meson: https://scikit-learn.org/stable/whats_new/v1.5.html#version-1-5-0. When I add meson-python to nativeBuildInputs, metadata generation fails when running this file: https://github.com/scikit-learn/scikit-learn/blob/5491dc695dbe2c9bec3452be5f3c409706ff7ee7/sklearn/_build_utils/version.py

This seems like an opportunity to learn more about poetry2nix and submit a PR. Are there any good resources people can recommend on translating a meson build to a poetry2nix override?

Thanks!

20:18:15
7 Jun 2024
@tyberius_prime:matrix.orgTyberiusPrime (smilodon inopinatus)

I'm trying to patch the cython version used by a package:

peewee = super.peewee.overridePythonAttrs (old: let
            old_buildInputs = old.buildInputs or [];
            old_cython_filter = input: (builtins.substring 0 7 input.name) != "cython-";
          in {
            buildInputs =
              (builtins.filter old_cython_filter old_buildInputs);
              ++ [super.cython_0];
          });

But all I get is " error: value is a list while a set was expected" ...

Can anybody spot what I'm doing wrong?

12:11:44
@tyberius_prime:matrix.orgTyberiusPrime (smilodon inopinatus)or tell me if this is the wrong way to go about the problem in the first place12:12:01
@tyberius_prime:matrix.orgTyberiusPrime (smilodon inopinatus)ah, it's the input.name that's apperantly not an all entries of the list12:18:28

Show newer messages


Back to Room ListRoom Version: 6