!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

301 Members
https://github.com/nix-community/poetry2nix54 Servers

Load older messages


SenderMessageTime
19 Jan 2022
@myme:matrix.orgmyme joined the room.10:43:30
@tcelferact:matrix.orgtcelferact hi adisbladis I don't have setuptools as a dependency in my poetry.lock, so I guess that would come from poetry2nix? 14:18:32
@k900:0upti.meK900It comes from your Python/pip14:19:21
@k900:0upti.meK900Easiest way is probably to use a newer Python than 3.714:19:30
@jakefromstatefarm:jupiterbroadcasting.comjake :: Stateless -> Farm joined the room.14:44:17
@mou_bugtracker:matrix.orgmouRedacted or Malformed Event16:23:13
@tcelferact:matrix.orgtcelferactUnfortunately that's not easier as the build is for a django monolith and upgrading would be a huge time investment. This must be specific to nix in some way as our docker image still builds fine on M1?16:28:10
@tcelferact:matrix.orgtcelferact

I tried upgrading to the 21.11 channel, but I now run into the following for uwsgi:

pip._internal.exceptions.InstallationError: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.

The dir that's supposedly missing the file (it's a tmp dir and I can't check) is /private/tmp/nix-build-python3.7-uwsgi-2.0.18.drv-0.

16:30:15
@tcelferact:matrix.orgtcelferactthis is probably just a distraction, apologies16:52:10
@tcelferact:matrix.orgtcelferact if setuptools is the problem, is there some way to patch the version used by nix's python 3.7 build? 16:52:36
@k900:0upti.meK900You can probably add a newer version to buildInputs17:14:40
@zupo:matrix.orgzupo joined the room.21:14:15
@zupo:matrix.orgzupogheesh hunting this bug down almost killed me: https://github.com/nix-community/poetry2nix/issues/52321:14:31
@zupo:matrix.orgzupobut I stand victorious! ⚔️ 🐛21:15:19
@adis:blad.isadisbladis
In reply to @zupo:matrix.org
gheesh hunting this bug down almost killed me: https://github.com/nix-community/poetry2nix/issues/523

I don't think this is a bug in poetry2nix, but an unfortunate side effect of how nixpkgs python infra propagates it's dependencies.

What does which python say?

22:18:21
@zupo:matrix.orgzupo[nix-shell:~/work/big-sur-poetry-test]$ which python /nix/store/avn3nqyfphpaakj2xijazsfry0g93f10-python3-3.9.6/bin/python23:24:59
@zupo:matrix.orgzupoRedacted or Malformed Event23:26:44

There are no newer messages yet.


Back to Room ListRoom Version: 6