pkg_resources is deprecated, and will be removed from setuptools in version 81 (which will release in November at the earliest). Currently, __init__.py uses it in order to determine this package's current version.
I would recommend either setting __version__ manually in __init__.py, or using a GitHub action to place a file containing the current version (extracted from pyproject.toml) in the source directory, which can then be read in __init__.py.