!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

331 Members
https://github.com/nix-community/poetry2nix62 Servers

Load older messages


SenderMessageTime
24 Jun 2022
@arpd:matrix.orgarpd * i.e. more sensible than using python3.withPackages { ... } 18:03:45
@k900:0upti.meK900It's one of your dependencies18:05:03
@k900:0upti.meK900I'm not sure which one18:05:08
@k900:0upti.meK900But it is18:05:10
@arpd:matrix.orgarpd 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:matrix.orgarpdLet me try removing them..18:06:23
@k900:0upti.meK900 Just leaving sphinxcontrib-needs loops 18:07:33
@arpd:matrix.orgarpdyeah It's working now that I've gotten rid of it18:07:45
@arpd:matrix.orgarpdI had no idea that would be a problem, I thought my nix/poetry2nix-fu was just lacking18:08:07
@k900:0upti.meK900It's definitely not a great failure mode18:08:19
@k900:0upti.meK900File an issue on poetry2nix about it, maybe someone will dig in18:08:29
@arpd:matrix.orgarpd 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:matrix.orgarpdBut I thought it being a poetry project would sidestep that18:09:38
@k900:0upti.meK900Oh18:10:58
@k900:0upti.meK900I think it might be https://github.com/nix-community/poetry2nix/issues/64818:11:00
@arpd:matrix.orgarpdOoooh, let me try removing setuptools_scm18:11:33
@arpd:matrix.orgarpdIt's not in my poetry.lock, so maybe it's the same problem with another package18:13:20
@arpd:matrix.orgarpd 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
@keiichi:matrix.orgteto joined the room.09:29:02
28 Jun 2022
@k900:0upti.meK900 adisbladis: arpd https://github.com/nix-community/poetry2nix/pull/673/files 06:42:56
@k900:0upti.meK900This should fix your issue maybe06:43:05
1 Jul 2022
@zeorin:matrix.orgXandor Schiefer joined the room.14:26:22
@zeorin:matrix.orgXandor 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
@zeorin:matrix.orgXandor SchieferI saw https://github.com/nix-community/poetry2nix/pull/390 but it's not 100% clear to me how I should actually use this14:29:04
2 Jul 2022
@sephi:matrix.orgsephiDoes 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:matrix.orgsephi 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:0upti.meK900Sounds like an upstream problem08:38:17
@sephi:matrix.orgsephiYou mean a problem with poetry? It seems no one has reported this issue which seems quite… big08:40:19
@sephi:matrix.orgsephi(Python packaging is such a mess :/ )08:43:12
@k900:0upti.meK900Maybe just add it as a git dependency instead?08:44:47

Show newer messages


Back to Room ListRoom Version: 6