Skip to content

Commit

Permalink
Pin cisco.dnac and cisco.meraki due to compatibility issues (#339)
Browse files Browse the repository at this point in the history
* 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: cisco-en-programmability/dnacenter-ansible#133 (comment)

* 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: cisco-en-programmability/dnacenter-ansible#133 (comment)

* 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: meraki/dashboard-api-ansible#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: meraki/dashboard-api-ansible#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: meraki/dashboard-api-ansible#38
  • Loading branch information
gotmax23 committed Dec 5, 2023
1 parent 49f44ae commit 2691da9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 10/ansible-10.constraints
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
6 changes: 6 additions & 0 deletions 8/ansible-8.constraints
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions 9/ansible-9.constraints
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2691da9

Please sign in to comment.