Currently if a package is somehow named with an underscore, it will not be recognized as installed by ipydeps. Changing
def process_pip_freeze_output(pkgs) -> list:
pkgs = str(pkgs, encoding='utf8').split('\n')
pkgs = [p for p in pkgs if len(p) > 0 and '==' in p]
pkgs = [get_freeze_package_name(p) for p in pkgs]
return pkgs
to
def process_pip_freeze_output(pkgs) -> list:
pkgs = str(pkgs, encoding='utf8').split('\n')
pkgs = [p for p in pkgs if len(p) > 0 and '==' in p]
pkgs = [get_freeze_package_name(p) for p in pkgs]
pkgs = normalize_package_names(pkgs)
return pkgs
fixes this issue.
Currently if a package is somehow named with an underscore, it will not be recognized as installed by ipydeps. Changing
to
fixes this issue.