bump2version icon indicating copy to clipboard operation
bump2version copied to clipboard

Option `--independent` not available in any tagged releases

Open jeremyweirich opened this issue 3 years ago • 2 comments

Description

The --independent flag is in project documentation so I'd expect to be able to use it in a tagged release. However, the latest tagged release is older than the patch where support for --independent was added.

Reproduce

In .bumpversion.cfg:

[bumpversion]
current_version = 1.2

parse = (?P<major>\d+)\.(?<minor>\d+)
serialize = {major}.{minor}

[bumpversion:part:major]
independent = True

A command like bump2version --dry-run --list major will error out because the --independent flag is not supported by any tagged release.

Request

Would it be possible to:

  • cut a new release, with support for --independent
  • update the docs for --independent to indicate that the feature is not yet available

jeremyweirich avatar Apr 28 '22 17:04 jeremyweirich

I am the one who has implemented this (#234) and I was ready to kill my own fork in favour of this project, but unfortunately, the projet looks like stuck (this is the reason why I made a fork some years ago). This is very unfortunate.

andrivet avatar Jun 25 '22 16:06 andrivet

Ugh. I have burned several hours trying to get the independent feature working, only to finally figure out that it's not really in the release.

ewjax avatar Aug 25 '22 00:08 ewjax