You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to extend kernel by using JupyterWith's configured poetry (can't build some libs when using extraPackages #395 ). I've tried to define my dependencies in pyproject.toml but it still fails for some libs (e.g. scikit-learn). There is a known issue related to that at poetry2nix. Meanwhile there is no better solution, I guess I'd have to override some libs (in my case packaging) and include fit-core as buildInput.
I'm trying to do that through an overrides file in the same dir my custom kernel is defined.
OK. Got it working. To extend the kernel using poetry one must set up the projectDir so all setup files are read from there. However, the overrides attribute isn't set accordingly.
This was extracted from default python kernel. I guess overrides attribute should be read from projectDir as well.
I need to extend kernel by using JupyterWith's configured poetry (can't build some libs when using extraPackages #395 ). I've tried to define my dependencies in pyproject.toml but it still fails for some libs (e.g. scikit-learn). There is a known issue related to that at poetry2nix. Meanwhile there is no better solution, I guess I'd have to override some libs (in my case packaging) and include fit-core as buildInput.
I'm trying to do that through an overrides file in the same dir my custom kernel is defined.
├── default.nix
├── overrides.nix
├── poetry.lock
└── pyproject.toml
This is the customized kernel:
and the overrides file.
This is my pyproject.toml.
After that I keep getting
ModuleNotFoundError: No module named 'flit_core'
.Is this the right way to override packages in poetry through JupyterWith?
The text was updated successfully, but these errors were encountered: