-
Notifications
You must be signed in to change notification settings - Fork 122
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
Maturin, PyO3, pyo3-asyncio, pyo3-logをアップデート #664
Conversation
This reverts commit 3a5de57.
無事CIが通るようになりましたが、ついでにpyo3-logもアップデートします (なんかそのままだと問題が起きそうな気がしたので) |
勘弁してほしい |
Co-authored-by: Hiroshiba <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!!!
poetry run -- cargo build -p voicevox_core_python_api -vv || true | ||
[ -n "$(find ../../target/debug/deps -name 'libopen_jtalk_sys-*.rlib')" ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
poetry環境でcargo buildする、なるほどです!!
ちなみに|| true
は失敗することがある感じでしょうか? 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
失敗の例としては、これですね。
#664 (comment)
open_jtal-sysのビルド(= Maturinの外でcargo build
する目的)はできますがdylibのリンクには失敗します。そしてdylibのリンクまでは不要です (何故ならそっちはそもそもMaturinがやるべきなので)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
へーーーなるほどです。
リンクに失敗するのも不思議感ありました。とりあえずビルドは進みきりそうなので。
ちなみに将来問題が起きたときのためにお聞きしておきたいのですが、maturinがopen_jtalk-sysのビルドに失敗する(open_jtalkのdylibのリンクに失敗する)のは、何が原因っぽい感じなんでしょう 👀
理由はわからないけどmaturinがmacos-12でビルド後のリンク処理に失敗する、みたいな・・・?
内容
Maturinを0.13.7から、PyO3/maturin#1811が含まれている1.3.1に上げます。
(追記) pyo3, pyo3-asyncio, pyo3-logもアップデートします。
関連 Issue
その他
CC: @tuna2134