From d143a5d04b0bd279d19d0c85908f58a497784fbe Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Wed, 9 Jun 2021 20:30:44 +0200 Subject: [PATCH] Metadata versions field now reflects the latest supported version (#5600) --- CONTRIBUTING.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fdcad7544..d8a03039b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -82,12 +82,13 @@ The metadata file describes the stubs package using the [TOML file format](https://toml.io/en/). Currently, the following keys are supported: -* `version`: The oldest version of the library for which the stubs are still - applicable (i.e. reflect the actual runtime behaviour). Note that only two - most significant version levels are supported (i.e. only single dot). - When a significant change is made in the library, the version of the - stub should be bumped (note that previous versions are still available - on PyPI). +* `version`: The latest version of the library that the stubs support. + Note that only two most significant version levels are supported + (i.e. only single dot). When the stubs are updated to a newer version + of the library, the version of the stub should be bumped (note that + previous versions are still available on PyPI). Some legacy stubs are + marked with version `0.1`, indicating that their supported version is + unknown and needs to be updated. * `python2` (default: `False`) and `python3` (default: `True`): These fields indicate whether a package supports Python 2, Python 3, or both. * `requires` (optional): A list of other stub packages that this package uses.