Skip to content

make install not support setuptools>58.2.0 #4586

@Rtoax

Description

@Rtoax

I found that when I install bcc on fedora37 (make install), setuptools gives a warnings:

running install
/usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/usr/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(

And found that the BCC Python related code has not been installed or updated. This is caused by a high version of setuptools, One of the workarounds [0][1]:

pip install setuptools==58.2.0

But this is clearly the wrong solution. I haven't found a workable solution at the moment

[0] https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
[1] https://pypa-build.readthedocs.io/en/stable/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions