Skip to content

[Enhancement][2.0] Implement dependency checker for all modules in the collection #2133

@fernandofloresg

Description

@fernandofloresg

Is there an existing issue for this?

  • There are no existing issues.

Enhancement or feature description

To ensure consistent compatibility and reliability across the collection, we need to implement a dependency checker for all modules. This checker should validate that each module explicitly declares and adheres to its required dependencies, including:

  • ZOAU (Z Open Automation Utilities)
  • Python
  • Ansible Core

Additionally, developer must test each module against a matrix of supported versions for these.

Implement a reusable dependency validation mechanism for all modules.
Ensure each module is tested against a defined matrix of:

  • ZOAU versions (e.g., 1.2.x, 1.3.x, 1.4.x)

  • Python versions (e.g., 3.8, 3.9, 3.10, 3.11)

  • Ansible Core versions (e.g., 2.13, 2.14, 2.15)

  • Implement a dependency checker utility.

  • Integrate the checker into each module’.

  • Define a version matrix for ZOAU, Python, and Ansible Core.

  • Update CI workflows to run tests across the version matrix.

  • Document the supported versions and testing strategy.

Acceptance Criteria:

  • All modules include dependency validation in their test suite.
  • CI runs tests across the full version matrix.
  • Failures due to incompatible versions are clearly reported.

Ansible module

zos_apf

Metadata

Metadata

Labels

EnhancementEnhancement to existing collection contentIn PlanIssue has been accepted and put into a planned release

Projects

Status

🏗 In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions