upsies.utils.update

Find most recent version

Functions

upsies.utils.update.current_is_prerelease()[source]

Whether the currently running release is a prerelease

async upsies.utils.update.get_latest_changelog()[source]

Same as get_latest_release_changelog(), but do not ignore prerelease

async upsies.utils.update.get_latest_release_changelog()[source]

Return changes of the most recent proper release as multiline str

If no proper release can be found, return an empty str.

Raises:

RequestError – if getting the changelog fails

async upsies.utils.update.get_newer_prerelease()[source]
async upsies.utils.update.get_newer_release()[source]

Return version of newer release than upsies.__version__

If there is no newer release, return an empty str.

Raises:

RequestError – if getting the latest version fails