async def METHOD_NAME(request: PantsSetupKwargsRequest) -> SetupKwargs:
    kwargs = request.explicit_kwargs.copy()
    if request.target.address.path_safe_spec.startswith("testprojects"):
        return SetupKwargs(kwargs, address=request.target.address)
    # Validate that required fields are set.
    if not kwargs["name"].startswith("pantsbuild.pants"):
        raise ValueError(
            f"Invalid `name` kwarg in the `provides` field for {request.target.address}. The name "
            f"must start with 'pantsbuild.pants', but was {kwargs['name']}."
        )
    if "description" not in kwargs:
        raise ValueError(
            f"Missing a `description` kwarg in the `provides` field for {request.target.address}."
        )
    # Add classifiers. We preserve any that were already set.
    standard_classifiers = [
        "Intended Audience :: Developers",
        "License :: OSI Approved :: Apache Software License",
        "Operating System :: MacOS :: MacOS X",
        "Operating System :: POSIX :: Linux",
        "Programming Language :: Python",
        "Topic :: Software Development :: Build Tools",
    ]
    kwargs["classifiers"] = [*standard_classifiers, *kwargs.get("classifiers", [])]
    # Hardcode certain kwargs and validate that they weren't already set.
    hardcoded_kwargs = dict(
        version=VERSION,
        long_description=softwrap(
            """
            Pants is an Apache2 licensed build tool written in Python and Rust.
            The latest documentation can be found at [pantsbuild.org](https://www.pantsbuild.org/).
            """
        ),
        long_description_content_type="text/markdown",
        url="https://github.com/pantsbuild/pants",
        project_urls={
            "Documentation": "https://www.pantsbuild.org/",
            "Source": "https://github.com/pantsbuild/pants",
            "Tracker": "https://github.com/pantsbuild/pants/issues",
            "Changelog": "https://www.pantsbuild.org/docs/changelog",
            "Twitter": "https://twitter.com/pantsbuild",
            "Slack": "https://www.pantsbuild.org/docs/getting-help",
            "YouTube": "https://www.youtube.com/channel/UCCcfCbDqtqlCkFEuENsHlbQ",
            "Mailing lists": "https://www.pantsbuild.org/docs/getting-help",
        },
        license="Apache License, Version 2.0",
        zip_safe=True,
    )
    conflicting_hardcoded_kwargs = set(kwargs.keys()).intersection(hardcoded_kwargs.keys())
    if conflicting_hardcoded_kwargs:
        raise ValueError(
            f"These kwargs should not be set in the `provides` field for {request.target.address} "
            "because Pants's internal plugin will automatically set them: "
            f"{sorted(conflicting_hardcoded_kwargs)}"
        )
    kwargs.update(hardcoded_kwargs)
    return SetupKwargs(kwargs, address=request.target.address)