···155155 # python(minor).(major)-(pname)-(version or unstable-date)
156156 # we need the version qualifier, or we'll have multiple matches
157157 # (e.g. pyserial and pyserial-asyncio when looking for pyserial)
158158- pattern = re.compile(f"^python\\d\\.\\d-{name}-(?:\\d|unstable-.*)", re.I)
158158+ pattern = re.compile(f"^python\\d+\\.\\d+-{name}-(?:\\d|unstable-.*)", re.I)
159159 for attr_path, package in packages.items():
160160 if pattern.match(package["name"]):
161161 attr_paths.append(attr_path)