Skip to content

Commit b373871

Browse files
committed
feat(catalog): add multi_version config to Python
- Enable endoflife.date as version source - Use python{cycle} binary pattern (python3.14, python3.13, etc.) - Track up to 5 supported versions - Add version_files for project detection
1 parent 762fa90 commit b373871

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

catalog/python.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,14 @@
1212
"display_name": "Python stack",
1313
"install_action": "update",
1414
"order": 30
15+
},
16+
"multi_version": {
17+
"enabled": true,
18+
"source": "endoflife",
19+
"product": "python",
20+
"max_versions": 5,
21+
"binary_pattern": "python{cycle}",
22+
"candidates": ["python{cycle}", "/usr/bin/python{cycle}"],
23+
"version_files": [".python-version", "pyproject.toml", ".tool-versions"]
1524
}
1625
}

0 commit comments

Comments
 (0)