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

[Bug]: Can't update poetry2nix version to the latest due to refactor of poetry2nix #482

Open
silky opened this issue May 12, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@silky
Copy link

silky commented May 12, 2023

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 - nix-community/poetry2nix@fb13508

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

3ad2c95

Additional Context

No response

Relevant log output

No response

@silky silky added the bug Something isn't working label May 12, 2023
@silky silky changed the title [Bug]: [Bug]: Can't update poetry2nix version to the latest due to refactor of poetry2nix May 12, 2023
@silky
Copy link
Author

silky commented May 12, 2023

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?

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

No branches or pull requests

2 participants