Skip to content

Commit

Permalink
Update dependencies in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Appointat committed Nov 12, 2023
1 parent cfb95b3 commit a403a27
Showing 1 changed file with 28 additions and 16 deletions.
44 changes: 28 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,14 @@ documentation = "https://docs.camel-ai.org"
[tool.poetry.dependencies]
python = "^3.8.1"
numpy = "^1"
openai = "^0"
tenacity = "^8"
openai = "1.1.1"
tiktoken = "^0"
colorama = "^0"
jsonschema = "^4"
types-colorama = "^0"
types-requests = "^2"
bs4 = "^0"
protobuf = "^4"
docx2txt = "^0.8"
PyMuPDF = "^1.22.5"
pathlib = "^1.0.1"
matplotlib = "^3.7.3"
networkx = "^3.1"
cffi = "^1.16.0"
pathlib = "^1.0.1"

transformers = { version = "^4", optional = true }
diffusers = { version = "^0", optional = true }
Expand All @@ -50,8 +43,11 @@ torch = { version = "^1", optional = true }
soundfile = { version = "^0", optional = true }
sentencepiece = { version = "^0", optional = true }
opencv-python = { version = "^4", optional = true }
beautifulsoup4 = { version = "^4", optional = true }
docx2txt = { version = "^0.8", optional = true }
PyMuPDF = { version = "^1.22.5", optional = true }
wikipedia = { version = "^1", optional = true }
matplotlib-stubs = "^0.2.0"
pyowm = { version = "^3.3.0", optional = true }

[tool.poetry.extras]
huggingface-agent = [
Expand All @@ -63,9 +59,17 @@ huggingface-agent = [
"soundfile",
"sentencepiece",
"opencv-python",
]

tools = [
"beautifulsoup4",
"docx2txt",
"PyMuPDF",
"wikipedia",
"pyowm",
]


all = [
"transformers",
"diffusers",
Expand All @@ -75,7 +79,11 @@ all = [
"soundfile",
"sentencepiece",
"opencv-python",
"beautifulsoup4",
"docx2txt",
"PyMuPDF",
"wikipedia",
"pyowm",
]

[tool.poetry.group.dev]
Expand All @@ -92,6 +100,15 @@ pytest-cov = "^4"
gradio = "^3"
mock = "^5"

# types
pandas-stubs = "*"
types-Pillow = "*"
types-Pygments = "*"
types-mock = "*"
types-regex = "*"
types-setuptools = "*"
types-tqdm = "*"

[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
Expand Down Expand Up @@ -126,9 +143,6 @@ module = [
"tiktoken",
"openai",
"openai.error",
"tenacity",
"tenacity.stop",
"tenacity.wait",
"pytest",
"_pytest.config",
"_pytest.nodes",
Expand All @@ -141,13 +155,11 @@ module = [
"huggingface_hub",
"huggingface_hub.utils._errors",
"wikipedia",
"pyowm",
"jsonschema.*",
"bs4.*",
"docx2txt",
"PyMuPDF",
"fitz",
"matplotlib",
"networkx",
"cffi"
]
ignore_missing_imports = true

0 comments on commit a403a27

Please sign in to comment.