Poetry2nix | 317 Members | |
| https://github.com/nix-community/poetry2nix | 61 Servers |
| Sender | Message | Time |
|---|---|---|
| 19 Jan 2022 | ||
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 | |
| K900: Those should resolve a lot of pain with manually creating overrides | 04:25:57 | |
In reply to @adis:blad.isThis actually broke aiosqlite for me :( | 06:59:22 | |
| Looks like the script detects it as depending on poetry | 07:00:53 | |
| But it actually uses flit | 07:00:57 | |
| Does anybody use Pycharm in conjunction with nix, flakes and poetry2nix? I know there are a million and one way to create environment, but i will very grateful for any snippet. | 07:50:45 | |