Skip to content

Commit

Permalink
fix: boto3 to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
asafgardin committed Dec 13, 2023
1 parent 4f40004 commit 0cb4eaa
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 80 deletions.
139 changes: 61 additions & 78 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ packages = [

[tool.poetry.dependencies]
python = "^3.7"
boto3 = "^1.33.12"
requests = "^2.31.0"
ai21-tokenizer = "^0.3.9"
pydantic = "^2.5.2"
boto3 = { version = "^1.28.82", optional = true }


[tool.poetry.group.dev.dependencies]
Expand All @@ -73,6 +74,12 @@ ruff = "*"
python-semantic-release = "^8.5.0"
pytest = "^7.4.3"

[tool.poetry.extras]
AWS = ["boto3"]


[tool.poetry.group.extras.dependencies]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
install_requires=[
"requests",
],
extras_require={"AWS": ["boto3>=1.28.82"]},
# extras_require={"AWS": ["boto3>=1.28.82"]},
)

0 comments on commit 0cb4eaa

Please sign in to comment.