You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/sanity/code-smell
Matt Clay dbd928cad9
[stable-2.14] release.py - Auto-update setuptools upper bound (#83713) (#83745)
* [stable-2.14] release.py - Auto-update setuptools upper bound (#83713)

When releases are prepared, the upper bound on setuptools in pyproject.toml will be automatically updated
to the latest version available on PyPI. This version will then be tested by the package-data sanity test
during the release process and will be used to build the release.

This change ensures that a released version of ansible-core can be built in the future if a new setuptools
release includes breaking changes that would prevent building a functional package. If a downstream package
maintainer requires a newer setuptools version than the upper bound permits, they can patch pyproject.toml
as needed. Since ansible-core releases support specific Python versions, lack of support for new setuptools
releases will have no effect on support for future Python versions.

(cherry picked from commit 4e69d83fac)

* release.py - Add missing setuptools arg to prepare (#83887)

* release.py - Add missing setuptools arg to prepare

This allows the prepare command to accept the `--no-setuptools` argument.

It also fixes a traceback when using the `prepare` command.

* Use a more accurate type hint

(cherry picked from commit b544ac13ec)

* release.py - Include pyproject.toml in git add (#83892)

(cherry picked from commit e3ccdaaa2e)
1 year ago
..
ansible-requirements.json ansible-test - split controller/target testing (#75605) 4 years ago
ansible-requirements.py ansible-test - Clean up future boilerplate. (#76874) 4 years ago
ansible-test-future-boilerplate.json ansible-test - Clean up future boilerplate. (#76874) 4 years ago
ansible-test-future-boilerplate.py ansible-test - Clean up future boilerplate. (#76874) 4 years ago
deprecated-config.json Split up "code smell" sanity tests. (#60174) 6 years ago
deprecated-config.py Report relative path in deprecated-config test. 4 years ago
deprecated-config.requirements.in ansible-test - Update import test and sanity requirements. (#76308) 4 years ago
deprecated-config.requirements.txt [stable-2.14] ansible-test - Pre-build PyYAML wheels (#81300) (#81310) 2 years ago
no-unwanted-files.json Sanity test updates for collections support. (#61248) 6 years ago
no-unwanted-files.py expand ansible-doc coverage (#74963) 4 years ago
obsolete-files.json Sanity test updates for collections support. (#61248) 6 years ago
obsolete-files.py ansible-test - Clean up future boilerplate. (#76874) 4 years ago
package-data.json [stable-2.14] Docs removal and other backports (#81407) 2 years ago
package-data.py [stable-2.14] release.py - Auto-update setuptools upper bound (#83713) (#83745) 1 year ago
package-data.requirements.in [stable-2.14] Overhaul package-data sanity test (#81427) (#81438) 2 years ago
package-data.requirements.txt [stable-2.14] Overhaul package-data sanity test (#81427) (#81438) 2 years ago
release-names.json Update release name for 2.10 6 years ago
release-names.py ansible-test - Clean up future boilerplate. (#76874) 4 years ago
release-names.requirements.in ansible-test - Update import test and sanity requirements. (#76308) 4 years ago
release-names.requirements.txt [stable-2.14] ansible-test - Pre-build PyYAML wheels (#81300) (#81310) 2 years ago
required-and-default-attributes.json Update sanity tests for collections. (#61352) 6 years ago
required-and-default-attributes.py ansible-test - Clean up future boilerplate. (#76874) 4 years ago
skip.txt Split up "code smell" sanity tests. (#60174) 6 years ago
test-constraints.json Fix ansible-test constraints issues. (#73578) 5 years ago
test-constraints.py ansible-test - Improve requirements handling. (#77825) 4 years ago
update-bundled.json Split up "code smell" sanity tests. (#60174) 6 years ago
update-bundled.py ansible-test - Clean up future boilerplate. (#76874) 4 years ago
update-bundled.requirements.in ansible-test - Update import test and sanity requirements. (#76308) 4 years ago
update-bundled.requirements.txt ansible-test - Update sanity test requirements. (#78528) 3 years ago