release.py - Use changelog requirements (#83920) (#84646)

Use the changelog sanity test requirements instead of the package-data sanity test requirements.

This enables removal of most package-data sanity test requirements, as they are no longer used by the test itself.
The additional requirements were being maintained only to provide pinned requirements for building the changelog during a release.

(cherry picked from commit cd342f76b4)
pull/84649/head
Matt Clay 10 months ago committed by GitHub
parent c6bb15e7b0
commit aa59ea58c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -672,7 +672,7 @@ build
twine
"""
requirements_file = CHECKOUT_DIR / "test/sanity/code-smell/package-data.requirements.txt"
requirements_file = CHECKOUT_DIR / "test/lib/ansible_test/_data/requirements/sanity.changelog.txt"
requirements_content = requirements_file.read_text()
requirements_content += ansible_requirements
requirements_content += release_requirements

Loading…
Cancel
Save