Skip to content

Add version_description to user_runtime.python#2077

Merged
chris-janidlo merged 1 commit intomainfrom
chris/add-version-description
Mar 10, 2026
Merged

Add version_description to user_runtime.python#2077
chris-janidlo merged 1 commit intomainfrom
chris/add-version-description

Conversation

@chris-janidlo
Copy link
Contributor

@chris-janidlo chris-janidlo commented Mar 10, 2026

Description

user_runtime.python_version is deprecated, but that information is still useful. The web service already expects version_description, so we just need to add it here.

Type of change

  • New feature (non-breaking change that adds functionality)

@chris-janidlo chris-janidlo added the quick-review Review of this should be quick and easy label Mar 10, 2026
`user_runtime.python_version` is deprecated, but that information is
still useful. The web service already expects `version_description`, so
we just need to add it here.
@chris-janidlo chris-janidlo force-pushed the chris/add-version-description branch from dd16aeb to eeca64f Compare March 10, 2026 20:14
Comment on lines +1 to +6
New Functionality
^^^^^^^^^^^^^^^^^

- Added ``python.version_description`` to the ``user_runtime`` reserved template
variable. This contains the full version string from ``sys.version``, and replaces
the deprecated ``user_runtime.python`` field.
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a requirement, but consider linking to the user_runtime documentation; that'll be something like:

- Added ``python.version_description`` to the :ref:`user_runtime <reserved-template-variables>` reserved template

@chris-janidlo chris-janidlo merged commit 43cf17b into main Mar 10, 2026
12 checks passed
@chris-janidlo chris-janidlo deleted the chris/add-version-description branch March 10, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

quick-review Review of this should be quick and easy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants