!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

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

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


SenderMessageTime
5 Nov 2024
@spacekookie:fairydust.spacekookieThanks! :)15:02:27
@spacekookie:fairydust.spacekookieAh okay. Yeah this project uses 0.7.1 so I guess I should do a PR to poetry2nix to update these?15:03:10
@spacekookie:fairydust.spacekookieI am getting that "unknown ruff version" warning :P Good to know where it comes from15:03:29
@k900:0upti.meK900Probably yes15:04:01
6 Nov 2024
@spacekookie:fairydust.spacekookie

I fixed the ruff problem (wip PR with not all the in-between versions added), now failing on the next hurdle: pydantic-xml fails to build because: No module named 'poetry'.

I read the edgecases.md and tried adding poetry to the build inputs of the package, but to no avail. Anything obviously wrong with this?

          pydantic-xml = super.pythonPackages.pydantic-xml.overridePythonAttrs
            (old: {
              buildInputs = (old.buildInputs or [ ]) ++ (pkgs.lib.traceVal [ super.poetry ]);
            });

(the trace is being printed as trace: [ «thunk» «thunk» ]

08:04:49
@spacekookie:fairydust.spacekookie *

I fixed the ruff problem (wip PR with not all the in-between versions added), now failing on the next hurdle: pydantic-xml fails to build because: No module named 'poetry'.

I read the edgecases.md and tried adding poetry to the build inputs of the package, but to no avail. Anything obviously wrong with this?

          pydantic-xml = super.pythonPackages.pydantic-xml.overridePythonAttrs
            (old: {
              buildInputs = (old.buildInputs or [ ]) ++ (pkgs.lib.traceVal [ super.poetry ]);
            });

(the trace is being printed as trace: [ «thunk» «thunk» ]

08:05:30
@k900:0upti.meK900 You probably want super.poetry-core 08:07:35
@k900:0upti.meK900Also, check build-systems.json08:07:41
@k900:0upti.meK900That's an easier way to do basically this08:07:45
@spacekookie:fairydust.spacekookieoh okay!08:10:44

Show newer messages


Back to Room ListRoom Version: 6