Sender | Message | Time |
---|---|---|
19 Jan 2022 | ||
[nix-shell:~/work/big-sur-poetry-test]$ which python /nix/store/avn3nqyfphpaakj2xijazsfry0g93f10-python3-3.9.6/bin/python | 23:24:59 | |
Redacted or Malformed Event | 23:26:44 | |
adisbladis: Ah I see, yes, makes sense that it's leaky docker-compose in nixpkgs. Should I move the bug report there? | 23:29:52 | |
In reply to @zupo:matrix.org I think so.
| 23:38:26 | |
This is a pretty pervasive problem in nixpkgs | 23:39:27 | |
And I think that the correct solution would be to change buildPythonApplication to not propagate python deps | 23:39:57 | |
zupo: I do the same thing for the Poetry derivation: https://github.com/nix-community/poetry2nix/blob/master/pkgs/poetry/default.nix#L41-L45 | 23:40:54 | |
20 Jan 2022 | ||
👍👍 thanks | 07:24:29 | |
08:41:34 | ||
09:35:41 | ||
14:36:36 | ||
Hi. I'm struggling in making a development shell for my project. It fails when trying to fetch pytest. I have made a minimal example: https://github.com/martiert/poetry2nix-pytest-error Not sure if this is a bug, or I'm doing something wrong? My ideal result of this is me being able to run | 14:42:00 | |
Just tried to build your flake and got this error
Just to save some time for whom who will look into issue | 14:45:59 | |
* Just tried to build your flake and got this error
Just to save some time for whom who will look into the issue | 14:46:59 | |
aaah, yeah. I forgot to add that. Thank you. | 14:47:25 | |
and that's when trying to build the pytest wheel. | 14:47:44 | |
My bet: issue lies inside nixpkgs buildPythonPackage , but it's only guess | 14:53:18 | |
you're probably right. but I'm completely out of my depths on what I can do to fix it. When making the application I had a package with the same issue, but adding doCheck = false in my mkPoetryApplication helped with that. Which is not a flag for the environment | 15:00:23 | |
I did not this by myself, but is it possible to create overlay over nixpkgs, in which you set doCheck = false for whatever package you want? | 15:30:05 | |
that's a good point, I'll have a look at doing that | 15:32:57 | |
* I did not do it by myself, but is it possible to create overlay over nixpkgs, in which you set doCheck = false for whatever package you want? | 15:32:57 | |
thank you | 15:33:21 | |
I saw a lot of snippets with overridePythonAttrs in this chat, maybe you could search in history for inspiration | 15:35:16 | |
* I did not do it by myself, but it is possible to create overlay over nixpkgs, in which you set doCheck = false for whatever package you want? | 15:36:45 | |
Redacted or Malformed Event | 17:17:31 | |
For future folks with this problem, updating to the 21.11 channel removed the error. | 17:18:11 | |
Use a newer Python | 17:22:12 | |
Python 3.7's pip does not understand OSX on M1 | 17:22:20 | |
21 Jan 2022 | ||
I did something somewhat heroic if I may say so myself: https://github.com/nix-community/poetry2nix/pull/525 | 02:05:32 | |
And a "small" follow-up https://github.com/nix-community/poetry2nix/pull/526 | 02:52:54 |