python-rpm-macros icon indicating copy to clipboard operation
python-rpm-macros copied to clipboard

pip --build-option is deprecated

Open s-t-e-v-e-n-k opened this issue 2 years ago • 3 comments

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

s-t-e-v-e-n-k avatar Oct 20 '23 04:10 s-t-e-v-e-n-k

It's not that easy. https://github.com/pypa/pip/issues/11859 and https://github.com/pypa/setuptools/issues/3896 are still open issues.

bnavigator avatar Oct 25 '23 11:10 bnavigator

So we don't forget :-)

s-t-e-v-e-n-k avatar Oct 25 '23 11:10 s-t-e-v-e-n-k

“Lest we forget!” … damn, you missed such beautiful pun!

mcepl avatar Nov 16 '23 10:11 mcepl