| 19 Jan 2022 |
| myme joined the room. | 10:43:30 |
tcelferact | 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 | It comes from your Python/pip | 14:19:21 |
K900 | Easiest way is probably to use a newer Python than 3.7 | 14:19:30 |
| jake :: Stateless -> Farm joined the room. | 14:44:17 |
mou | Redacted or Malformed Event | 16:23:13 |
tcelferact | Unfortunately 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 | 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 | this is probably just a distraction, apologies | 16:52:10 |
tcelferact | 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 | You can probably add a newer version to buildInputs | 17:14:40 |
| zupo joined the room. | 21:14:15 |
zupo | gheesh hunting this bug down almost killed me: https://github.com/nix-community/poetry2nix/issues/523 | 21:14:31 |
zupo | but I stand victorious! ⚔️ 🐛 | 21:15:19 |
adisbladis | 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 | [nix-shell:~/work/big-sur-poetry-test]$ which python
/nix/store/avn3nqyfphpaakj2xijazsfry0g93f10-python3-3.9.6/bin/python | 23:24:59 |
zupo | Redacted or Malformed Event | 23:26:44 |