Skip to content

Can't rebuild with newer pip #76

@gabuzi

Description

@gabuzi

Comment:

Hi,

I have a personal fork of faiss, for which I rely on the conda-forge feedstock to manage its builds. Today, new builds stopped working, including rebuilds of older versions. It appears that setuptools is no longer present during the build. setuptools is required here:

$PYTHON setup.py install --single-version-externally-managed --record=record.txt --prefix=$PREFIX

I traced it back to a recent update to pip to 24.1.2 on conda-forge: conda-forge/pip-feedstock#121 that removed setuptools as a dependency of pip itself. It looks like the this feedstock was relying on setuptools being installed through pip.

I fixed it by adding setuptools as a host dependency here:

Hope this helps save a few minutes of debugging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions