summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Doran <sdoran@redhat.com>2021-09-27 15:32:56 -0400
committerGitHub <noreply@github.com>2021-09-27 12:32:56 -0700
commitac1132e2a52850f43484c2287b1e321f497fe7d1 (patch)
tree5e472e20562081da2dabb0a507dece234314c2ed
parent036fd07bd3b1c7e5c4211ddb9f5e4d7115c4cb98 (diff)
downloadansible-ac1132e2a52850f43484c2287b1e321f497fe7d1.tar.gz
[stable-2.10] ansible-test - pin antsibull to prevent failures (#75801)
A recent release of antsibull is causing docs-build sanity tests to fail and it was not properly pinned in stable-2.10 branch.
-rw-r--r--test/lib/ansible_test/_data/requirements/constraints.txt6
-rw-r--r--test/lib/ansible_test/_data/requirements/sanity.changelog.txt2
-rw-r--r--test/sanity/code-smell/docs-build.requirements.txt2
-rw-r--r--test/sanity/code-smell/package-data.requirements.txt2
-rw-r--r--test/sanity/ignore.txt1
5 files changed, 4 insertions, 9 deletions
diff --git a/test/lib/ansible_test/_data/requirements/constraints.txt b/test/lib/ansible_test/_data/requirements/constraints.txt
index 95e8aea5ab..b0c9caa3a4 100644
--- a/test/lib/ansible_test/_data/requirements/constraints.txt
+++ b/test/lib/ansible_test/_data/requirements/constraints.txt
@@ -47,12 +47,6 @@ setuptools < 37 ; python_version == '2.6' # setuptools 37 and later require pyth
setuptools < 45 ; python_version == '2.7' # setuptools 45 and later require python 3.5 or later
MarkupSafe < 2.0.0 ; python_version < '3.6' # MarkupSafe >= 2.0.0. requires Python >= 3.6
-# freeze antsibull-changelog for consistent test results
-antsibull-changelog == 0.9.0
-
-# Make sure we have a new enough antsibull for the CLI args we use
-antsibull >= 0.21.0
-
# freeze pylint and its requirements for consistent test results
astroid == 2.3.3
isort == 4.3.15
diff --git a/test/lib/ansible_test/_data/requirements/sanity.changelog.txt b/test/lib/ansible_test/_data/requirements/sanity.changelog.txt
index 8a98acc9d0..0929da14db 100644
--- a/test/lib/ansible_test/_data/requirements/sanity.changelog.txt
+++ b/test/lib/ansible_test/_data/requirements/sanity.changelog.txt
@@ -1,2 +1,2 @@
# changelog build requires python 3.6+
-antsibull-changelog ; python_version >= '3.6'
+antsibull-changelog == 0.9.0 ; python_version >= '3.6'
diff --git a/test/sanity/code-smell/docs-build.requirements.txt b/test/sanity/code-smell/docs-build.requirements.txt
index 5e458795dd..7dc45c4d33 100644
--- a/test/sanity/code-smell/docs-build.requirements.txt
+++ b/test/sanity/code-smell/docs-build.requirements.txt
@@ -3,4 +3,4 @@ pyyaml
sphinx
sphinx-notfound-page
straight.plugin
-antsibull
+antsibull == 0.26.0
diff --git a/test/sanity/code-smell/package-data.requirements.txt b/test/sanity/code-smell/package-data.requirements.txt
index 5d74c7152e..db514ea038 100644
--- a/test/sanity/code-smell/package-data.requirements.txt
+++ b/test/sanity/code-smell/package-data.requirements.txt
@@ -7,4 +7,4 @@ setuptools > 39.2
straight.plugin
# changelog build requires python 3.6+
-antsibull-changelog ; python_version >= '3.6'
+antsibull-changelog == 0.9.0 ; python_version >= '3.6'
diff --git a/test/sanity/ignore.txt b/test/sanity/ignore.txt
index 425a521693..ffe8edc6c6 100644
--- a/test/sanity/ignore.txt
+++ b/test/sanity/ignore.txt
@@ -321,6 +321,7 @@ test/integration/targets/win_script/files/test_script_with_splatting.ps1 pslint:
test/integration/targets/windows-minimal/library/win_ping_syntax_error.ps1 pslint!skip
test/lib/ansible_test/_data/requirements/constraints.txt test-constraints
test/lib/ansible_test/_data/requirements/integration.cloud.azure.txt test-constraints
+test/lib/ansible_test/_data/requirements/sanity.changelog.txt test-constraints
test/lib/ansible_test/_data/requirements/sanity.ps1 pslint:PSCustomUseLiteralPath # Uses wildcards on purpose
test/lib/ansible_test/_data/sanity/pylint/plugins/string_format.py use-compat-six
test/lib/ansible_test/_data/setup/ConfigureRemotingForAnsible.ps1 pslint:PSCustomUseLiteralPath