superduper icon indicating copy to clipboard operation
superduper copied to clipboard

[FEATURE] Deprecate all extra installations in favour of simply checking versions.

Open blythed opened this issue 1 year ago • 0 comments

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(...)

blythed avatar Jan 25 '24 15:01 blythed