py-release setuptools / bumpmyversion bugs
Describe the bug
Release step fails when using setuptools build system.
the problem is mainly in the py_release() function :
elif [[ -f ".bumpversion.cfg" ]] and the following code does not work because bumpmyversion uses exclusively .toml files now and exits on error with the .cfg file
default case py_cur_version=$(python setup.py --version) fails because setuptools is not installed
I recommend to at least change the .bumpversion.cfg to .bumpversion.toml.
Expected behavior
release is built
Actual behavior
does not work
Thanks, to be continuous is great !
Edited by Olivier C