breadability fails to import with setuptools >= 82.0.0, which removed pkg_resources.
Error
File ".../breadability/__init__.py", line 9, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Root cause
__init__.py uses pkg_resources solely for version detection:
import pkg_resources
__version__ = pkg_resources.get_distribution("breadability").version
pkg_resources was deprecated in setuptools 67.5.0 and removed in setuptools 82.0.0
(released February 8, 2026). This breaks any environment with a recent setuptools,
including Python 3.13 on Termux and likely many others.
Fix
Replace with stdlib importlib.metadata (available since Python 3.8):
from importlib.metadata import version
__version__ = version("breadability")
One-line fix. Happy to submit a PR if the maintainer is responsive.
Given the issue tracker is mostly stale since ~2017, a PR might be more useful than an issue — but filing the issue first is the right protocol.
breadability fails to import with setuptools >= 82.0.0, which removed
pkg_resources.Error
Root cause
__init__.pyusespkg_resourcessolely for version detection:pkg_resourceswas deprecated in setuptools 67.5.0 and removed in setuptools 82.0.0(released February 8, 2026). This breaks any environment with a recent setuptools,
including Python 3.13 on Termux and likely many others.
Fix
Replace with stdlib
importlib.metadata(available since Python 3.8):One-line fix. Happy to submit a PR if the maintainer is responsive.
Given the issue tracker is mostly stale since ~2017, a PR might be more useful than an issue — but filing the issue first is the right protocol.