xcookie.constants module

class xcookie.constants.PrereleasePythonPolicy(*values)[source]

Bases: str, Enum

Policy for unreleased CPython interpreter jobs in test CI.

ALLOW_FAILURE = 'allow-failure'
STRICT = 'strict'
SKIP = 'skip'
xcookie.constants.is_prerelease_python_version(version: str) → bool[source]

Return whether a configured CPython line is still a prerelease.