Skip to content

Commit

Permalink
[Internal][Core] Fix extras dependencies [executor-service] in prompt…
Browse files Browse the repository at this point in the history
…flow-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.
  • Loading branch information
PeiwenGaoMS authored Mar 27, 2024
1 parent 53169af commit eb85186
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/promptflow-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "*"
Expand Down

0 comments on commit eb85186

Please sign in to comment.