Closed keuko closed 1 year ago
notice though that easy_install
itself is deprecated as well.
it is suggested to use pip
instead:
https://setuptools.pypa.io/en/stable/deprecated/easy_install.html
immediate issue will be fixed by https://github.com/gnocchixyz/gnocchi/pull/1314 – still using deprecated behaviour will perhaps use the opened pbr patch for that if details can be sorted out
Closing as immediate issue is fixed in stable branches and master now completely removed that code https://github.com/gnocchixyz/gnocchi/pull/1327
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/gnocchi#1304