Poetry2nix | 328 Members | |
| https://github.com/nix-community/poetry2nix | 62 Servers |
| Sender | Message | Time |
|---|---|---|
| 24 Jan 2022 | ||
In reply to @k900:0upti.meokay. Sorry. I was using poetry2nix so I was just in the mindset. | 08:18:35 | |
In reply to @k900:0upti.meI was trying to follow this video of using poetry and nix - https://www.youtube.com/watch?v=TbIHRHy7_JM | 08:19:32 | |
In reply to @cchalc:matrix.orgconsider this line Skipping virtualenv creation, as specified in config file. | 08:22:09 | |
In reply to @cchalc:matrix.orgHe creates a shell.nix to install poetry and use it. But you are right that there is nothing else besides python3 and poetry | 08:22:35 | |
| In video poetry uses virtualenv placed inside home directory, not side packages | 08:22:40 | |
| * In video poetry uses virtualenv placed inside home directory, not site-packages | 08:22:57 | |
try to exec poetry config --listand look for virtualenvs.create. If it false, consider documentation https://python-poetry.org/docs/configuration/ | 08:24:36 | |
| If you manage to allow poetry create venv, then all should be according to video | 08:25:23 | |
In reply to @mou_bugtracker:matrix.orgokay thank you. I will give it a shot. | 08:26:00 | |
| * If you manage to allow poetry create venv, then all should go according to video | 08:28:19 | |
Can we use pyproject.toml build tool metadata to detect which one is used for dependency (if such dependency fetched in form of source), and include this tools in build dependencies? | 17:11:13 | |
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 | |