Bump min py to 3.9; add formatting deps

Increased minimum Python version from 3.81 to 3.9 - most projects align with this; added pre-commit hooks, isort, black, & autoflake for code quality; updated lock file.
This commit is contained in:
Greyson Lalonde
2023-12-27 13:03:29 -05:00
parent f00e7e89f4
commit 517437ec78
2 changed files with 296 additions and 36 deletions

View File

@@ -12,11 +12,20 @@ Documentation = "https://github.com/joaomdmoura/CrewAI/wiki/Index"
Repository = "https://github.com/joaomdmoura/crewai"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
python = ">=3.9,<4.0"
pydantic = "^2.4.2"
langchain = "^0.0.351"
openai = "^1.5.0"
[tool.poetry.group.dev.dependencies]
isort = "^5.13.2"
black = "^23.12.1"
autoflake = "^2.2.1"
pre-commit = "^3.6.0"
[tool.isort]
profile = "black"
[tool.poetry.group.test.dependencies]
pytest = "^7.4"
pytest-vcr = "^1.0.2"