Poetry2nix | 326 Members | |
| https://github.com/nix-community/poetry2nix | 61 Servers |
| Sender | Message | Time |
|---|---|---|
| 24 Jan 2022 | ||
In reply to @mou_bugtracker:matrix.orgThat's already being done, but only for local path dependencies | 17:12:12 | |
| Since doing that for remote dependencies would be IFD | 17:12:27 | |
| IFD? sorry, i'm not aware of acronym or idiom | 17:13:57 | |
| Import From Derivation | 17:15:08 | |
| https://nixos.wiki/wiki/Import_From_Derivation | 17:15:10 | |
| It's problematic because you're interleaving evaluation and building | 17:15:55 | |
| You're essentially evaluating a bit, pausing the whole evaluation for building something, and then using the build result for evaluation | 17:16:32 | |
| 25 Jan 2022 | ||
| adisbladis: as promised i made a small document on my solution for building with missed poetry build tool. I'm not insisting on this is appropriate structure or content to include in repository, but it's contains information i really like to get when encountered such problem. Feel free to use it (or not use at all) whatever way you like. Suggestions from everyone else also welcome. Text may contains many grammatical mistakes, so i'm really appreciate if anyone point them out. https://gist.github.com/mou/a4f137718861082bf7da08f1176d141b | 17:22:10 | |
| Also i can fix whatever way you suggest and prepare PR if needed | 17:23:10 | |
In reply to @mou_bugtracker:matrix.orgI don't really have much feedback except that it looks great! Please PR this 👍️ | 22:59:36 | |
| 26 Jan 2022 | ||
In reply to @adis:blad.isHow to name file and where to put it? In root? I have doubts about in-lining it in README | 06:12:03 | |
In reply to @mou_bugtracker:matrix.orgCould you create a docs directory? I'll try to set up github actions to publish it. | 06:16:14 | |
| 15:31:14 | ||
| Hey folks! I'm at my wits end here, trying to use Nix to manage my python project in any capacity. I have two questions: a specific one and a general one:
Sorry for the wall of text, just really frustrated so far with how little of Nix is documented properly and how untransparent the whole ecosystem in general is 🙃 | 15:40:03 | |
| * Hey folks! I'm at my wits' end here, trying to use Nix to manage my python project in any capacity. I have two questions: a specific one and a general one:
Sorry for the wall of text, just really frustrated so far with how little of Nix is documented properly and how untransparent the whole ecosystem in general is 🙃 | 15:45:29 | |
| Not sure what to tell you about your tensorflow problem, but I can tell you that tensorflow packaging is horrible, even by python standards | 15:51:09 | |
| Re: your general question - everything you described should be possible, but you probably want Jupyter to be a dev dependency in Poetry instead | 15:51:54 | |
| Yeah, I figured. Tensorflow sucks in general, but I gotta stick with it for reasons beyond my control 🤷 | 15:52:12 | |
| Otherwise you'll mix two dependency trees and then Fun will happen | 15:52:16 | |
| I'm not saying you're wrong for using it or anything | 15:52:30 | |
| I actually kinda like the library | 15:52:43 | |
| It's just that Python tooling is extremely not qualified to do the things they want to do | 15:53:05 | |
| Hmmm... How would using dev dependencies help? I might be wrong, please correct me, but I thought they were just something you could "turn off" easily, but when they do get installed, they are treated the same as any othed dependency | 15:55:27 | |
| Help with what exactly? | 15:55:47 | |
| Ah, I misread :) I retract my question | 15:56:38 | |
Ok, even an empty pyproject with just tensorflow doesn't want to work. More than that, even just numpy breaks! with different errors though.> ERROR: numpy-1.22.1-cp38-cp38-macosx_10_9_universal2.whl is not a supported wheel on this platform.I'm on a mac — what other platform would it be supported on?? I guess I forgot an important question — is poetry2nix linux-only? | 16:09:39 | |
| Oh | 16:17:08 | |
| Are you on M1? | 16:17:12 | |
| If yes, you might need a newer Python version, because pip in 3.8 doesn't know osx/aarch64 is a validntargrtn | 16:17:47 | |
| * If yes, you might need a newer Python version, because pip in 3.8 doesn't know osx/aarch64 is a valid target | 16:17:53 | |