-
Notifications
You must be signed in to change notification settings - Fork 270
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Are you requesting a new package or reporting an issue on an existing one?
This is an issue with an existing package: poetry
What changes are you requesting?
Running poetry shell
throws the error "Unable to detect the current shell."
Running commands through poetry run
still work.
I had just previously updated my devbox from 'devbox-0.5.2' to 'devbox-0.5.11'.
After which, it told me my devbox.json was outdated, so I ran devbox update
Before the update, poetry shell
worked as expected.
-
Output when not using devbox (expected)
csp:~/works/surplus$ poetry --version Poetry (version 1.6.1) csp:~/works/surplus$ POETRY_VIRTUALENVS_IN_PROJECT=true poetry shell Spawning shell within /home/m/works/surplus/.venv csp:~/works/surplus$ . /home/m/works/surplus/.venv/bin/activate (surplus-py3.11) csp:~/works/surplus$
-
Output when using devbox (not expected)
csp:~/works/surplus$ devbox shell Starting a devbox shell... (devbox) csp:~/works/surplus$ poetry shell Spawning shell within /home/m/works/surplus/.venv Unable to detect the current shell.
Additional context
-
devbox.toml
{ "packages": [ "python311@latest", "python311Packages.ipykernel@latest", "poetry@latest" ], "shell": { "init_hook": [] }, "nixpkgs": { "commit": "f80ac848e3d6f0c12c52758c0f25c10c97ca3b62" } }
-
devbox.lock
{ "packages": [ "python311@latest", "python311Packages.ipykernel@latest", "poetry@latest" ], "shell": { "init_hook": [] }, "nixpkgs": { "commit": "f80ac848e3d6f0c12c52758c0f25c10c97ca3b62" } }
-
diff from git
+++ b/devbox.lock @@ -1,15 +1,25 @@ { "lockfile_version": "1", "packages": { - "poetry": { - "resolved": "github:NixOS/nixpkgs/f80ac848e3d6f0c12c52758c0f25c10c97ca3b62#poetry" + "poetry@latest": { + "last_modified": "2023-09-04T16:24:30Z", + "plugin_version": "0.0.1", + "resolved": "github:NixOS/nixpkgs/3c15feef7770eb5500a4b8792623e2d6f598c9c1#poetry", + "source": "devbox-search", + "version": "1.6.1" }, - "python311": { + "python311@latest": { + "last_modified": "2023-09-04T16:24:30Z", "plugin_version": "0.0.1", - "resolved": "github:NixOS/nixpkgs/f80ac848e3d6f0c12c52758c0f25c10c97ca3b62#python311" + "resolved": "github:NixOS/nixpkgs/3c15feef7770eb5500a4b8792623e2d6f598c9c1#python311", + "source": "devbox-search", + "version": "3.11.4" }, - "python311Packages.ipykernel": { - "resolved": "github:NixOS/nixpkgs/f80ac848e3d6f0c12c52758c0f25c10c97ca3b62#python311Packages.ipykernel" + "python311Packages.ipykernel@latest": { + "last_modified": "2023-09-04T16:24:30Z", + "resolved": "github:NixOS/nixpkgs/3c15feef7770eb5500a4b8792623e2d6f598c9c1#python311Packages.ipykernel", + "source": "devbox-search", + "version": "6.21.2" } } -} \ No newline at end of file +}
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Merged