| 24 Jun 2022 |
arpd | * i.e. more sensible than using python3.withPackages { ... } | 18:03:45 |
K900 | It's one of your dependencies | 18:05:03 |
K900 | I'm not sure which one | 18:05:08 |
K900 | But it is | 18:05:10 |
arpd | I wouldn't be surprised if it was sphinxcontrib-needs or sphinx-data-viewer, these are the reason I cannot use mach-nix or nixpkgs | 18:06:15 |
arpd | Let me try removing them.. | 18:06:23 |
K900 | Just leaving sphinxcontrib-needs loops | 18:07:33 |
arpd | yeah It's working now that I've gotten rid of it | 18:07:45 |
arpd | I had no idea that would be a problem, I thought my nix/poetry2nix-fu was just lacking | 18:08:07 |
K900 | It's definitely not a great failure mode | 18:08:19 |
K900 | File an issue on poetry2nix about it, maybe someone will dig in | 18:08:29 |
arpd | I wonder if it's the same thing that causes the mach-nix to fail.. it is one of the packages it couldn't build due to extra_requires having the wrong type | 18:09:27 |
arpd | But I thought it being a poetry project would sidestep that | 18:09:38 |
K900 | Oh | 18:10:58 |
K900 | I think it might be https://github.com/nix-community/poetry2nix/issues/648 | 18:11:00 |
arpd | Ooooh, let me try removing setuptools_scm | 18:11:33 |
arpd | It's not in my poetry.lock, so maybe it's the same problem with another package | 18:13:20 |
arpd | Oh, it wasn't there because I removed it from the toml. Yeah it's the same bug, thanks K900 ! | 18:14:50 |
| 25 Jun 2022 |
| teto joined the room. | 09:29:02 |
| 28 Jun 2022 |
K900 | adisbladis: arpd https://github.com/nix-community/poetry2nix/pull/673/files | 06:42:56 |
K900 | This should fix your issue maybe | 06:43:05 |
| 1 Jul 2022 |
| Xandor Schiefer joined the room. | 14:26:22 |
Xandor Schiefer | Hello! I'm new to Python and poetry2nix, though not to programming or Nix.
I'm joining a project that's using Poetry, though the other team member's don't use Nix.
The project has some dependencies on packages that are in private repositories that need credentials. poetry itself had no issue once I set some env vars but I'm not sure how to set this up for poetry2nix
| 14:28:19 |
Xandor Schiefer | I saw https://github.com/nix-community/poetry2nix/pull/390 but it's not 100% clear to me how I should actually use this | 14:29:04 |
| 2 Jul 2022 |
sephi | Does anyone know why adding a dependency in the form of a wheel URL doesn’t put any sha256 in the lockfile? | 08:37:24 |
sephi | I have the following dependency wagtail = {url = "https://github.com/sephii/wagtail/releases/download/v3.0.1/wagtail-3.0.1-py3-none-any.whl"} but in the lockfile I have wagtail = [], and then poetry2nix fails with error: in pure evaluation mode, 'fetchTarball' requires a 'sha256' argument | 08:38:02 |
K900 | Sounds like an upstream problem | 08:38:17 |
sephi | You mean a problem with poetry? It seems no one has reported this issue which seems quite… big | 08:40:19 |
sephi | (Python packaging is such a mess :/ ) | 08:43:12 |
K900 | Maybe just add it as a git dependency instead? | 08:44:47 |