!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

297 Members
https://github.com/nix-community/poetry2nix | Poetry2nix is unmaintained https://github.com/nix-community/poetry2nix/issues/186553 Servers

Load older messages


SenderMessageTime
28 Oct 2023
@pcloud:matrix.orgcpcloudAny objections?11:03:59
@pcloud:matrix.orgcpcloudWhoops looks like I broke CI11:32:30
@pcloud:matrix.orgcpcloudFixing now11:32:32
@pcloud:matrix.orgcpcloudhttps://github.com/nix-community/poetry2nix/pull/138411:39:13
30 Oct 2023
@nullrequest:matrix.orgmoved to @lunarequest:greyseal.ue changed their display name from 🏳️‍⚧️ nullrequest(she/her) to moved to @lunarequest:greyseal.ue.08:00:36
31 Oct 2023
@aljosa.mohorovic:matrix.org@aljosa.mohorovic:matrix.org left the room.09:51:46
1 Nov 2023
@k900:0upti.meK900I think something got borked in the last few changes08:33:14
@k900:0upti.meK900 I'm getting /nix/store/lh0777wgx8gb3qrxz57a3mv6d388b4jf-python3.11-pydantic-core-2.10.1/lib/python3.11/site-packages/pydantic_core/_pydantic_core.cpython-310-x86_64-linux-gnu.so 08:34:44
@k900:0upti.meK900(note the 310 tag)08:34:52
@k900:0upti.meK900I assume this was https://github.com/nix-community/poetry2nix/commit/02b932909de5125328cfcaadd660cc73012592ce08:35:14
@k900:0upti.meK900 Ping @adisbladis 08:35:17
@adis:blad.isadisbladisUgh -.- I was only supposed to push that last commit08:36:15
@adis:blad.isadisbladis K900 ⚡️: Reverted 08:36:33
@adis:blad.isadisbladisProbably this is a good time to ban master pushes :P08:36:55
@k900:0upti.meK900So does it just not work correctly right now?08:37:00
@k900:0upti.meK900I mean the pyproject.nix change08:37:05
@adis:blad.isadisbladisNo, the wheel selection stuff isn't done yet08:37:23
@k900:0upti.meK900Oh08:37:28
@k900:0upti.meK900Got it08:37:29
@adis:blad.isadisbladisThe rest of the pyproject.nix changes works alright afaik08:37:40
2 Nov 2023
@adis:blad.isadisbladisFollow-up to yesterdays accidental push https://github.com/nix-community/poetry2nix/pull/138703:49:34
@adis:blad.isadisbladis If you're on x86_64-darwin and you don't get wheels selected after updating poetry2nix, this PR is why ( https://github.com/nix-community/poetry2nix/pull/1387#issuecomment-1790016973 ) 09:44:36
@nazarewk:matrix.orgkdnRedacted or Malformed Event09:56:04
@adis:blad.isadisbladis
In reply to @adis:blad.is
Follow-up to yesterdays accidental push https://github.com/nix-community/poetry2nix/pull/1387
I'm so happy about this. This was the last janky ass metadata integration stuff we had in poetry2nix.
11:34:09
@k900:0upti.meK900Very cool11:34:32
@virtu:matrix.imvirtu

In the latest flake template from poetry2nix, inherit (poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }) mkPoetryApplication; is used so mkPoetryApplication can be used in the output.

How can I use mkPoetryApplication if I'm not using flake-utils?

11:57:46
@virtu:matrix.imvirtu Before I switched to out-of-tree poetry2nix, it was simply pkgs.${system}.poetry2nix.mkPoetryApplication. I thought I can just use poetry2nix.mkPoetryApplication, but that won't work. 11:58:44
@adis:blad.isadisbladis
In reply to @virtu:matrix.im

In the latest flake template from poetry2nix, inherit (poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }) mkPoetryApplication; is used so mkPoetryApplication can be used in the output.

How can I use mkPoetryApplication if I'm not using flake-utils?

That has nothing to do with flake-utils or not
12:02:55
@virtu:matrix.imvirtu

adisbladis: you're certainly right. I'm just having difficulty translating the statement to the code that's used by the flake python template. In poetry2nix's template, it's:

        pkgs = nixpkgs.legacyPackages.${system};
        inherit (poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }) mkPoetryApplication;

In the flake python template, it's:

    let
      supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
      forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
      pkgs = forAllSystems (system: nixpkgs.legacyPackages.${system});
    in
12:05:05
@adis:blad.isadisbladisIs your repo public somewhere? It's a bit hard to tell where things go wrong without more context.12:06:13

Show newer messages


Back to Room ListRoom Version: 6