langflow icon indicating copy to clipboard operation
langflow copied to clipboard

devcontainers broken with latest chromadb

Open mieslep opened this issue 1 year ago • 3 comments

Describe the bug

Running make backend in the devcontainer results in an error:

Your system has an unsupported version of sqlite3. Chroma requires sqlite3 >= 3.35.0.

The problem arises because the dev (and demo) containers are using Debian bullseye which includes sqlite3 3.34.1, whereas we'd need Debian bookworm to meet that requirement (reference https://packages.debian.org/search?keywords=sqlite3 )

mieslep avatar Apr 17 '24 09:04 mieslep

Hey @mieslep !

How are you? I've seen some reports of that in the last few days. Let me see what we can do.

By the way, have you been using the devcontainer? How's the experience?

ogabrielluiz avatar Apr 17 '24 14:04 ogabrielluiz

This should be fixed now.

ogabrielluiz avatar Apr 17 '24 14:04 ogabrielluiz

Hmm okay so https://mcr.microsoft.com/en-us/product/devcontainers/python/about 3.10 and 3.10-bookworm are equivalent then the PR I have is redundant.

I far prefer devcontainers for complex project like this and Langchain... there's a lot of complexity in setting up dev environments and this dramatically simplifies things. Plus, being on Windows, it makes things dramatically simpler in a devcontainer :)

mieslep avatar Apr 17 '24 19:04 mieslep

I see!

I used to use them quite a bit when I had a Windows machine but it has been a while since I used it and only contributors currently use the Langflow devcontainers.

Happy to know it is working.

Let me know if there are any improvements we should make.

I love my tasks setup for VSCode. Maybe I'll add them to the repo too.

ogabrielluiz avatar Apr 18 '24 13:04 ogabrielluiz