Merged
Conversation
Merged
Member
Author
|
mypyを実行するとエラーが出て型チェックが中断されるようになったので、mypyを更新するプルリクエストを作りました(メジャーバージョンアップが入るのと、CIは通るので分けましたが、分けないでもよかったかもです...)。 エラーの内容 |
Hiroshiba
approved these changes
Oct 17, 2023
Member
There was a problem hiding this comment.
LGTM!!
もしかしてもしかしたらなにか変化があるかもなので、一度preview releaseを作ってみようと思います。
https://github.com/VOICEVOX/voicevox_engine/releases/tag/0.15.0-preview.7
Pydantic v2でRust化したとかで速くなったんですね。
もしかしたら恩恵あるかもなので、ついでに更新しちゃっても面白いかもですね!
Member
|
poetryのcontent-hashが衝突していたので勝手ながらコンフリクト解消させていただきました。 |
takana-v
pushed a commit
to voicevox-bridge/bridge-plugin
that referenced
this pull request
Nov 28, 2023
Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
FastAPIを最新の0.103.2に更新します。
変更点
testグループにhttpxを追加このPR後に
poetry updateを実行した場合、FastAPI>=0.103.2, <0.104.0, httpx>=0.25.0, <0.26.0の範囲で更新されます(^0.x.yと記述した場合の仕様。Poetryのバージョン制約記法ドキュメント)。FastAPI側の主な変更点
fastapi.testclient.TestClient(=starlette.testclient.TestClient)がrequestsベースからhttpxベースに変更されましたhttpxは含まれておらず、TestClientを使ったテストが実行できなかったため、このPRで追加しました@app.getなどのアノテーションからresponse_modelパラメータを削除できるようになりましたBaseModel.parse_obj,BaseModel.parse_obj_as,BaseModel.dict,BaseModel.jsonなどのAPIが非推奨になっています)。関連 Issue
スクリーンショット・動画など
その他