Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gnocchi build with latest setuptools #1305

Closed
wants to merge 1 commit into from

Commits on Jun 20, 2023

  1. Fix gnocchi build with latest setuptools

    Setuptools removed deprecated APIs in easy_install:
    get_script_args, get_script_header and get_writer.
    The direct usage of easy_install has been deprecated
    since v58.3.0, and the warnings regarding these APIs
    predate that version.
    
    This patch fix this issue by replacing direct easy_install
    call easy_install.get_script_header() with
    easy_install.ScriptWriter.get_header().
    
    Build error:
    
    AttributeError: module 'setuptools.command.easy_install'
    has no attribute 'get_script_header'
    
    Fixes gnocchixyz#1304
    keuko committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    185ff86 View commit details
    Browse the repository at this point in the history