Skip to content

Commit

Permalink
Dependency clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovank committed Feb 5, 2024
1 parent 6d1bcde commit c85f9ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
python3 -m pip install --upgrade pip
python3 -m pip install mypy pytest
- name: Install
run: python3 -m pip install .
- name: Install in development mode
run: python3 -m pip install .[dev]

- name: Run tests
run: python3 -m pytest
Expand Down
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ authors = [
{ name="Emery Berger", email="[email protected]" },
{ name="Sam Stern", email="[email protected]" }
]
dependencies = ["tiktoken>=0.5.2", "openai>=1.11.0", "botocore>=1.34.34", "botocore-types>=0.2.2", "types-requests>=2.31.0.20240125"]
dependencies = [
"tiktoken>=0.5.2",
"openai>=1.11.0",
"botocore>=1.34.34",
"requests>=2.31.0"
]
description = "Utilities for our LLM projects (CWhy, ChatDBG, ...)."
readme = "README.md"
requires-python = ">=3.9"
Expand All @@ -26,3 +31,6 @@ classifiers = [

[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]

[project.optional-dependencies]
dev = ["botocore-stubs>=1.34.34", "types-requests>=2.31.0"]

0 comments on commit c85f9ae

Please sign in to comment.