!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

330 Members
https://github.com/nix-community/poetry2nix62 Servers

Load older messages


SenderMessageTime
4 Apr 2022
@fkarg:matrix.orgfkarg
In reply to @mou_bugtracker:matrix.org
problem with ipykernel is most likely related to build tool. It somehow explained in https://github.com/nix-community/poetry2nix/blob/master/docs/edgecases.md

I think adding flint-core to buildInputs will help solve it
Yeah, that's an awesome resource, I found that too afterwards. I figured out a bit and now an issue seems to be that there's package duplicates of some (other) python packages which nix doesn't seem to be able to figure out.
10:50:26
5 Apr 2022
@jairo:recallstack.icuJairo Llopis Hello dear community.
I'm building a python app to manage git meta-repositories. Sort of a better replacement for git-submodules.
I'm facing an infinite recursion problem when trying to install path dependencies from a source code tree generated with that tool.
As you can see in https://discourse.nixos.org/t/how-to-debug-infinite-recursion/18470?u=yajo nix does not produce any stack trace when getting to an infinite recursion, so I'm unable to debug where's the problem.
I kindly ask some nix pro to give me a hand here. I isolated a reproducible test case, see https://gitlab.com/moduon/mrchef/-/merge_requests/1#note_900775108
Thanks!
09:20:59
@jairo:recallstack.icuJairo Llopis * Hello dear community.
I'm building a python app to manage git meta-repositories. Sort of a better replacement for git-submodules.
I'm facing an infinite recursion problem when trying to install path dependencies with poetry2nix from a source code tree generated with that tool.
As you can see in https://discourse.nixos.org/t/how-to-debug-infinite-recursion/18470?u=yajo nix does not produce any stack trace when getting to an infinite recursion, so I'm unable to debug where's the problem.
I kindly ask some nix pro to give me a hand here. I isolated a reproducible test case, see https://gitlab.com/moduon/mrchef/-/merge_requests/1#note_900775108
Thanks!
09:21:18
@jairo:recallstack.icuJairo Llopis
In reply to @jairo:recallstack.icu
Hello dear community.
I'm building a python app to manage git meta-repositories. Sort of a better replacement for git-submodules.
I'm facing an infinite recursion problem when trying to install path dependencies with poetry2nix from a source code tree generated with that tool.
As you can see in https://discourse.nixos.org/t/how-to-debug-infinite-recursion/18470?u=yajo nix does not produce any stack trace when getting to an infinite recursion, so I'm unable to debug where's the problem.
I kindly ask some nix pro to give me a hand here. I isolated a reproducible test case, see https://gitlab.com/moduon/mrchef/-/merge_requests/1#note_900775108
Thanks!
I found the infinite recursion problem. Fixed in https://github.com/nix-community/poetry2nix/pull/585
13:06:23
7 Apr 2022
@jairo:recallstack.icuJairo Llopis
In reply to @jairo:recallstack.icu
I found the infinite recursion problem. Fixed in https://github.com/nix-community/poetry2nix/pull/585
hello folks! is there any problem with this PR? it seems a pretty obvious fix, isn't it?
10:36:01
@artturin:matrix.orgArtturin
In reply to @jairo:recallstack.icu
hello folks! is there any problem with this PR? it seems a pretty obvious fix, isn't it?
adisbladis: probably just hasn't had time to review it
11:05:55
@artturin:matrix.orgArtturin* adisbladis: probably just hasn't had time to review it11:06:11
8 Apr 2022
@jairo:recallstack.icuJairo Llopis If I open a shell with pkgs.python38.withPackages(ps: [ps.poetry]), where pkgs includes upstream poetry2nix overlay, I get the older poetry package (from upstream nixpkgs) instead of getting the overlaid and updated poetry package from poetry2nix.
How can I get updated poetry working in a python38 environment?
08:39:04
10 Apr 2022
@box1:matrix.orgsb joined the room.16:26:25
11 Apr 2022
@gdesforges:matrix.orgGuillaume Desforges left the room.13:54:00
12 Apr 2022
@avx3:matrix.orgavx3 joined the room.04:21:52
@jfrank8:matrix.orgJustin Frank joined the room.05:03:08
@jfrank8:matrix.orgJustin FrankDownload flake.nix05:04:41
@jfrank8:matrix.orgJustin FrankDownload pyproject.toml05:04:45
@jfrank8:matrix.orgJustin FrankHey all I'm running into issues setting up a devshell environment with poetry as the only dependency using devShell in a flake. I get errors about no module named flit_core when pyparsing is built. I've tried using the overide attribute of mkPoetryEnv to specify flit-core and flit to no luck and since juyter is pretty popular I'd try to figure out what's going on. Any suggesions?05:05:51
@jfrank8:matrix.orgJustin FrankUnfortunately I have the same issue with jupyterlab as well05:20:43
@jfrank8:matrix.orgJustin Franknevermind I was just specifying my overides wrong05:46:12
@avx3:matrix.orgavx3I got all the overrides working but unfortunately when I moved back to working an my project with more than just jupyterlab I ended up getting a error from duplicate packages, particularly two different versions of pyparsing. Any suggestions on how to start debugging the duplicate packages problem?06:26:04
14 Apr 2022
@adis:blad.isadisbladis
In reply to @artturin:matrix.org
adisbladis: probably just hasn't had time to review it
Remote tropical islands and internet bound activities don't mix ;)
I'm reviewing it rn
03:52:22
@adis:blad.isadisbladisIt's not such an obvious fix as you'd think04:18:08
15 Apr 2022
@froxictog:matrix.orgToxicFrog joined the room.21:11:27
@froxictog:matrix.orgToxicFrog Is there a way to tell poetry2nix to run poetry in debug mode (-vvv)? 21:11:45
@froxictog:matrix.orgToxicFrog I'm trying to build codex with p2n, and it dies working on one of the dependencies with TypeError: expected str, bytes or os.PathLike object, not list 21:12:16
@froxictog:matrix.orgToxicFrogAnd I can't even tell if that error is coming from Poetry itself or some other tool it's running.21:12:27
@froxictog:matrix.orgToxicFrogFull log: http://ix.io/3Vfm21:13:09
16 Apr 2022
@adis:blad.isadisbladis
In reply to @froxictog:matrix.org
Is there a way to tell poetry2nix to run poetry in debug mode (-vvv)?
This is pip launching poetry as a PEP build system, not sure how that would be done in this case
04:28:05
@adis:blad.isadisbladis It looks like we might want to add --debug to our python -m pip wheel incantation 04:31:33
@adis:blad.isadisbladisI don't know if that has any detrimental performance effects though04:33:18
@k900:0upti.meK900 adisbladis: any ideas why iso8601 builds fine without poetry in nixpkgs proper, but fails to find it in poetry2nix? 06:09:47
@adis:blad.isadisbladis
In reply to @k900:0upti.me
adisbladis: any ideas why iso8601 builds fine without poetry in nixpkgs proper, but fails to find it in poetry2nix?
A guess is that it's because nixpkgs is not defaulting to format = "pyproject"
06:11:17

Show newer messages


Back to Room ListRoom Version: 6