Skip to content

Commit

Permalink
[setup] Add pfs in setup.py (#1339)
Browse files Browse the repository at this point in the history
# 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](../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
- [ ] 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.

(cherry picked from commit 5601616)
  • Loading branch information
lalala123123 authored and elliotzh committed Dec 1, 2023
1 parent 57ad3ba commit 17ba53b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/step_sdk_setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ runs:
pip list
python ./setup.py bdist_wheel
$package = Get-ChildItem ./dist | ? { $_.Name.Contains('.whl')}
pip install $($package.FullName + "[azure,executable]")
pip install $($package.FullName + "[azure,executable,pfs]")
echo "########### pip freeze (After) ###########"
pip freeze
working-directory: ${{ inputs.scriptPath }}
Expand Down
4 changes: 3 additions & 1 deletion src/promptflow/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"httpx>=0.25.1", # used to send http requests asynchronously
"openai", # promptflow._core.api_injector
"flask>=2.2.3,<4.0.0", # Serving endpoint requirements
"flask-restx>=1.2.0,<2.0.0", # Serving endpoint requirements
"sqlalchemy>=1.4.48,<3.0.0", # sqlite requirements
# note that pandas 1.5.3 is the only version to test in ci before promptflow 0.1.0b7 is released
# and pandas 2.x.x will be the only version to test in ci after that.
Expand Down Expand Up @@ -84,6 +83,9 @@
"pyjwt>=2.4.0,<3.0.0", # requirement of control plane SDK
],
"executable": ["pyinstaller>=5.13.2", "streamlit>=1.26.0", "streamlit-quill<0.1.0", "bs4"],
"pfs": [
"flask-restx>=1.2.0,<2.0.0",
],
},
packages=find_packages(),
entry_points={
Expand Down

0 comments on commit 17ba53b

Please sign in to comment.