sudachi.rs icon indicating copy to clipboard operation
sudachi.rs copied to clipboard

update pyo3 to v0.27 for py314, py314t support

Open tkhshtsh0917 opened this issue 2 months ago • 0 comments

Hi team! Recently, a version of pyo3 supporting CPython 3.14 was released, so I attempted to resolve issue #306. I'm referencing past PRs(#284, #293), but please let me know if there are any shortcomings ;)


resolve #306

migration guide: https://pyo3.rs/v0.27.1/migration.html

replace deprecated or renamed pyo3 methods:

other updates:

  • updated release workflow to support CPython 3.14 and 3.14t.
  • fixed typos
  • resolved elided lifetime has a name warnings

note:

  • I have verified that the tests in python/build_and_test.sh pass when using CPython 3.14 on my local PC(M2 Macbook Pro).
  • I referenced the following past pull requests, but I'm not entirely sure if the GitHub Actions changes are appropriate. I'd greatly appreciate it if you could carefully check that part for me!🙏
    • #284
    • #293

tkhshtsh0917 avatar Oct 24 '25 02:10 tkhshtsh0917