Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT: Safetyの代わりにpip-auditを使う #1519

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

sabonerune
Copy link
Contributor

内容

safety checkコマンドが非推奨になっていたためこれを置き換えます。
Safetyの案内する置き換え先はsafety scanコマンドですがログインが必要なためpip-auditを使用します。

関連 Issue

その他

no-depsを使うと依存の解決が省略されるので速くなるというドキュメントがあったのですがあまり変わらなそうでしたので使用しませんでした。

pip-auditを依存関係に追加せずに実行することも考えましたがローカルで実行できるようにするために依存に追加しています。

@sabonerune sabonerune requested a review from a team as a code owner January 23, 2025 11:40
@sabonerune sabonerune requested review from Hiroshiba and removed request for a team January 23, 2025 11:40
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

更新ありがとうございます!
pip-auditを依存に加えるの良いですね!! 思いつきませんでした 🙏

CONTRIBUTING.mdにsafetyの説明があったので、こちらも変更お願いしてもよいでしょうか・・・!
https://github.com/sabonerune/voicevox_engine/blob/65f8fa4565a822c9419ccce3d1067786e4ae39a7/CONTRIBUTING.md?plain=1#L325-L332

.github/workflows/test-security.yml Show resolved Hide resolved
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

来月の15日が楽しみですね・・・!!

@Hiroshiba Hiroshiba enabled auto-merge January 23, 2025 17:14
@Hiroshiba Hiroshiba added this pull request to the merge queue Jan 23, 2025
Merged via the queue into VOICEVOX:master with commit d135209 Jan 23, 2025
5 checks passed
@sabonerune sabonerune deleted the feat/use-pip-audit branch January 23, 2025 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

safety checkコマンドが非推奨になっている
2 participants