Error: adding suffix failed, new file content is unchanged

Hi,

I have made updates to a custom plugin and committed to github. When I try to build the wheel I get this error:

src % ./bin/maintenance/build-wheel.py plugin --add-version-suffix  ~/dev/indico/custom/plugins/pi_customization
building assets
adding version suffix: +202601271451.4c956320e1
Error: adding suffix failed, new file content is unchanged

Any ideas what might be causing this issue?

Cheers

Please share the content of your plugin’s pyproject.toml. But most likely it is something simple such as using double quotes instead of single quotes in the version = '...' line.

You’re right. Replacing double quotes with single quotes fixed it. Is that something new? I’ve done these updates many times using double quotes and never ran into this issue.

Thanks for your help

Cheers

It failed silently before (simply not adding the version suffix), and since I wasted way too much time on figuring out why the suffix was not being added, I made it fail more explicitly.

got it, thanks again