marimo
marimo copied to clipboard
Poetry 2.x causes the package manager to show an empty list in the sidebar
Describe the bug
Referenced https://github.com/marimo-team/marimo/issues/2923
In poetry 2.x+, the --no-dev flag no longer exists. It looks like they prefer that we use --without, --with, and --only
As a result, the Package Manager tab in the sidebar doesn't display the currently installed packages.
https://github.com/marimo-team/marimo/blob/e02859e1c6d2eca1c0af5ceca09f9b45a50e4211/marimo/_runtime/packages/pypi_package_manager.py#L583
Will you submit a PR?
- [x] Yes
Environment
[runtime]
default_sql_output = "auto"
watcher_on_save = "lazy"
auto_instantiate = false
reactive_tests = true
output_max_bytes = 8000000
on_cell_change = "autorun"
std_stream_max_bytes = 1000000
auto_reload = "off"
default_auto_download = []
[display]
cell_output = "below"
default_table_max_columns = 50
theme = "light"
default_width = "medium"
code_editor_font_size = 14
dataframes = "rich"
reference_highlighting = false
default_table_page_size = 10
[snippets]
custom_paths = []
include_default_snippets = true
[package_management]
manager = "poetry"
[mcp]
presets = []
[mcp.mcpServers]
[datasources]
[diagnostics]
sql_linter = true
[formatting]
line_length = 79
[keymap]
preset = "default"
destructive_delete = true
[keymap.overrides]
[experimental]
[save]
format_on_save = false
autosave = "after_delay"
autosave_delay = 1000
[completion]
activate_on_typing = true
copilot = false
[server]
follow_symlink = false
browser = "default"
[ai]
mode = "manual"
rules = ""
inline_tooltip = false
[ai.models]
custom_models = []
displayed_models = []
[language_servers.ty]
[language_servers.pylsp]
enable_pyflakes = false
enable_pydocstyle = false
enable_ruff = true
enable_flake8 = false
enabled = false
enable_mypy = true
enable_pylint = false
[language_servers.basedpyright]
Code to reproduce
No response
hi @robd518 - we don't use poetry on the team, but would appreciate help fixing this if you are up for it. otherwise, we can look into this ourselves when we free up