Skip to content

[FEATURE] Internal virtual environment support #14

Open
@kjczarne

Description

@kjczarne

Is your feature request related to a problem? Please describe.
General purpose automation systems like nox or tox have a way of creating a virtual environment in the background. Adding a similar functionality to Kalash would mean that test suites can depend on specific versions of packages.

Describe the solution you'd like
I would say creating a venv should happen by default and we should have a --no-venv flag when you want to run with the base interpreter.

Describe alternatives you've considered
There are two alternatives:

  • Keep venv creation up to the user - not ideal, would force QA Engineers to create full-on Python packages. From experience I know they rarely want to create valid Python package setups for hardware tests.
  • Flip the default behavior around - use base interpreter by default and have a --venv flag.

Additional context
In any case we should elect not to modify the base interpreter packages and just warn users about version mismatches for the packages. Kalash should not modify the existing setup in any way, unless it uses a self-managed virtual environment.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestminorNot urgent, importance may require monitoring based on context

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions