Skip to content

Commit

Permalink
Merge pull request #26 from rawkintrevo/3
Browse files Browse the repository at this point in the history
Update pyproject.toml for extras
  • Loading branch information
rawkintrevo authored Feb 6, 2025
2 parents f2446c3 + d5990fe commit 9a2bb28
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
run: |
curl -sSL https://install.python-poetry.org | python3
poetry --version
poetry install
poetry install --extras "testing"
poetry run pytest tests/
18 changes: 12 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gofannon"
version = "0.1.0"
version = "0.1.1-dev"
description = "A collection of tools for LLMs"
authors = ["Trevor Grant <[email protected]>"]
license = "ASFv2"
Expand All @@ -13,11 +13,17 @@ openai = "^1.60.2"
requests = "^2.32.3"
GitPython = "^3.1.43"
python-dotenv = "^1.0.1"
pytest = "^8.3.4"
langchain = "^0.3.16"
smolagents = "^1.6.0"
pydantic = "^2.10.6"

pytest = { version = "^8.3.4", optional = true }
langchain = { version = "^0.3.16", optional = true }
pydantic = { version = "^2.10.6", optional = true }
smolagents = { version = "^1.6.0", optional = true }

[tool.poetry.extras]
testing = ["pytest", "langchain", "pydantic", "smolagents"]
langchain = ["langchain", "pydantic"]
smolagents = ["smolagents"]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
build-backend = "poetry.core.masonry.api"

0 comments on commit 9a2bb28

Please sign in to comment.