5 Commits

Author SHA1 Message Date
Felix Fontein
51ee33e263 Use antsibull-docutils 1.2.0 to simplify rst-yamllint checker. (#2745) 2025-07-14 22:00:38 +02:00
Maxwell G
f6a549a8ab pr_labeler: update constraints (#2510)
This updates the dependency lockfile used by the labeler workflow. I did
some basic testing locally.
2025-04-15 12:28:42 +01:00
Maxwell G
3742c97f04 tests: refresh pip-compile lockfile
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.
2025-04-08 12:56:25 -05:00
Maxwell G
efd49d7f0a tests: switch to uv pip-compile for lockfiles (#2084)
* 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>
2024-12-04 11:30:37 +00:00
Maxwell G
7138e42716 pr_labeler: re-architect triager script (#1882)
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.
2024-09-17 14:07:31 -05:00