Python packaging No module named 'PyQt5'

I’m trying to upgrade GitHub - pyqtgraph/pyqtgraph: Fast data visualization and GUI tools for scientific / engineering applications (defined here to the latest version (0.13.3), but it’s failing on tests in this file:

FAILED pyqtgraph/examples/[ - PyQt5 ] - Failed: 

They are all failing like this:

______________________ testExamples[ - PyQt5 ] ______________________

Traceback (most recent call last):
  File "<stdin>", line 3, in <module>
ModuleNotFoundError: No module named 'PyQt5'

Disabling them with:

  disabledTestPaths = [

worked, but I was wondering if there’s a better way. Any hints?