| 6 Feb 2024 |
gaivs | py3rosmsgs doesn't seem to depend on genpy, though it has a module called genpy... I wonder if this is due to a naming crash?
The annoying thing is that what I'm actually depending on here is the rosnumpy package, which is the one that in the end brings in genpy and py3rosmsgs, so there are, annoyingly, multiple levels of separation | 12:08:53 |
@phaer:matrix.org | Oh, i see. That's unfortunate. Python packages aren't namespaced by their distribution name, so python can't really distinguish between the module called genpy exposed by py3rosmgs, and the one exposed by genpy itself | 14:28:58 |
gaivs | Ah ok, yeah that is unfortunate... Oh well, there's not much I can do about this, if I run into problems because of this, I'll just have to remove that rosnumpy package | 15:35:15 |
gaivs | Thanks for all the help btw! | 15:35:17 |
| 8 Feb 2024 |
| @niklauzg:matrix.org joined the room. | 04:28:22 |
l0b0 | adisbladis: Do you have time to look into https://github.com/nix-community/poetry2nix/issues/1459? I don't seem to be able to combine any recent versions of poetry2nix and nixpkgs. | 20:18:39 |
| 15 Feb 2024 |
| xescure joined the room. | 15:16:37 |
xescure | Does this ring a bell to anyone? > flit_core.config.ConfigError: Neither [project] nor [tool.flit.metadata] found in pyproject.toml
| 15:17:51 |
xescure | I've been trying to convert my flask API to a nix deployment, but I get this error when trying to install my dependencies | 15:18:33 |
xescure | I had some problems with missing setuptools, but I solved that with the help of the FAQ | 15:19:07 |
xescure | * | 15:19:22 |
@djacu:matrix.org | I know it's not the same error message but does adding it as a build input in the overrides fix it?
https://github.com/nix-community/poetry2nix/issues/606 | 15:22:32 |
@djacu:matrix.org | Also what's the context of this error? Which package is failing to build? | 15:22:48 |
xescure | I tried doing some process of elimination and every one I tried had the error | 15:24:05 |
xescure | In reply to @djacu:matrix.org I know it's not the same error message but does adding it as a build input in the overrides fix it? https://github.com/nix-community/poetry2nix/issues/606 I'll try it | 15:24:32 |
@djacu:matrix.org | It's worth a try but the error doesn't lead me to believe that it is going to work. It looks like a package is using flit but didn't declare it.
Also what's the context of this error? Which package is failing to build? Can you share more of the error message. | 15:27:59 |
xescure | I'll try to isolate the problem and give more context, but for now I'm getting it for all packages. Which leads me to believe I'm messing something up
| 15:31:02 |
xescure | Download nix-migration.tar.gz | 15:37:36 |
xescure | This should have all the context | 15:38:05 |
| @petrichor:envs.net left the room. | 15:52:24 |
| kenji joined the room. | 19:15:53 |
| 20 Feb 2024 |
| Mihail Mihov joined the room. | 05:47:13 |
Mihail Mihov | Hello can anyone help me with https://github.com/nix-community/poetry2nix/issues/555? I left the last two comments there explaining what my issue is. | 05:49:31 |
| 21 Feb 2024 |
nazarewk | is it possible to tell poetry which python version to use for it's commands it's mostly for initializing poetry2nix project with Python version different from nixpkgs default | 10:05:57 |
nazarewk | * is it possible to tell poetry which python interpreter binary to use for it's commands? it's mostly for initializing poetry2nix project with Python version different from nixpkgs default | 10:06:13 |
nazarewk | In reply to @nazarewk:matrix.org is it possible to tell poetry which python interpreter binary to use for it's commands? it's mostly for initializing poetry2nix project with Python version different from nixpkgs default looks like i need poetry env use /path/to/python | 10:28:08 |
nazarewk | second question: how do I install dependencies without extras? It seems to install cryptography with docs extras generating a conflict between sphinx and jinja versions | 10:29:11 |
| @jo.blade:matrix.org joined the room. | 10:45:35 |
@jo.blade:matrix.org | Hello, I am trying to use poetry2nix with flakes but I have an issue. When I use nix run to build and run the project, some .py files are missing in ./result/…/lib/<project-name>/ | 10:47:00 |
@jo.blade:matrix.org | I have no problem when I am using a default.nix with pretty similar content… | 10:47:42 |