Package: python3-poetry
Version: 1.3.2+dfsg-2

Having installed python3-poetry  1.3.2+dfsg-2 (from bookworm) and
python3-importlib-metadata 1.6.0-2 (from bullseye), running poetry gives
following error:


$ poetry -v

  TypeError

  entry_points() got an unexpected keyword argument 'group'

  at /usr/lib/python3/dist-packages/poetry/plugins/plugin_manager.py:57 in
get_plugin_entry_points
       53│         self, env: Env | None = None
       54│     ) -> list[metadata.EntryPoint]:
       55│         return [
       56│             ep
    →  57│             for ep in metadata.entry_points(group=self._group)
       58│             if self._is_plugin_candidate(ep, env)
       59│         ]
       60│
       61│     def add_plugin(self, plugin: Plugin) -> None:


metadata.entry_point() has allowed arguments since 3.6.0; [1] so dependency
should be added to the package metadata.

[1]
https://github.com/python/importlib_metadata/commit/8320adef797d5f14d9fff7b58ebc2a31a2a6a437

Reply via email to