Add support for Homebrew and Chocolatey (#9187)

This commit is contained in:
Avasam
2022-11-24 02:17:17 -05:00
committed by GitHub
parent 67c8b5cb22
commit 7050c1d907
8 changed files with 63 additions and 22 deletions

View File

@@ -196,14 +196,20 @@ This has the following keys:
package. Please avoid setting this to `true`, and add a comment if you have
to.
* `apt_dependencies` (default: `[]`): A list of Ubuntu APT packages
that need to be installed for stubtest to run successfully. These are
usually packages needed to pip install the implementation distribution.
that need to be installed for stubtest to run successfully.
* `brew_dependencies` (default: `[]`): A list of MacOS Homebrew packages
that need to be installed for stubtest to run successfully
* `choco_dependencies` (default: `[]`): A list of Windows Chocolatey packages
that need to be installed for stubtest to run successfully
* `platforms` (default: `["linux"]`): A list of OSes on which to run stubtest.
Can contain `win32`, `linux`, and `darwin` values.
If not specified, stubtest is run only on `linux`.
Only add extra OSes to the test
if there are platform-specific branches in a stubs package.
`*_dependencies` are usually packages needed to `pip install` the implementation
distribution.
The format of all `METADATA.toml` files can be checked by running
`python3 ./tests/check_consistent.py`.