Skip to content

Commit

Permalink
WIP: Update pyproject config file
Browse files Browse the repository at this point in the history
  • Loading branch information
harishmohanraj committed Sep 25, 2024
1 parent e22b384 commit dbc0941
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
pip install -e ".[docs,lint,test-core]"
- name: Run mypy
shell: bash
run: |
mkdir .mypy_cache # Workaround for bad error message "error: --install-types failed (no mypy cache directory)"; see https://github.com/python/mypy/issues/10768#issuecomment-2178450153
mypy fastagency_studio tests
run: mypy fastagency_studio tests

- name: Run bandit
shell: bash
Expand Down
14 changes: 13 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@ dependencies = [
[project.optional-dependencies]
# public distributions

studio = [
"faststream[nats]>=0.5.10,<0.6",
"pydantic>=2.3,<3",
"fastapi==0.114.2",
"prisma>=0.13.1,<0.15",
"asyncer==0.0.8",
"markdownify==0.13.1", # Needed by autogen.WebSurferAgent but not included
"httpx==0.27.2",
"python-weather==2.0.3", # should be removed when we move API to another project
]

server = [
"fastagency[server] @ git+https://github.com/airtai/fastagency.git@main",
]
Expand All @@ -68,13 +79,14 @@ test-core = [
]

testing = [
"fastagency-studio[studio]",
"fastagency-studio[test-core]",
"fastagency-studio[server]", # Uvicorn is needed for testing
"fastagency[testing] @ git+https://github.com/airtai/fastagency.git@main",
]

dev = [
"fastagency-studio[server,lint,testing,devdocs]",
"fastagency-studio[studio,server,lint,testing,devdocs]",
"fastagency[dev] @ git+https://github.com/airtai/fastagency.git@main",
]

Expand Down

0 comments on commit dbc0941

Please sign in to comment.