Support for Python packages, virtualenv #1922
martinhoyer
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The idea is that as a user, I want to be able specify list of python packages required for the test.
Prepare step would create a virtualenv in temporary dir with randomised name and install all the required packages.
Execute step would run tests within the created virtualenv.
Once finished, virtualenv can be destroyed.
Additional notes:
For example, a test could have python>=3.7 in metadata. tmt would check if valid interpreter exists on OS, if not try to install it with package manager and use it when creating virtualenv.
Beta Was this translation helpful? Give feedback.
All reactions