--- modulegraph/util.py.orig 2025-11-21 12:36:05.000000000 -0800 +++ modulegraph/util.py 2026-04-04 16:44:53.000000000 -0700 @@ -115,7 +115,7 @@ def imp_walk(name): raise ImportError("No module named %s" % (name,)) -cookie_re = re.compile(rb"coding[:=]\s*([-\w.]+)") +cookie_re = re.compile(r"coding[:=]\s*([-\w.]+)") if sys.version_info[0] == 2: default_encoding = "ascii" else: