Plugin cannot be installed with pip

Hi,

I followed the tutorial listed here

However, when trying to install the build plugin I get:

ValueError: (‘Invalid group name’, ‘dash-hooks’)

When I remove the “-” from the group name in setup.py, it successfully installs but is then not recognized by my dash app.

Edit
The issue is in pkg_resources which checks for a valid group name with the below line. So having an entry point “dash-hooks” will not work.
MODULE = re.compile(r"\w+(\.\w+)*$").match

So my best guess is, that I need to install another package version.
Name: setuptools
Version: 76.0.0
Name: pip
Version: 25.0.1
Name: dash
Version: 3.0.0rc4