Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Python kernel without poetry #328

Open
MMesch opened this issue Oct 25, 2022 · 3 comments
Open

[Feature]: Python kernel without poetry #328

MMesch opened this issue Oct 25, 2022 · 3 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@MMesch
Copy link
Contributor

MMesch commented Oct 25, 2022

What's missing?

I'm looking for a way to add python packages without poetry. Is this possible?

Possible solution

Expand the python kernel to accept poetry or non-poetry packages.

Alternatives

Have two separate Python kernels available. One for poetry and another without.

Additional context

No response

@MMesch MMesch added bug Something isn't working enhancement New feature or request labels Oct 25, 2022
@garbas
Copy link
Contributor

garbas commented Nov 2, 2022

poetry2nix support extraPackages argument which can be used to add python packages (those packaged with Nix).

But last time we tried it we hit a bug, which led us to another bug, so we never really confirmed that this works.

The idea was that initial template would show how to add more python packages (those already existing in nixpkgs).

@1pakch
Copy link

1pakch commented Apr 26, 2023

I personally think not supporting pure nix kernel definitions is very limiting for those already familiar with nix ecosystem. While poetry might be very popular I personally use nix exactly to avoid dealing with poetry in the first place because it is an inferior tool imo.

I propose clarifying whether extraPackages works as of now and making it very clear in the docs that jupyenv currently does not aim to support nix-defined kernels but, possibly, allows for bringing in already nix-packaged python packages via extraPackages (if this is the case). If the latter is supported there should be an example in the docs and a test case.

Happy to help with some of the above.

@GTrunSec
Copy link
Collaborator

GTrunSec commented Oct 3, 2023

see 48decf0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants