- Update extras name in pipelines
- fix windows virtualenv calls
- don't write debug info during virtualenv creation and just move on
- Generalize some pipelines
- Use quotes around evaluated statements in pipeline
- Fix envvar references
- Update vistir:
- fix stream wrapper on windows
- fix ICACLS permissions handler
- fix path normalization function
- Update azure venv creation script
- Fix vendoring script
Signed-off-by: Dan Ryan <dan@danryan.co>
During check_internet() and check_github_ssh(), a KeyboardInterrupt
should be interpreted as user desire to escape the check, not escape
the entire test run. This is especially true during check_github_ssh
which may require a passphrase from the user, which they might feel
uncomfortable giving during a test suite.
After these checks are bypassed, there is user feedback indicating the
tests are running, and so they can trigger KeyboardInterrupt again if
they wish to escape the entire test run.
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>
- 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>
- Test that the lockfile doesn't get updated if satisfying constraints
are pinned already in the lockfile
- Test that pipfile pins are respected
- Test that dependencies in the lockfile with markers that don't apply
to the current system stay in the lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
- Exclude python when searching virtualenvs created using nested
virtualenv interpreters (via `lib-dynload` library directory)
Signed-off-by: Dan Ryan <dan@danryan.co>