This makes slight changes to the handling of universal lockfiles. These
were regenerated with `nox -e pip-compile -- --no-upgrade` to keep the
versions the same but adapt to the new way uv simplifies environment
markers.
* tests: switch to uv pip-compile for lockfiles
This switches the nox pip-compile session and lockfiles to use uv pip
compile (written in Rust and much faster) instead of pip-compile from
pip-tools for our dependency update jobs.
As a side effect, this addresses the issue brought up in
https://github.com/ansible/ansible-documentation/pull/1950#issuecomment-2443965477,
as we're no longer using pip-compile that can break anytime pip changes
the private/internal APIs that pip-tools relies on.
I re-generated the lockfiles with `--no-upgrade` to avoid extraneous
changes in this PR.
The only additions are the formatting of comments in the lockfile and
colorama.
colorama was added as a result of `uv pip-compile`'s `--universal` flag
which creates "universal" lockfiles that include dependencies of other
platforms, architectures, and Python versions than those of the system
used to generate the lockfile.
`--universal` should create more consistent results for contributors who
use other systems
(e.g., Mac OS or a newer Python version than the one used in CI).
Fixes: https://github.com/ansible/ansible-documentation/issues/1755
* nox pip_compile: improve code comments
Suggested-by: Don Naro <dnaro@redhat.com>
This commit reorganizes the issue/PR triager script and updates the
workflow to run more efficiently.
- Make the script a proper Python package instead of an unwieldy single
file
- Use locked dependencies and UV to decrease workflow runtime to under
10 seconds.