src/use/modules/install_utils.py
def _is_version_satisfied(specifier: str, sys_version) -> bool:
    """
    SpecifierSet("") matches anything, no need to artificially
    lock down versions at this point

    @see https://warehouse.readthedocs.io/api-reference/json.html
    @see https://packaging.pypa.io/en/latest/specifiers.html
    """
    specifiers = SpecifierSet(specifier or "")
    is_match = sys_version in specifiers

    log.debug(f"is_version_satisfied(info=i){sys_version} in {specifiers}")
    return is_match

    SpecifierSet("") matches anything, no need to artificially
    lock down versions at this point

    @see https://warehouse.readthedocs.io/api-reference/json.html
    @see https://packaging.pypa.io/en/latest/specifiers.html
    
SpecifierSet("") matches anything, no need to artificially
lock down versions at this point
SpecifierSet ( " " ) matches anything no need to artificially lock down versions at this point
def _is_version_satisfied(specifier: str, sys_version) -> bool:
    specifiers = SpecifierSet(specifier or "")
    is_match = sys_version in specifiers
    log.debug(f"is_version_satisfied(info=i){sys_version} in {specifiers}")
    return is_match
def _is_version_satisfied ( specifier : str , sys_version ) -> bool : specifiers = SpecifierSet ( specifier or "" ) is_match = sys_version in specifiers log . debug ( f"is_version_satisfied(info=i){sys_version} in {specifiers}" ) return is_match
SpecifierSet("") matches anything, no need to artificially
lock down versions at this point
SpecifierSet ( " " ) matches anything no need to artificially lock down versions at this point
"""
    SpecifierSet("") matches anything, no need to artificially
    lock down versions at this point

    @see https://warehouse.readthedocs.io/api-reference/json.html
    @see https://packaging.pypa.io/en/latest/specifiers.html
    """
specifier
str
sys_version
see
None
see
None