Skip to content

Commit

Permalink
Merge branch 'yigao/fix_upgrade' of github.com:microsoft/promptflow i…
Browse files Browse the repository at this point in the history
…nto yigao/fix_upgrade
  • Loading branch information
crazygao committed Mar 29, 2024
2 parents efe4e18 + 9a448bb commit d42afca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/promptflow-import-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@ jobs:
- name: Install all packages
run: |
cd ${{ env.WORKING_DIRECTORY }}/src/promptflow-tracing
touch promptflow/__init__.py
poetry install --with dev
cd ${{ env.WORKING_DIRECTORY }}/src/promptflow-core
touch promptflow/__init__.py
poetry install --with dev
cd ${{ env.WORKING_DIRECTORY }}/src/promptflow-devkit
touch promptflow/__init__.py
poetry install --with dev
cd ${{ env.WORKING_DIRECTORY }}/src/promptflow-azure
touch promptflow/__init__.py
poetry install --with dev
working-directory: ${{ env.WORKING_DIRECTORY }}
- name: import lint
Expand Down
7 changes: 0 additions & 7 deletions scripts/installer/windows/scripts/generate_dependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ def extract_requirements(file_path):
extras_requires = ast.literal_eval(keyword.value)
return install_requires, extras_requires

def extract_requirements_b(file_path):
with open(file_path, 'r') as file:
tree = toml.load(file)
install_requires = tree['tool']['poetry']['dependencies']
extras_requires = {}
return install_requires, extras_requires

def extract_package_names(packages):
package_names = []
for package in packages:
Expand Down

0 comments on commit d42afca

Please sign in to comment.