Repository navigation
Python template: select services by dk.itkdev.language=python - #155
Merged
Merged
Conversation
cableman
approved these changes
Oct 5, 2026
…guage-label # Conflicts: # CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Python template's lint and tests workflows find their services by the label
dk.itkdev.language: pythoninstead ofdk.itkdev.python: "true".Changes
templates/python/.github/workflows/lint.ymlandtests.yml: the header comment, thejqselection (labels["dk.itkdev.language"] == "python") and the error when no service has the labeltemplates/python/docker-compose.yml: the label onapptemplates/python/.github/workflows/README.md: the label, and what it meansWhy
dk.itkdev.language: phpand the same lookup, instead of a new boolean label per language.dk.itkdev.runtimelabel can answer it once a template or tool needs it.dk.itkdev.python: trueis rejected;pythonneeds no quotes.Breaking for projects that already use the label. A code search across itk-dev, itk-devops and aarhusai finds only this template; itk-devops/itk-server-harvest#32 switches with this PR.
PYTHON_SERVICESis unchanged.