mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
* docs: add comment explaining version availability check rationale Generated-by: aiautocommit * feat: add test example for python and uv latest with min age requirement Generated-by: aiautocommit * feat: update test project dependencies in mise task * Automate upgrading the dependencies for the Python example project during the mise-upgrade task. * Ensure the repository remains current with the latest versions during the automated maintenance flow. Generated-by: aiautocommit * fix(mise): support pinned versions and minimum_release_age * test(core): add snapshot for python-uv-latest-locked build plan Generated-by: aiautocommit * docs: mise locked edge version test * refactor(mise): remove hardcoded minimum release age - Remove the hardcoded MISE_MINIMUM_RELEASE_AGE environment variable to allow configuration via system defaults or user settings. Generated-by: aiautocommit * test(node): verify latest node version in tests - Update the node version expectation to accept any valid version string when configured as "latest". - This avoids brittle test failures caused by the actual "latest" version changing over time. Generated-by: aiautocommit
20 lines
401 B
Python
20 lines
401 B
Python
import subprocess
|
|
|
|
print("Hello from Python UV latest locked!")
|
|
|
|
python_version = subprocess.run(
|
|
["python", "--version"],
|
|
capture_output=True,
|
|
text=True,
|
|
check=True,
|
|
)
|
|
print(python_version.stdout.strip() or python_version.stderr.strip())
|
|
|
|
uv_version = subprocess.run(
|
|
["uv", "--version"],
|
|
capture_output=True,
|
|
text=True,
|
|
check=True,
|
|
)
|
|
print(uv_version.stdout.strip())
|