superduper
superduper copied to clipboard
[FEATURE] Deprecate all extra installations in favour of simply checking versions.
Instead of an array of superduperdb[dev]
etc., simply require a version range of required packages to be installed which is checked at import time.
In superduperdb.ext.openai.__init__
:
def check_version():
import openai
if not in_range(openai.__version, [1.0.0, 2.0.0]):
raise VersionError(...)