I had huge issues with bumpver when trying to bump a version from v2.2.0a2 to v2.2.0,
bumpver update -t final
it would complain that the alpha version is higher than the new version.
In the end I needed to downgrade to version 2022.1120.
I suspect the problem is that I am running Python 3.12, where they have been some breaking changes to pkg_resources. I tracked down that the offending issue/ commit in bumpver is:
I had huge issues with bumpver when trying to bump a version from
v2.2.0a2
tov2.2.0
,it would complain that the alpha version is higher than the new version. In the end I needed to downgrade to version
2022.1120
.I suspect the problem is that I am running Python 3.12, where they have been some breaking changes to
pkg_resources
. I tracked down that the offending issue/ commit in bumpver is:https://github.com/mbarkhau/bumpver/issues/200 https://github.com/mbarkhau/bumpver/commit/8dc594c05580275f8b071fe4b1128be77f9be391
This is really an issue to be opened on bumpver, but I need some extra time to investigate.