jupyenv
jupyenv copied to clipboard
[Bug]: Can't update poetry2nix version to the latest due to refactor of poetry2nix
Current Behavior
You can't update the version of poetry2nix because of how poetry2nix is invoked.
Here: https://github.com/tweag/jupyenv/blob/main/modules/poetry.nix#L51
poetry2nix is passed poetry; but this is no longer supported - https://github.com/nix-community/poetry2nix/commit/fb135081ec78e42f1c36a030c03e5bdb083e5486
Expected Behavior
You can use the latest poetry2nix
Steps To Reproduce
Explicitly ask jupyenv to follow the latest poetry2nix:
inputs.poetry2nix = {
url = "github:nix-community/poetry2nix";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
inputs.jupyenv = {
url = "github:tweag/jupyenv";
inputs.poetry2nix.follows = "poetry2nix";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
OS
- system: `"x86_64-linux"`
- host os: `Linux 6.1.21, NixOS, 22.11 (Raccoon), 22.11.20230325.83607da`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.11.1`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Version
3ad2c9512c9efd586cf63adde454e734a8ce049c
Additional Context
No response
Relevant log output
No response
I can only guess that the reason to pass in poetry explicitly was to set the python version? so maybe there's an alternative way of doing that?