Open 3x10RaiseTo8 opened 3 weeks ago
I took a pass at this and was having trouble due to the issues with the langchain dependencies + pydantic + fastapi. I think some of this will be resolved with langchain v0.3 which is supposed to release fairly soon. This is also the cause for the questions you raised. Check out the issues linked in the comments in requirements.txt
May spend some more time on it if I get spare time but it might be on the back burner for a few weeks until the langchain v0.3. I have a few agent improvements in the works so that may take precedence.
Makes sense. Thank you! :smile:
I made some progress yesterday on adding pyproject.toml
and getting some updated installation instructions that work, and using it in CI + docker builds.
I kept requirements.txt
for now since it's still a bit confusing and doesn't work as easily as I want (due to the same issues I mentioned above). Hopefully langchain v0.3 will ship soon and it'll be an easy update from there.
Issues to watch on langchain v0.3: https://github.com/langchain-ai/langchain/discussions/19339 https://github.com/langchain-ai/langchain/discussions/24405
I want to get a lock file working (mostly likely with uv lock
) before loosening the version restrictions on various libraries and fully removing requirements.txt
.
Here is the owner's comment. I messed up with the renaming and deleting branches, oops.
@JoshuaC215, I have couple of questions.
v1
namespace inv2
package? During my initial try, uv was getting stuck since LangSmith (dependency by langchain_community) depends on Pydantic v2 and FastAPI<0.100
depends on Pydanticv1
. Its a mess to say the least. But as long as the application is running fine, its alright, right?<0.100
. I have tested in my personal projects that as long as you stick tov1
namespace, the project works fine.<3.12.4
requirement?