The package metadata indicates the Python 3.7 is supported, however, as of version 1.3.2 the distinctipy/__init__.py now uses importlib.metadata, which is only available in Python 3.8+.
There are two solutions:
Revert to using __init__.py as the single source of version truth (which is probably difficult if you want to stick with pyproject.toml structure)
Change requires-python = ">=3.7" to requires-python = ">=3.8" in pyproject.toml
The second option is probably the best. It might also be worthwhile to yank 1.3.2 and 1.3.3 because Python 3.7 might incorrectly think that those packages are comaptible with it.
The package metadata indicates the Python 3.7 is supported, however, as of version 1.3.2 the
distinctipy/__init__.py
now uses importlib.metadata, which is only available in Python 3.8+.There are two solutions:
__init__.py
as the single source of version truth (which is probably difficult if you want to stick with pyproject.toml structure)requires-python = ">=3.7"
torequires-python = ">=3.8"
in pyproject.tomlThe second option is probably the best. It might also be worthwhile to yank 1.3.2 and 1.3.3 because Python 3.7 might incorrectly think that those packages are comaptible with it.