We recently upgraded to 3.0.1a3 from 2.0.2.01. In v2 if the underlying GL library was missing the import of OpenGL.GL would raise an ImportError. With v3.0 it now raises an OSError. Shouldn't this throw an ImportError?
We distribute our software including Python and PyOpenGL but we do not distribute GL libraries (as we want any native hardware accelerated GL libraries/drivers to be used). There are situations where users run our software and don't have GL libraries (like on a head node of a cluster). To handle these circumstances we have been checking for ImportError's. Unless I'm missing something this seems like the correct exception to raise.