Skip to content

Python¤

PythonDistribution dataclass ¤

PythonDistribution(
    version: Version,
    processor: str,
    platform: Platform,
    packages: List[Package],
)

Metadata about the python interpreter being used to run the tests.

packages instance-attribute ¤

packages: List[Package]

The packages installed in the python interpreter.

platform instance-attribute ¤

platform: Platform

The platform of the python interpreter.

processor instance-attribute ¤

processor: str

The processor architecture of the python interpreter.

version instance-attribute ¤

version: Version

The version of the python interpreter being used to run the tests.

Version dataclass ¤

Version(
    major: int,
    minor: int,
    micro: int,
    releaselevel: Releaselevel,
)

The version of the python interpreter being used to run the tests.

major instance-attribute ¤

major: int

The major version of the python interpreter.

micro instance-attribute ¤

micro: int

The micro version of the python interpreter.

minor instance-attribute ¤

minor: int

The minor version of the python interpreter.

releaselevel instance-attribute ¤

releaselevel: Releaselevel

The release level of the python interpreter.

Releaselevel ¤

Bases: Enum

The release level of the python interpreter.

alpha class-attribute instance-attribute ¤

alpha = 'alpha'

beta class-attribute instance-attribute ¤

beta = 'beta'

candidate class-attribute instance-attribute ¤

candidate = 'candidate'

final class-attribute instance-attribute ¤

final = 'final'

Platform ¤

Bases: Enum

The platform of the python interpreter.

darwin class-attribute instance-attribute ¤

darwin = 'darwin'

java class-attribute instance-attribute ¤

java = 'java'

linux class-attribute instance-attribute ¤

linux = 'linux'

unknown class-attribute instance-attribute ¤

unknown = 'unknown'

windows class-attribute instance-attribute ¤

windows = 'windows'