Skip to content

Raise dependency version of langchain in jupyter-ai-magics #1507

@hochbit

Description

@hochbit

Problem

I’m trying to install jupyter-ai together with langchain-ollama, but I’m running into dependency issues. The jupyter-ai-magics package currently requires langchain < 0.4.0, which is very outdated given that LangChain is now at 1.1.0.
At least it seems that this is the problem.

While inspecting the source, I noticed that the pyproject.toml included in the published jupyter-ai-magics tar.gz file does not appear anywhere in the public GitHub repository. It looks like this file, and possibly the entire subpackage, is generated from code that isn’t present in the repo. To be sure I checked also for the contained 'magics.py'.

Could you clarify where the jupyter-ai-magics build originates from and whether its LangChain dependency can be updated?

Proposed Solution

Raise depended langchain versions (maybe including other dependencies) and fix any depended code.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions