Skip to content

Add platform version check#548

Merged
cidrblock merged 1 commit intoansible:mainfrom
cidrblock:chore_platformversions
Dec 2, 2025
Merged

Add platform version check#548
cidrblock merged 1 commit intoansible:mainfrom
cidrblock:chore_platformversions

Conversation

@cidrblock
Copy link
Copy Markdown
Collaborator

This pull request introduces platform compatibility constraints for several dependencies and updates dependency versions to ensure compliance. It also adds a new pre-commit hook for platform constraint checking.

Dependency version constraints:

  • Added packageRules to renovate.json to explicitly restrict allowed versions for key dependencies such as ansible-core, cffi, django, importlib-metadata, jsonschema, packaging, pyyaml, python-gnupg, and setuptools to maintain platform compatibility.
  • Downgraded minimum required versions for packaging (from >=25.0 to >=22.0) and pyyaml (from >=6.0.2 to >=6.0.1) in both main and development dependencies in pyproject.toml to match new constraints. [1] [2]

Tooling improvements:

  • Added a new pre-commit hook check-platform-constraints from ansible/team-devtools to .pre-commit-config.yaml to automatically enforce platform compatibility during development.

@cidrblock cidrblock merged commit 601b690 into ansible:main Dec 2, 2025
19 of 21 checks passed
@github-project-automation github-project-automation bot moved this from Review to Done in 🧰 devtools project board Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants