Package io.jenkins.plugins.python
Class PythonVersionCatalog
java.lang.Object
io.jenkins.plugins.python.PythonVersionCatalog
- All Implemented Interfaces:
Serializable
Loads, dynamically fetches, and caches the standalone Python version catalog.
Supports air-gapped instances via local filesystem override and fallback to bundled catalog.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSelf-updating catalog published by the scheduled "Update Version Catalog" workflow to thecatalogbranch, so new Python/uv versions appear without a plugin release. -
Method Summary
Modifier and TypeMethodDescriptiongetDownload(String version, String platformKey) static PythonVersionCataloggetRelease(String version) Known Astral uv releases, newest first.voidreload()Reloads the version catalog from local override, dynamic cache, or bundled resources.resolveVersion(String versionSpec) Resolves exact version or prefix (e.g.
-
Field Details
-
DEFAULT_REMOTE_URL
Self-updating catalog published by the scheduled "Update Version Catalog" workflow to thecatalogbranch, so new Python/uv versions appear without a plugin release.- See Also:
-
-
Method Details
-
getInstance
-
reload
public void reload()Reloads the version catalog from local override, dynamic cache, or bundled resources. -
getUvVersions
Known Astral uv releases, newest first. May be empty for catalogs that predate uv version listing, in which case callers should only offer "latest". -
getAvailableVersions
-
getRelease
-
getLatestVersion
-
resolveVersion
Resolves exact version or prefix (e.g. "3.12" -> "3.12.15", "latest" -> latest stable). -
getDownload
-