Skip to content

Package build fails due to removal of setuptools.package_index #3309

Closed
@snbianco

Description

@snbianco

The setuptools.package_index module was removed in v80.3.0 of setuptools.

Attempting to install astroquery from source using pip install git+https://github.com/astropy/astroquery produces the following error:

File "/private/var/folders/n4/_80pfrl53zn5gt7l7c6hdp0c0005t6/T/pip-req-build-2qwbwuy7/ah_bootstrap.py", line 56, in <module>
    from setuptools.package_index import PackageIndex
ModuleNotFoundError: No module named 'setuptools.package_index'

The offending line is here:

from setuptools.package_index import PackageIndex

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions