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
Sviatoslav Sydorenko bfc26f55cc
[backport-2.14] 📦 Integrate manpage builds into PEP 517 build backend (#80129)
This patch creates a thin wrapper around the `setuptools`' PEP 517
build backend in-tree. It features an ability to request generating
the manpage files in the process of building a source distribution.
This toggle is implemented using the `config_settings` mechanism of
PEP 517.
One must explicitly pass it a CLI option to the build front-end to
trigger said behavior. The packagers are expected to use the
following call:

    python -m build --config-setting=--build-manpages

This option has no effect on building wheels.

🧪 The change includes integration tests

This test runs building and re-building sdists and wheels with and
without the `--build-manpages` config setting under the
oldest-supported and new `setuptools` pinned.

It is intended to preserve the interoperability of the packaging setup
across Python runtimes.

An extra smoke test also verifies that non PEP 517 interfaces remain functional.

PR #79606

Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit 56036013cd)
2 years ago
..
ansible_test ansible-test - Move code from _data to _util. (#75495) 3 years ago
integration [backport-2.14] 📦 Integrate manpage builds into PEP 517 build backend (#80129) 2 years ago
lib/ansible_test [stable-2.14] ansible-test - Fix pylint error with old home dir (#80151) (#80152) 2 years ago
sanity [stable-2.14] Fix MANIFEST.in includes (#80147) (#80148) 2 years ago
support [stable-2.14] Add `use_rsa_sha2_algorithms` option for paramiko (#78789) (#78842) 2 years ago
units Make using blocks as handlers a parser error (#79993) (#80010) 2 years ago
utils/shippable Update test matrix symlinks. (#78737) 2 years ago