From f4afc7e6b7482520624b58e203638ec33df0f067 Mon Sep 17 00:00:00 2001 From: Hanchi Wang Date: Mon, 11 Nov 2024 12:19:32 -0800 Subject: [PATCH] Upgrade to waitress 3.x and flask-cors 5.x (#3838) # Description Please add an informative description that covers that changes made by the pull request and link all relevant issues. # All Promptflow Contribution checklist: - [ ] **The pull request does not introduce [breaking changes].** - [ ] **CHANGELOG is updated for new features, bug fixes or other significant changes.** - [ ] **I have read the [contribution guidelines](https://github.com/microsoft/promptflow/blob/main/CONTRIBUTING.md).** - [ ] **I confirm that all new dependencies are compatible with the MIT license.** - [ ] **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 - [ ] Title of the pull request is clear and informative. - [ ] 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-devkit/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/promptflow-devkit/pyproject.toml b/src/promptflow-devkit/pyproject.toml index acfd44854f5..281574d4a8d 100644 --- a/src/promptflow-devkit/pyproject.toml +++ b/src/promptflow-devkit/pyproject.toml @@ -56,13 +56,13 @@ filelock = ">=3.4.0,<4.0.0" # control plane sdk requirements, to lock for multi marshmallow = ">=3.5,<4.0.0" gitpython = ">=3.1.24,<4.0.0" # used git info to generate flow id strictyaml = ">=1.5.0,<2.0.0" # used to identify exact location of validation error -waitress = ">=2.1.2,<3.0.0" # used to serve local service +waitress = ">=3.0.0,<4.0.0" # used to serve local service azure-monitor-opentelemetry-exporter = ">=1.0.0b21,<2.0.0" pyarrow = { version = ">=14.0.1,<15.0.0", optional = true } # used to read parquet file with pandas.read_parquet pillow = ">=10.1.0,<11.0.0" # used to generate icon data URI for package tool opentelemetry-exporter-otlp-proto-http = ">=1.22.0,<2.0.0" # trace support flask-restx = ">=1.2.0,<2.0.0" # PFS Swagger -flask-cors = ">=4.0.0,<5.0.0" # handle PFS CORS +flask-cors = ">=5.0.0,<6.0.0" # handle PFS CORS pyinstaller = { version = ">=5.13.2", optional = true} # used to package the CLI tool streamlit = { version = ">=1.26.0", optional = true} streamlit-quill = { version = "<0.1.0", optional = true}