pyproject.toml restricts pyconfig to <3.3.0, and it seems that version still relies on pkg_config:
/usr/local/lib/python3.14/site-packages/pyconfig/__init__.py:12: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
I think pyconfig 3.3.0 fixes this problem.
pyproject.toml restricts pyconfig to <3.3.0, and it seems that version still relies on pkg_config:
I think pyconfig 3.3.0 fixes this problem.