Closed troycurtisjr closed 1 year ago
It appears you are correct. I opened a PR in setuptools to fix the corresponding documentation and will fix this in my build backend.
I fixed this in https://github.com/maxbachmann/RapidFuzz/commit/8eadc371b09f25afd28737f7ad9b17a343da40e2. @troycurtisjr do you need a new release with this fix?
A new release would be great, but I can just apply a patch for now until a new release naturally happens.
I created a new release with the fix. It will be available once the CI is finished (usually takes 2-3 hours)
The function signature for
get_requires_for_build_wheel()
in_custom_build/backend.py
has "self" as the first parameter, however PEP 517 lists it only withconfig_settings
. Thesetuptools.build_meta.get_requires_for_build_wheel
original implementation that this function "overrides" is actually a bound method, and thus doesn't take theself
parameter.It seems like that function is being used somewhere, since it seems to be getting updates, but I haven't tracked it down exactly where that is.