Skip to content

Feature: Change python __version__ to semver#3027

Open
WhoBrokeTheBuild wants to merge 1 commit intoMDSplus:alphafrom
WhoBrokeTheBuild:slw-change-python-versioning
Open

Feature: Change python __version__ to semver#3027
WhoBrokeTheBuild wants to merge 1 commit intoMDSplus:alphafrom
WhoBrokeTheBuild:slw-change-python-versioning

Conversation

@WhoBrokeTheBuild
Copy link
Member

Change the python version variable to use standard semver format, e.g. "1.2.3" instead of the MDSplus release tag format "alpha_release-1-2-3"
Change the version check to use the release tag instead of version

This should fix #3023

@WhoBrokeTheBuild WhoBrokeTheBuild self-assigned this Feb 19, 2026
@WhoBrokeTheBuild WhoBrokeTheBuild added feature Indicates new feature requests or implementations build Relates to the build system api/python Relates to the Python API labels Feb 19, 2026
Copy link
Contributor

@mwinkel-dev mwinkel-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks good.

Copy link
Contributor

@heidthecamp heidthecamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me.

Change the python __version__ variable to use standard semver format, e.g. "1.2.3" instead of the MDSplus release tag format "alpha_release-1-2-3"
Change the version check to use the release tag instead of __version__
@WhoBrokeTheBuild WhoBrokeTheBuild force-pushed the slw-change-python-versioning branch from fa49116 to 16e2b8e Compare February 20, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api/python Relates to the Python API build Relates to the build system feature Indicates new feature requests or implementations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PEP compliant __version__ for python

3 participants