Skip to content

Frequently missing packages in the Edit with AI feature #10692

Description

@teristam

Describe the bug

I am trying to use the "Edit with AI" feature in the in-browser notebook. There are so many package incompatibility issues. e.g.

No module named 'opentelemetry._events'

I have a complex project with lots of dependencies. uv usually can resolve them without many issues. But I guess the dependencies packages of marimo is not being pinned down precisely enough? It is quite frustrating to keep running into error when using the AI feature in-browser.

Thank you!

Will you submit a PR?

  • Yes

Environment

Environment
{
  "marimo": "0.24.0",
  "editable": false,
  "location": "~/code/trialexp_notebook_learning/.venv/lib/python3.12/site-packages/marimo",
  "OS": "Linux",
  "OS Version": "6.14.0-33-generic",
  "Processor": "x86_64",
  "Python Version": "3.12.3",
  "Locale": "en_US",
  "Binaries": {
    "Browser": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 Edg/151.0.0.0",
    "Node": "v24.8.0",
    "uv": "0.5.16"
  },
  "Dependencies": {
    "click": "8.1.7",
    "docutils": "0.21.2",
    "itsdangerous": "2.2.0",
    "jedi": "0.19.1",
    "markdown": "3.6",
    "narwhals": "2.25.0",
    "packaging": "24.1",
    "psutil": "6.0.0",
    "pygments": "2.21.0",
    "pymdown-extensions": "11.0.2",
    "pyyaml": "6.0.1",
    "starlette": "0.41.3",
    "tomlkit": "0.13.2",
    "typing-extensions": "4.12.2",
    "uvicorn": "0.30.1",
    "websockets": "17.0.1"
  },
  "Optional Dependencies": {
    "loro": "1.13.2",
    "mcp": "1.29.1",
    "nbformat": "5.10.4",
    "openai": "1.109.1",
    "pandas": "2.1.4",
    "pyarrow": "17.0.0"
  },
  "Experimental Flags": {}
}

Code to reproduce

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions