Commit Graph
15 Commits
Author SHA1 Message Date
56036013cd 📦 Integrate manpage builds into PEP 517 build backend
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>
2023-02-23 21:37:02 +01:00
a76bbb18a5 Restrict wheel below v0.38.0 under Pythons < 3.7 (#79187)
* Restrict `wheel` below v0.38.0 under Pythons < 3.7

* Add a change note for PR #79187

* Update changelogs/fragments/79187--wheel-0.38.0.yml

Co-authored-by: Matt Clay <matt@mystile.com>

* Use constraints file when installing wheel.

Co-authored-by: Matt Clay <matt@mystile.com>
2022-10-24 14:57:54 -07:00
Sviatoslav SydorenkoandMatt Clay c604e347b2 Skip podman_container integration tests @ RHEL8b (#58363) 2019-06-25 17:39:30 -07:00
Sviatoslav SydorenkoandMatt Clay f1e67c3328 Bugfix/ fix mocker patch in tests (#52372)
* 🐛 Fix invalid os.stat mock in tests

* 🐛 Fix leaking mock patch in tests

Closes #52347
2019-02-15 13:58:26 -08:00
Sviatoslav SydorenkoandGitHub 625a2d1470 Upgrade README to have 4k+ contributors listed (#50093) 2018-12-18 15:50:19 +01:00
Sviatoslav SydorenkoandGitHub c66e16097f Fix license badge link (#48712) 2018-11-15 12:02:10 +01:00
Sviatoslav SydorenkoandGitHub 7b91d298d0 Add CoC, Mailing Lists & License badges to README
PR #48682
2018-11-15 03:11:16 +01:00
Sviatoslav SydorenkoandGitHub e8731a1f5b Add a ticket stub for guiding GitHub newcomers
PR #45497
2018-09-11 17:51:54 +02:00
Sviatoslav SydorenkoandAlicia Cozine 4632ae4b28 Update readme info (#44394)
* Upgrade the number of contributors in README

* Upgrade the sponsor information in README
2018-08-21 09:58:16 -05:00
Sviatoslav SydorenkoandGitHub 97cc0cce7f 🚸 🐍 🍒 ⛏ Integrate cherry picker (#41403)
This enables developers to use cherry-picker for backporting purposes.
This tool originally comes from Core Python Development Workflow.

Ref: https://pypi.org/p/cherry-picker
Ref: https://github.com/python/core-workflow/tree/master/cherry_picker

Also:
* 📝 Add docs about supporting cherry-picker
2018-07-12 19:34:02 +03:00
Sviatoslav SydorenkoandGitHub fc25d280be Add CoC and mailing lists links to PYPI
PR #42101
2018-06-30 22:55:50 +03:00
Sviatoslav Sydorenko d75ba68509 Integrate bug/docs report and FR issue templates 2018-05-07 15:33:09 +02:00
Sviatoslav SydorenkoandGitHub 5d178c9287 Add .python-version to gitignore (#37483)
This file is used by pyenv tool to automatically activate env
2018-03-15 19:07:59 +01:00
Sviatoslav SydorenkoandGitHub 2ce1009c04 Fix portage mod usage of jobs and load-average opt
In short, it enables portage module to emit emerge
command with --jobs and --load-average options
with and without argument.

To emit emerge with such CLI argument without
a value, the user must set the corresponding
module option to 0.

By default, if these arguments are missing from
playbook they are omitted.

Misc changes:

* Use to_native to ensure crosspython compat

* Adjust jobs and LA options to accept 0 as reset

* Add docstring to emerge_packages

* Explicitly note in doc that False will work as 0

PR  #36355 by @webknjaz
2018-02-20 13:04:10 +01:00
Sviatoslav SydorenkoandAbhijeet Kasurde 3a097063d9 Drop duplicate imports from apt_repository module (#36320)
* Drop duplicate imports from apt_repository module
* Drop json import from apt_repository module
2018-02-17 16:33:12 +05:30