From 2691da9366443dbdf2408f267efd98c83dd5ba4f Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Mon, 4 Dec 2023 23:20:24 -0600 Subject: [PATCH] Pin `cisco.dnac` and `cisco.meraki` due to compatibility issues (#339) * 10: pin cisco.dnac due to ansible.utils compat issues 6.8.2 dropped support for ansible.utils v2. This change is semver incompatible and should be reverted in the next v6 release and held for v7, hence the two different constraints. * 9: blocklist semver-incompatible cisco.dnac 6.8.2 We could constrain this to `<6.8.2`, but it's expected that the next minor/patch release of cisco.dnac v6 will revert these changes Relates: https://github.com/cisco-en-programmability/dnacenter-ansible/issues/133#issuecomment-1839932598 * 8: blocklist semver-incompatible cisco.dnac 6.8.2 We could constrain this to `<6.8.2`, but it's expected that the next minor/patch release of cisco.dnac v6 will revert these changes Relates: https://github.com/cisco-en-programmability/dnacenter-ansible/issues/133#issuecomment-1839932598 * 10: pin cisco.meraki due to ansible.utils compat issues 2.16.17 dropped support for ansible.utils v2. This change is semver incompatible and should be reverted in the next v2 release and held for v3, hence the two different constraints. Relates: https://github.com/meraki/dashboard-api-ansible/issues/38 * 9: blocklist semver-incompatible cisco.meraki We could constrain this to `<2.16.17`, but it's expected that the next minor/patch release of cisco.meraki v2 will revert these changes Relates: https://github.com/meraki/dashboard-api-ansible/issues/38 * 8: blocklist semver-incompatible cisco.meraki We could constrain this to `<2.16.17`, but it's expected that the next minor/patch release of cisco.meraki v2 will revert these changes Relates: https://github.com/meraki/dashboard-api-ansible/issues/38 --- 10/ansible-10.constraints | 4 +++- 8/ansible-8.constraints | 6 ++++++ 9/ansible-9.constraints | 6 ++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/10/ansible-10.constraints b/10/ansible-10.constraints index e5216451d8..0ce13dd731 100644 --- a/10/ansible-10.constraints +++ b/10/ansible-10.constraints @@ -1,5 +1,4 @@ # cisco.ise 2.6.2 version_conflict: ansible.utils-3.0.0 but needs >=2.0.0,<3.0 -# cisco.dnac 6.8.1 version_conflict: ansible.utils-3.0.0 but needs >=2.0.0,<3.0 # cisco.meraki 2.16.16 version_conflict: ansible.utils-3.0.0 but needs >=2.0.0,<3.0 ansible.utils: <3.0.0 # ansible.netcommon 6.0.0 version_conflict: ansible.utils-2.12.0 but needs >=3.0.0 @@ -13,3 +12,6 @@ cisco.nxos: <6.0.0 ibm.qradar: <3.0.0 junipernetworks.junos: <6.0.0 splunk.es: <3.0.0 +# Collections that require `ansible.utils>=3.0.0` +cisco.dnac: !=6.8.2,<7.0.0 +cisco.meraki: !=2.16.17,<3.0.0 diff --git a/8/ansible-8.constraints b/8/ansible-8.constraints index e69de29bb2..834bed710d 100644 --- a/8/ansible-8.constraints +++ b/8/ansible-8.constraints @@ -0,0 +1,6 @@ +# https://github.com/cisco-en-programmability/dnacenter-ansible/issues/133#issuecomment-1839932598 +# cisco.dnac 6.8.2 drops support for ansible.utils v2 and contains other breaking changes +cisco.dnac: !=6.8.2 +# Relates: https://github.com/meraki/dashboard-api-ansible/issues/38 +# cisco.meraki 2.16.17 also drops support for ansible.utils v2 +cisco.meraki: !=2.16.17 diff --git a/9/ansible-9.constraints b/9/ansible-9.constraints index e69de29bb2..834bed710d 100644 --- a/9/ansible-9.constraints +++ b/9/ansible-9.constraints @@ -0,0 +1,6 @@ +# https://github.com/cisco-en-programmability/dnacenter-ansible/issues/133#issuecomment-1839932598 +# cisco.dnac 6.8.2 drops support for ansible.utils v2 and contains other breaking changes +cisco.dnac: !=6.8.2 +# Relates: https://github.com/meraki/dashboard-api-ansible/issues/38 +# cisco.meraki 2.16.17 also drops support for ansible.utils v2 +cisco.meraki: !=2.16.17