Signed-off-by: Dan Ryan <dan@danryan.co>
Fix variable references
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix variable references
Signed-off-by: Dan Ryan <dan@danryan.co>
Switch to powershell for windows virtualenv creation
Signed-off-by: Dan Ryan <dan@danryan.co>
use python version as path
Signed-off-by: Dan Ryan <dan@danryan.co>
use python version as path
Signed-off-by: Dan Ryan <dan@danryan.co>
swap variable name for python exe
Signed-off-by: Dan Ryan <dan@danryan.co>
add fallback for python exe
Signed-off-by: Dan Ryan <dan@danryan.co>
fix python variable setting
Signed-off-by: Dan Ryan <dan@danryan.co>
fix python variable setting
Signed-off-by: Dan Ryan <dan@danryan.co>
Use variable susbstitution for python executable location
Signed-off-by: Dan Ryan <dan@danryan.co>
Use activate script properly
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix floating quote in python version
Signed-off-by: Dan Ryan <dan@danryan.co>
Don't block on safety call in python 2 as it overwrites output for some reason
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
Don't block on pipenv graph either
Signed-off-by: Dan Ryan <dan@danryan.co>
Check command return code instead of calling `block`
Signed-off-by: Dan Ryan <dan@danryan.co>
Don't load json after its already loaded
Signed-off-by: Dan Ryan <dan@danryan.co>
Wait on return code before checking contents
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Update azure builds
Signed-off-by: Dan Ryan <dan@danryan.co>
Update azure pipeline windows code
Signed-off-by: Dan Ryan <dan@danryan.co>
Update python executable search for windows
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix variable reference
Signed-off-by: Dan Ryan <dan@danryan.co>
Set virtual env variable on windows
Signed-off-by: Dan Ryan <dan@danryan.co>
globally install pipenv on windows
Signed-off-by: Dan Ryan <dan@danryan.co>
- Begin a refactor of `delegator.run` invocation to ensure we capture
and handle failures with our own exception wrappers
- Additoinally capture output and error logging and command information
when running in verbose mode (should avoid significant repitition in
the codebase)
- Refactor `which` and `system_which` to fallback to pythonfinder's
implementation
- Abstract `is_python_command` to identify whether we are looking for
python, this enables us to rely on `pythonfinder.Finder.find_all_python_versions()`
to ensure we aren't skipping python versions
- Fixes#2783
Signed-off-by: Dan Ryan <dan@danryan.co>