summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorSloane Hertel <19572925+s-hertel@users.noreply.github.com>2022-06-09 11:13:28 -0400
committerGitHub <noreply@github.com>2022-06-09 10:13:28 -0500
commit977c2480dbc000574ccc0a9cb4c6ed1c1f5baede (patch)
tree1431b263a5a2886ca37e8be89f82092e276cb516 /changelogs
parent39579134856f1acb584586a86589a16161bfeeb6 (diff)
downloadansible-977c2480dbc000574ccc0a9cb4c6ed1c1f5baede.tar.gz
[2.13] Fix ansible-galaxy traceback when unexpected version of resolvelib is installed (#77901)
* Fix ansible-galaxy traceback when unexpected version of resolvelib is installed (#77630) * Fix traceback when a supported version of resolvelib is not installed Try to read the supported version range from the package distribution info and fall back to a hardcoded lowerbound/upperbound (>=0.5.3,<0.6.0). * Add tests for unsupported resolvelib versions * Resolve remaining import sanity test issues. Co-authored-by: Matt Clay <matt@mystile.com> Co-authored-by: Matt Martz <matt@sivel.net> (cherry picked from commit 82f3a57bee274b52db8bbf1d1c072997f9c4f5f2) * Fix boolean condition so that ansible-galaxy collection install works when a valid resolvelib is installed. (#77906) (cherry picked from commit 6fbc8bd2bcc0c3375cc77c4df38f25e858e7225d) * ansible-galaxy - ensure variable is defined for any error when getting the ansible-core distribution (#77993) (cherry picked from commit db335498d0af11f01b1384487896729a154bc977) Co-authored-by: Felix Fontein <felix@fontein.de>
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/77630-ansible-galaxy-fix-unsupported-resolvelib-version.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/77630-ansible-galaxy-fix-unsupported-resolvelib-version.yml b/changelogs/fragments/77630-ansible-galaxy-fix-unsupported-resolvelib-version.yml
new file mode 100644
index 0000000000..22f512674a
--- /dev/null
+++ b/changelogs/fragments/77630-ansible-galaxy-fix-unsupported-resolvelib-version.yml
@@ -0,0 +1,2 @@
+bugfixes:
+ - ansible-galaxy - handle unsupported versions of resolvelib gracefully.