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

Maturin, PyO3, pyo3-asyncio, pyo3-logをアップデート #664

Merged
merged 20 commits into from Oct 29, 2023

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented Oct 27, 2023

内容

Maturinを0.13.7から、PyO3/maturin#1811が含まれている1.3.1に上げます。

(追記) pyo3, pyo3-asyncio, pyo3-logもアップデートします。

関連 Issue

その他

CC: @tuna2134

.github/workflows/test.yml Outdated Show resolved Hide resolved
@qryxip qryxip marked this pull request as draft October 28, 2023 11:26
@qryxip qryxip marked this pull request as ready for review October 28, 2023 12:27
@qryxip qryxip changed the title Maturinをv1.3.1に Maturin, PyO3, pyo3-asyncio, pyo3-logをアップデート Oct 28, 2023
@qryxip
Copy link
Member Author

qryxip commented Oct 28, 2023

無事CIが通るようになりましたが、ついでにpyo3-logもアップデートします (なんかそのままだと問題が起きそうな気がしたので)
e133286 (#664)

@qryxip
Copy link
Member Author

qryxip commented Oct 28, 2023

無事CIが通るようになりましたが、ついでにpyo3-logもアップデート

勘弁してほしい
https://github.com/VOICEVOX/voicevox_core/actions/runs/6676898099/job/18146412030

.github/workflows/test.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Outdated 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!!!!

Comment on lines +283 to +284
poetry run -- cargo build -p voicevox_core_python_api -vv || true
[ -n "$(find ../../target/debug/deps -name 'libopen_jtalk_sys-*.rlib')" ]
Copy link
Member

Choose a reason for hiding this comment

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

poetry環境でcargo buildする、なるほどです!!

ちなみに|| trueは失敗することがある感じでしょうか? 👀

Copy link
Member Author

@qryxip qryxip Oct 29, 2023

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がやるべきなので)

Copy link
Member

@Hiroshiba Hiroshiba Oct 29, 2023

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でビルド後のリンク処理に失敗する、みたいな・・・?

@Hiroshiba Hiroshiba merged commit eda04a0 into VOICEVOX:main Oct 29, 2023
45 checks passed
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.

None yet

3 participants