From c7793e65ec348d63643356c23a8e065f0cefd034 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Tue, 3 Oct 2023 09:13:06 -0400 Subject: [PATCH] Bump `coverage.py` to v7.3.2 in `ansible-test` (#81844) (#81845) (cherry picked from commit ec265ec08a0e79443445291e22f6a3e23520a55b) --- changelogs/fragments/ansible-test-coverage-update.yml | 2 +- test/lib/ansible_test/_data/requirements/ansible-test.txt | 2 +- test/lib/ansible_test/_internal/coverage_util.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/changelogs/fragments/ansible-test-coverage-update.yml b/changelogs/fragments/ansible-test-coverage-update.yml index 239456a370f..fd6cd89707f 100644 --- a/changelogs/fragments/ansible-test-coverage-update.yml +++ b/changelogs/fragments/ansible-test-coverage-update.yml @@ -1,7 +1,7 @@ --- minor_changes: -- ansible-test — Python 3.8–3.12 will use ``coverage`` v7.3.0. +- ansible-test — Python 3.8–3.12 will use ``coverage`` v7.3.2. - ansible-test — ``coverage`` v6.5.0 is to be used only under Python 3.7. ... diff --git a/test/lib/ansible_test/_data/requirements/ansible-test.txt b/test/lib/ansible_test/_data/requirements/ansible-test.txt index dc08d3d6c7f..17662f07a27 100644 --- a/test/lib/ansible_test/_data/requirements/ansible-test.txt +++ b/test/lib/ansible_test/_data/requirements/ansible-test.txt @@ -1,5 +1,5 @@ # The test-constraints sanity test verifies this file, but changes must be made manually to keep it in up-to-date. virtualenv == 16.7.12 ; python_version < '3' -coverage == 7.3.0 ; python_version >= '3.8' and python_version <= '3.12' +coverage == 7.3.2 ; python_version >= '3.8' and python_version <= '3.12' coverage == 6.5.0 ; python_version >= '3.7' and python_version <= '3.7' coverage == 4.5.4 ; python_version >= '2.6' and python_version <= '3.6' diff --git a/test/lib/ansible_test/_internal/coverage_util.py b/test/lib/ansible_test/_internal/coverage_util.py index 1002ed04da5..30176236c79 100644 --- a/test/lib/ansible_test/_internal/coverage_util.py +++ b/test/lib/ansible_test/_internal/coverage_util.py @@ -69,7 +69,7 @@ class CoverageVersion: COVERAGE_VERSIONS = ( # IMPORTANT: Keep this in sync with the ansible-test.txt requirements file. - CoverageVersion('7.3.0', 7, (3, 8), (3, 12)), + CoverageVersion('7.3.2', 7, (3, 8), (3, 12)), CoverageVersion('6.5.0', 7, (3, 7), (3, 7)), CoverageVersion('4.5.4', 0, (2, 6), (3, 6)), )