From dbc0941604d158525a8dbdfe691480a4bb069d54 Mon Sep 17 00:00:00 2001 From: Harish Mohan Raj Date: Wed, 25 Sep 2024 15:45:22 +0530 Subject: [PATCH] WIP: Update pyproject config file --- .github/workflows/pipeline.yaml | 4 +--- pyproject.toml | 14 +++++++++++++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index 96d40e1c..7a1380a1 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index d73602e7..a93f063c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ] @@ -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", ]