ewoks.tests.requirements.managers.ManagerCase#

class ewoks.tests.requirements.managers.ManagerCase[source]#

Bases: object

CHANNEL_PYTHON: bool = False#

Python comes from a conda channel, which decides the patch version.

INSTALLER: str = NotImplemented#

INSTALLER metadata of a distribution installed by the package manager.

MANAGER_CLS: Type[BaseManager] = NotImplemented#
NAME: str = NotImplemented#
SLOW: bool = False#

Creating an environment takes tens of seconds.

cli_command()[source]#

Value for the –package-manager-command CLI argument.

Return type:

str

command()[source]#

Command that invokes the package manager (the default when empty).

Return type:

Tuple[str, ...]

manager()[source]#
Return type:

BaseManager

native_files(distributions, python_version)[source]#

Files the package manager generates to reproduce an environment with these distributions. Empty when they cannot be generated.

Parameters:
  • distributions (Sequence[Distribution])

  • python_version (str)

Return type:

Dict[str, str]