The 'ldap' provider misses 'ldap' extra dep (which adds ldap3 pip dependency).
setup.py
"""Perform the Airflow package setup."""
    setup_kwargs = {}
    if os.getenv('INSTALL_PROVIDERS_FROM_SOURCES') == 'true':
        
        
        setup_kwargs['packages'] = find_namespace_packages(include=['airflow*'])
    else:
        for key, value in EXTRAS_PROVIDERS_PACKAGES.items():
            EXTRAS_REQUIREMENTS[key].extend(
                [get_provider_package_from_package_id(package_name) for package_name in value]
            )
    write_version()
    setup(
        distclass=AirflowDistribtuion,
        
        
        version=version,
        extras_require=EXTRAS_REQUIREMENTS,
        download_url=('https://archive.apache.org/dist/airflow/' + version),
        cmdclass={
            'extra_clean': CleanCommand,
            'compile_assets': CompileAssets,
            'list_extras': ListExtras,
        },
        test_suite='setup.airflow_test_suite',
        **setup_kwargs,
    )
if __name__ == "__main__":
    do_setup()