Apparently there is a problem in pkg_resourcesmodule in Python. For the modules in non-editable mode, it is fine but in the developer mode.
PKG_INFO file in the egg info is not updated and it is out of synch with the setup.cfg.
Therefore when we bumpversion we update the setup.cfg and the init.py (indirectly) but PKG_INFO still contains the old version.
TLDR: it should work now :-)
Apparently there is a problem in
pkg_resources
module in Python. For the modules in non-editable mode, it is fine but in the developer mode.PKG_INFO
file in the egg info is not updated and it is out of synch with thesetup.cfg
. Therefore when webumpversion
we update the setup.cfg and the init.py (indirectly) butPKG_INFO
still contains the old version.