Skip to content

vanna version issue #1025

@ilyas032019

Description

@ilyas032019

🐞 Bug Report: vanna[anthropic,fastapi] installs vanna 0.1.0 instead of 2.x

Describe the bug
When installing Vanna via:

pip install "vanna[anthropic,fastapi]"

it installs vanna v0.1.0, despite the website documentation recommending this command for Vanna 2.x. As a result, many modules from Vanna 2 (e.g., vanna.base, vanna.servers.fastapi) are missing or broken.

To Reproduce
Steps to reproduce the behavior:

  1. In a clean Python environment, run:

    pip install "vanna[anthropic,fastapi]"
  2. After installation, run:

    python -c "import vanna; print(vanna.__version__)"
  3. Observe that the version printed is 0.1.0.

Expected behavior
I expect the pip install "vanna[anthropic,fastapi]" command (as documented on the vanna.ai website) to install a 2.x version of Vanna, not 0.1.0.

Error logs / Screenshots
No stack trace is needed here because the issue is purely version mismatch — but here is the relevant output:

pip show vanna
Name: vanna  
Version: 0.1.0  
...  
python -c "import vanna; print(vanna.__version__)"  
0.1.0  

Desktop (please complete the following information):

  • OS: e.g. Ubuntu 22.04 (or whatever you're using)
  • Python: 3.11.x
  • Vanna: after install 0.1.0
  • pip: (whatever version)

Additional context

Suggested fix

  • Update the PyPI metadata for vanna 2.x to correctly support extras like anthropic and fastapi, so that pip install "vanna[anthropic,fastapi]" resolves to 2.x.
  • Alternatively, update the documentation to reflect the correct installation command for v2 (e.g., using GitHub URL) — or mark stable 2.x on PyPI.

Additionally, there's already a somewhat related issue here: “Dependency Versioning #236 ([GitHub]2) — you could reference that or request to reopen/triage specifically for this extras versioning bug.


If you like, I can generate a correctly-formatted GitHub issue (Markdown) for you — ready to paste into the Vanna GitHub. Do you want me to do that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions