Fedoraで行こう! 〜ビルド警告対処編〜
ビルド警告 いつもように、ちょっとしたCode更新を行った後、ビルドしたら、以下のような Warning が出た。 pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** 簡潔に言うと、 pyproject.toml において、 project section 内の license 、もしくは、 license-files の記述方法を直してね、っていうもの。 修正箇所 当初というか、 Warning が発生している時には、 [project] ... license = { text = "MIT" } となっていたものを、以下のように、変更。 [project] ... license = "M...