awx/awxkit
Sviatoslav Sydorenko d8e87da898 🧪 Make pytest notify us about future warnings
In essence, this configures Python to turn any warnings emitted in
runtime into errors[[1]]. This is the best practice that allows
reacting to future deprecation announcements that are coming from the
dependencies (direct, or transitive, or even CPython itself)[[2]].

The typical workflow looks like this:

  1. If a dependency is updated an a warning is hit in tests, the
     deprecated thing should be replaced with newer APIs.

  2. If a dependency is transitive or we have no control over it
     otherwise, the specific warning and a regex matching its message,
     plus the module reference (where possible) can be added to the
     list of temporary ignores in `pytest.ini`.

  3. The list of temporary ignores should be reevaluated periodically,
     including when dependency re-pinning in lockfile is happening.

[1]: https://docs.python.org/3/using/cmdline.html#cmdoption-W
[2]: https://pytest-with-eric.com/configuration/pytest-ignore-warnings/
2024-11-25 14:01:21 -05:00
..
2024-11-20 11:18:52 -05:00
2019-08-08 22:12:31 -04:00
2024-02-14 15:12:51 -05:00
2024-11-25 14:01:21 -05:00

awxkit

A Python library that backs the provided awx command line client.

It can be installed by running pip install awxkit.

The PyPI respository can be found here.

For more information on installing the CLI and building the docs on how to use it, look here.