Skip to content

Draft: add python_version to version_option available message formats#2681

Closed
snosratiershad wants to merge 1 commit into
pallets:stablefrom
snosratiershad:feat/add-python-version-to-option-version-formats
Closed

Draft: add python_version to version_option available message formats#2681
snosratiershad wants to merge 1 commit into
pallets:stablefrom
snosratiershad:feat/add-python-version-to-option-version-formats

Conversation

@snosratiershad

@snosratiershad snosratiershad commented Feb 27, 2024

Copy link
Copy Markdown

Checklist:

  • Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
  • Add or update relevant docs, in the docs folder and in code.
  • Add an entry in CHANGES.rst summarizing the change and linking to the issue.
  • Add .. versionchanged:: entries in any relevant code docs.
  • Run pre-commit hooks and fix any issues.
  • Run pytest and tox, no tests failed.

@AndreasBackx AndreasBackx marked this pull request as draft October 26, 2024 12:27
@AndreasBackx

Copy link
Copy Markdown
Collaborator

I've converted this to a draft to show that there's still outstanding work (see checklist).

@AndreasBackx AndreasBackx added this to the 8.2.0 milestone Oct 26, 2024
@AndreasBackx AndreasBackx mentioned this pull request Oct 26, 2024
34 tasks
@snosratiershad

Copy link
Copy Markdown
Author

@AndreasBackx I will complete the outstanding work this week. Thanks

@AndreasBackx AndreasBackx modified the milestones: 8.2.0, 9.0.0 Jan 12, 2025
@kdeldycke kdeldycke changed the base branch from main to stable April 16, 2026 09:32
@Rowlando13

Copy link
Copy Markdown
Collaborator

Based on #3527, I am going to close this.

@Rowlando13 Rowlando13 closed this May 29, 2026
@Rowlando13 Rowlando13 removed this from the 9.0.0 milestone May 29, 2026
@kdeldycke

Copy link
Copy Markdown
Collaborator

As discussed in #3527 , we will not extend the @version_option decorator.

If you need something different than the default, you have to produce your own message. Or use the full-featured @click_extra.version_option decorator from the Click Extra project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] path and python version values for version message formatting

4 participants