python-poetry / python-poetry/poetry
poetry version prepatch doesn't work
Open
Nobody has claimed this yet.
kind/bug
status/needs-consensus
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- OS version and name: Ubuntu 16.04
- Poetry version: 0.12.11
- Link to the contents of your pyproject.toml file: https://gitlab.com/bgez/bgez/blob/ac93b0a49bc00f1e5ff13126b0c12ee994d6e32b/pyproject.toml
Issue
Tried to execute poetry version prepatch twice, in order to bump the prepatch semver number one more time, but it seemed to have no effect:
$ poetry version prepatch
Bumping version from 0.0.1-alpha.0 to 0.0.1-alpha.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing poetry version prepatch with a project at 0.0.1-alpha.0, then trace the implementation of the poetry version command and its version-bumping logic. The work is done when the command advances the prepatch version instead of reporting the same version, with coverage for this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100