stubber.utils.versions
¶
Handle versions of micropython based on the git tags in the repo
Module Contents¶
Functions¶
|
Clean up and transform the many flavours of versions |
|
Get the checked-out version of the repo |
|
Get the list of micropython versions from github tags |
Attributes¶
This is the oldest MicroPython version to build the stubs on |
|
Latest preview version |
|
- stubber.utils.versions.OLDEST_VERSION = '1.16'¶
This is the oldest MicroPython version to build the stubs on
- stubber.utils.versions.V_PREVIEW = 'preview'¶
Latest preview version
- stubber.utils.versions.SET_PREVIEW¶
- stubber.utils.versions.clean_version(version: str, *, build: bool = False, patch: bool = False, commit: bool = False, drop_v: bool = False, flat: bool = False)¶
Clean up and transform the many flavours of versions
- stubber.utils.versions.checkedout_version(path: pathlib.Path, flat: bool = False) str ¶
Get the checked-out version of the repo
- Parameters:
path (pathlib.Path) –
flat (bool) –
- Return type: