ewoks.tests.requirements.managers.PoetryCase#

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

Bases: ManagerCase

CHANNEL_PYTHON: bool = False#

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

INSTALLER: str = 'Poetry 1.8.5'#

INSTALLER metadata of a distribution installed by the package manager.

MANAGER_CLS#

alias of PoetryManager

NAME: str = 'poetry'#
SLOW: bool = False#

Creating an environment takes tens of seconds.

cli_command()#

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

Return type:

str

command()#

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

Return type:

Tuple[str, ...]

manager()#
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]