def parse_pkg_name(pkg_name:str) -> Tuple[str, str, str]:
        """parse pkg name like test-pkg#nightly~>0.2.31#sha1:323423423 to test-pkg,nightly#>0.2.31,sha1:323423423"""
        args = pkg_name.split("#")
        if len(args) == 1:
            return args[0],None,None
        elif len(args) == 2:  
            return args[0],None,arg[2]
        elif len(args) == 3:
            return args[0],args[1],args[2]
        else:
            logger.error(f"parse pkg name {pkg_name} failed!")
            return None,None,None
parse pkg name like test-pkg#nightly~>0.2.31#sha1:323423423 to test-pkg,nightly#>0.2.31,sha1:323423423
src/aios/package_manager/pkg.py