Skip to content

demo group: vtk 9.5.2 has no wheels for Python 3.14, blocking install #122

Description

@t-uda

問題

poetry install (または poetry install --without demo) が Python 3.14 環境で失敗する。

エラーメッセージ

\
Unable to find installation candidates for vtk (9.5.2)

  • 29 candidate(s) were identified for the package
  • 29 wheel(s) were skipped as your project's environment does not support the identified abi tags
    \\

原因

vtk 9.5.2 のリリースには Python 3.14 向けの wheel が含まれていない(cp310〜cp313 のみ)。vtk は demo グループの homcloud → pyvista 経由で間接依存しているが、poetry.lock 内で groups = [\main, \demo] と記録されており、--without demo を指定しても解決されなかった(後述 #TODO の lock ファイル問題と連動)。

影響

Python 3.14 では poetry install が完走できず、開発環境のセットアップが失敗する。

対応案

  1. pyvista の依存 vtk に Python バージョン制約を追加するか、Python 3.14 対応の vtk がリリースされるまで homcloud/pyvista のバージョン上限を設ける。
  2. あるいは demo グループを optional = true にした上で、CI の Python バージョンマトリクスから 3.14 を除外するか --without demo を明示する。
  3. poetry install --without demo が真に demo 依存を除外できるよう、lock ファイルのグループ記録が正しいことを確認する(Feat: Add a differentiable solver using numerical differentiation #2 参照)。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions