From eb85186516a72825ed317020cc6a862bf5326968 Mon Sep 17 00:00:00 2001 From: Peiwen Gao <111329184+PeiwenGaoMS@users.noreply.github.com> Date: Wed, 27 Mar 2024 18:55:15 +0800 Subject: [PATCH] [Internal][Core] Fix extras dependencies [executor-service] in promptflow-core (#2503) # Description Fix extras dependencies in promptflow-core # All Promptflow Contribution checklist: - [x] **The pull request does not introduce [breaking changes].** - [ ] **CHANGELOG is updated for new features, bug fixes or other significant changes.** - [x] **I have read the [contribution guidelines](../CONTRIBUTING.md).** - [ ] **Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: [suggested workflow](../CONTRIBUTING.md#suggested-workflow).** ## General Guidelines and Best Practices - [x] Title of the pull request is clear and informative. - [x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md). ### Testing Guidelines - [ ] Pull request includes test coverage for the included changes. --- src/promptflow-core/pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/promptflow-core/pyproject.toml b/src/promptflow-core/pyproject.toml index 63b4729ce8f..99c8e54a328 100644 --- a/src/promptflow-core/pyproject.toml +++ b/src/promptflow-core/pyproject.toml @@ -46,7 +46,10 @@ docutils = "*" # used to generate description for tools jsonschema = ">=4.0.0,<5.0.0" # used to validate tool filetype = ">=1.2.0" # used to detect the mime type for multi-media input flask = ">=2.2.3,<4.0.0" # Serving endpoint requirements -fastapi = {extras = ["executor-service"], version = ">=0.109.0,<1.0.0"} +fastapi = ">=0.109.0,<1.0.0" # used to build web executor server + +[tool.poetry.extras] +executor-service = ["fastapi"] [tool.poetry.group.dev.dependencies] pre-commit = "*"