Skip to content

Commit

Permalink
Fix: create_venv_and_generate_licenses.bash で poetry install を実行しないようにする
Browse files Browse the repository at this point in the history
実際に Poetry の仮想環境にインストールされるパッケージは CI によって異なるため
  • Loading branch information
tsukumijima committed Dec 16, 2024
1 parent 6e14f24 commit 49c39ed
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-engine-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:

# Build
- name: <Build> Generate licenses.json
run: bash tools/create_venv_and_generate_licenses.bash
run: poetry run task update-licenses

- name: <Build> Build AivisSpeech Engine run.py
run: |
Expand Down
30 changes: 15 additions & 15 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ pre-commit = "^4.0.1"
pyinstaller = "^5.13"
poetry = "1.8.4"
poetry-plugin-export = "^1.8.0"
pip-licenses = "5.0.0" # NOTE: must be specified exactly (c.f. #1281)
taskipy = "^1.12.2"

[build-system]
Expand Down
2 changes: 1 addition & 1 deletion resources/engine_manifest_assets/dependency_licenses.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions tools/create_venv_and_generate_licenses.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# まだ Poetry で依存ライブラリがインストールされていない場合はインストールし、ライセンス一覧を生成する
# ライセンス一覧を生成する

set -eux

poetry install --with=dev
poetry run python tools/generate_licenses.py > resources/engine_manifest_assets/dependency_licenses.json

0 comments on commit 49c39ed

Please sign in to comment.