swarms
swarms copied to clipboard
[Refactor] dependencies upgrade
Description
Upgraded the dependencies in the pyproject.toml
file to begin the transition to the full use of Poetry.
This includes:
- Upgrade existing dependencies to their latest versions.
- Add new dependencies to eventually replace those previously managed by
requirements.txt
. - (If this approach is problematic, please let me know, I can provide more reasoning as to only using poetry if need be.)
- Refactoring imports for
LangChain
due to updates in their library.
Dependencies
Updated and added dependencies include:
-
python = "~3.11.0"
-
langchain = "~0.1"
-
tensorflow = "^2.12.0"
-
pre-commit = "^3.6.2"
-
pylint = "^3.1.0"
-
pytest = "^8.0.2"
-
numpy = "^1.26.4"
-
langchain-core = "^0.1.28"
-
langchain-community = "^0.0.24"
Twitter Handle
here's the handle to use: @jshuadvd
FYI, This bit needs to be updated for PRS:
Run
make format
,make lint
, andmake test
to check this locally.