mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-05 15:57:05 +00:00
* Add minimal uv_python module uv_python module: add integration tests * uv_python module: handle absent state uv_python module: add integration tests * uv_python module: restrict accepted version formats to X.Y and X.Y.Z uv_python module: add integration tests for version format * uv_python module: add _list_python and _get_latest_patch_release methods * uv_python module: add support for latest state uv_python module: add integration tests for latest state * uv_python module: add integration tests for check mode * uv_python module: improve latest state check mode to show version that will be installed * uv_python module: make latest state more deterministic by using install with explicite version * uv_python module: improve absent state check mode and add corresponding integration test * uv_python module: update latest state handling to sort versions without relying on uv behavior uv_python module: improve integration tests uv_python module: improve module return values * uv_python module: add integration test for when uv executable does not exist uv_python module: improve exception handling * uv_python module: add integration test for case when specified version does not exist * uv_python module: handle case when provided python version does not exist in latest state uv_python module: improve methods' return values and add docstrings uv_python module: improve integration tests * uv_python module: improve check mode for present state to fail when no patch version is available * uv_python module: return commands' stderr and return code as a variable of stdout * uv_python module: add python version to module return values for present state * uv_python module: add python version to module return values for absent state * uv_python module: add python version to module return values for latest state uv_python module: fix integration tests * uv_python module: add installation paths to return values for present state * uv_python module: add installation paths to return values for absent state * uv_python module: add installation paths to return values for latest state * uv_python module: update present, absent and latest state to only include versions managed by uv in return values uv_python module: improve integration tests uv_python module: update module documentation * uv_python module: use LooseVersion instead of StrictVersion to allow specifying threaded and major python versions * uv_python module: fail module if used uv version is less than the minimal supported version uv_python module: update documentation * uv_python module: add uv command options to executed commands to disable unneeded features * uv_python module: use packaging.version to only accept canonical python versions uv_python module: update integration tests uv_python module: improve error messages * uv_python module: pin uv version used in tests Improve module documentation Co-authored-by: Felix Fontein <felix@fontein.de> Add integration tests' aliases file for uv_python module * Use StrictVersion instead of packaging Version * make integration tests more deterministic Update attributes field in documentation Save uv bin path in an attribute Add another example in documentation Apply PR feedback and refactor code Fix typing to be compatible with python versions <= 3.8 Update example to use quotes for major.minor example and update documentation Update test aliases Use documentation fragment for uv_python attributes * Add aliases to skip running tests on freebsd and rhel Make uv_python tests more deterministic Clean uv_python documentation * Handle case when version given is an empty string in uv_python module * Apply linguistic guidelines for plugins/modules/uv_python.py Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> Add Python version requirement in uv_python documentation * Update tests to install uv using pip and fix some tests Add typing to plugins/modules/uv_python.py Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> Update plugins/modules/uv_python.py documentation Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> * Add task to uv_python tests to add uv installation directory to PATH * Update uv_python to log unparsed versions in debug mode Refactor uv_python code Remove uv python label in .github/BOTMETA.yml Co-authored-by: Felix Fontein <felix@fontein.de> Add typing to plugins/modules/uv_python.py Co-authored-by: Felix Fontein <felix@fontein.de> Fix uv python documentation Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> * Allow testing using Python versions lower or equal to 3.8 skip running ci tests in macos Co-authored-by: Felix Fontein <felix@fontein.de> * Make uv version check more resilient to cli output format change in uv_python module Improve tests/integration/targets/uv_python/tasks/main.yaml Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> fix mypy union attr error * update uv_python tests to run on rhel and freebsd Update uv_python tests to use generic packge manager to install uv Install uv with curl for freebsd in uv python tests Install rust needed by uv in freebsd for uv python tests Update up_python tests to fix uv installation path in RHEL skip testing uv_python on freebsd as it only has tier 3 support by uv Fix fragment name in uv_python.py Co-authored-by: Felix Fontein <felix@fontein.de> Update version_added in plugins/modules/uv_python.py Co-authored-by: Felix Fontein <felix@fontein.de> Update tests/integration/targets/uv_python/tasks/main.yaml Co-authored-by: Felix Fontein <felix@fontein.de> Make version shown on debug message more precise in uv_python module * Handle case when uv python returns relative paths instead of absolute in uv_python module Add more typing to uv_python module * uv_python module: update debug message fo unsupported versions to be more clear --------- Co-authored-by: Mariam Ahhttouche <mariam.ahhttouche@etu.univ-grenoble-alpes.fr> Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de> |
||
|---|---|---|
| .. | ||
| targets | ||
| requirements.yml | ||