Possibly unmaintained collections in ACP 15.0.0a1

This is a follow-up to Possibly unmaintained collections in ACP 14.0.0

unchanged-dependencies.py 15.0.0a1 13.0.0

unchanged-dependencies.py:

#!/usr/bin/python
# coding: utf-8
# Author: Mario Lenz <m@riolenz.de>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-FileCopyrightText: Ansible Project, 2022
"""Show unchanged dependencies between Ansible versions."""

import argparse


def get_dependencies(version):
    dependencies = {}
    major_version = version.split('.')[0]
    with open('%s/ansible-%s.deps' % (major_version, version)) as f:
        for line in f:
            dependency = line.strip().split(':')
            dependencies[dependency[0]] = dependency[1].strip()
    return dependencies


def compare_dependencies(dependencies1, dependencies2):
    for dependency in dependencies1:
        if dependency in dependencies2:
            if dependencies1[dependency] == dependencies2[dependency]:
                print(dependency)


def main():
    parser = argparse.ArgumentParser(description='Show unchanged dependencies between Ansible versions.')
    parser.add_argument('version1', help='first version for the comparison')
    parser.add_argument('version2', help='second version for the comparison')
    args = parser.parse_args()
    dependencies1 = get_dependencies(args.version1)
    dependencies2 = get_dependencies(args.version2)
    compare_dependencies(dependencies1, dependencies2)


if __name__ == '__main__':
    main()

Thanks as always for doing this, and I appreciate you starting it earlier

Looks like VyOS are centralizing all there discussion to ⚓ Query: VyOS Ansible Collection issues

community.library_inventory_filtering_v1 only has changes if there are bugfixes, docs improvement/fixes, or (not very likely) new features. So it’s not surprising that there are no changes over a long time, as long as it keeps working :slight_smile:

(It’s tested both by its CI and the CI of several collections that use it.)