Skip to content

Remove unused deps and deselect test_pydantic_field to fix FTBFS

Letu Ren requested to merge fantasquex/python-astroid:remove-unused-dep-1 into main
  1. typing-extensions is needed when Python < 3.11 https://github.com/pylint-dev/astroid/blob/v2.15.6/pyproject.toml#L37
  2. astroid uses built-in ast module when Python >= 3.8 https://github.com/pylint-dev/astroid/blob/v2.15.6/tests/test_nodes.py#L51 https://github.com/pylint-dev/astroid/blob/v2.15.6/astroid/_ast.py#L16
  3. This package fails to build from source before this patch. I just deselect the failed test referring to Gentoo's commit https://github.com/gentoo/gentoo/commit/70a46fcd283b608171fd5529619915e119b69405
Edited by Letu Ren

Merge request reports