python-rpm-macros
python-rpm-macros copied to clipboard
pip --build-option is deprecated
pip 23.1 has deprecated --build-option, so if you %define py_setup_args, this is triggered:
[ 5s] DEPRECATION: --build-option and --global-option are deprecated. pip 23.3 will enforce this behaviour change. A possible replacement is to use --config-settings. Discussion can be found at https://github.com/pypa/pip/issues/11859
[ 5s] WARNING: Implying --no-binary=:all: due to the presence of --build-option / --global-option.
I have not investigated --config-settings, but filing an issue so we don't forget
It's not that easy. https://github.com/pypa/pip/issues/11859 and https://github.com/pypa/setuptools/issues/3896 are still open issues.
So we don't forget :-)
“Lest we forget!” … damn, you missed such beautiful pun!