Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: report version type in the version string #3472

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

sergiud
Copy link
Contributor

@sergiud sergiud commented Nov 15, 2021

Description

The version type is now part of the version string which avoids an empty space in release versions of the library. The version string now resembles PEP 440 albeit without a dot (since it's a CMake version string). Also, updated the documentation wording which claims the version to be set to release in final (released) versions but is actually left empty.

Fixes #3471

Suggested changelog entry:

cmake: report version type as part of the version string to avoid a spurious space in the package status message

@Skylion007 Skylion007 merged commit d2b2131 into pybind:master Nov 16, 2021
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Nov 16, 2021
@sergiud sergiud deleted the cmake-version-type branch November 16, 2021 15:20
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Dec 21, 2021
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.

[BUG]: missing version type in release
3 participants