def METHOD_NAME(
    reqs: List[Requirement], reqs_dev: List[Requirement], py_ver: str
) -> str:
    """Return the text of a Pipfile."""
    packages = [f'{req.name} = "{req.specifier}"' for req in reqs]
    dev_packages = [f'{req.name} = "{req.specifier}"' for req in reqs_dev]
    return _PIPFILE_TEMPLATE.format(
        packages="\n".join(packages),
        dev_packages="\n".join(dev_packages),
        py_ver=py_ver,
    )