Poetry2nix | 300 Members | |
| https://github.com/nix-community/poetry2nix | Poetry2nix is unmaintained https://github.com/nix-community/poetry2nix/issues/1865 | 53 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Apr 2024 | ||
No, I believe there is no way to pass the NETRC file in, even following your documentation, because poetry2nix has the above bug in it that makes stuff only work via -I which isn't available in pure-eval. | 21:59:48 | |
| I'm triple checking that here | 21:59:55 | |
| Yeah, fixed it here anyway https://github.com/nix-community/poetry2nix/pull/1612 | 22:44:03 | |
| 25 Apr 2024 | ||
| 14:44:15 | ||
| 17:41:30 | ||
| 26 Apr 2024 | ||
In reply to @k900:0upti.meIs it possible we could go over this again please? I'm really trying to understand it, and would like to understand this code you wrote a bit better https://github.com/nix-community/poetry2nix/blob/master/default.nix#L233-L285 | 13:11:23 | |
| https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/python-modules/apsw/default.nix#L39 | 13:11:36 | |
apsw is a derivation that exists in nixpkgs. When poetry2nix encounters apsw in the pyproject.toml, does it use any information from nixpkgs that is already there, or is it making a completely unique derivation that doesn't re-use anything from nixpkgs? | 13:12:07 | |
| I'm about to submit a fix for apsw in the overrides.nix in poetry2nix, but want to understand it more first | 13:12:26 | |
When poetry2nix sees apsw uses the sources from pypi, which are wrong because they contain a setup.py which breaks the build, because it doesn't do the same thing as the setup.py from GitHub. | 13:13:00 | |
* When poetry2nix sees apsw uses the sources from pypi, which are wrong because they contain a setup.py which breaks the build, because it doesn't do the same thing as the setup.py from GitHub. | 13:13:09 | |
In addition sqlite is not in the buildInputs of the poetry2nix generated derivation, which implies nothing is added to poetry2nix by the pre-existing nixpkgs derivation | 13:14:04 | |
| Here's a minimal inputs = { outputs = { self, nixpkgs, flake-utils, poetry2nix }:
}
| 13:15:34 | |
| * Here's a minimal
| 13:15:56 | |
| and a pyproject.toml
| 13:16:11 | |
| * and a pyproject.toml
| 13:16:16 | |
| https://github.com/nix-community/poetry2nix/pull/1614 anyway | 14:00:42 | |
| maybe it's not the right way to fix it | 14:00:45 | |
| 18:32:59 | ||
| 29 Apr 2024 | ||
| Have anyone here had success getting | 06:55:09 | |
| 08:22:13 | ||
| 12:26:53 | ||
| 13:02:53 | ||
| 15:29:44 | ||
| Using the current version of the poetry2nix flake, I see poetry2nix being built against pkginfo 1.9.6. Unfortunately, to support metadata from the latest version of hatchling, we need pkginfo 1.10.x (per https://github.com/python-poetry/poetry/issues/9244). Because these are dependencies for poetry2nix itself rather than my project, the override mechanism doesn't apply; where should I start in trying to fix this? | 23:29:45 | |
| 30 Apr 2024 | ||
| 22:24:09 | ||
| 1 May 2024 | ||
| 15:07:27 | ||
In reply to @gaivs:matrix.orgNo, I got a network error. I will copy the error when I can | 16:14:16 | |
In reply to @rolandco:matrix.orgI ended up using dearpygui, works pretty well | 16:29:05 | |
| Wow, there are like 50 PR which were merged or closed in the past 24h 👀 Thanks a lot for that ! ❤️ | 21:08:36 | |