Build error for Python 3.7 on two different projects

Hiya- this is the same issue I am having here: Build errors installing a common dependency (docopt) on python 3.7 but not other versions - #4 by mustafa

It appears to have something to do with importlib_metadata, but I don’t know anything about that package. I am not sure what triggers it to be installed or used, but you can see that I had the same error. also on 3.7 only.