- Drop pytest-tap
- Update azure pipelines config
- Borrow ramdisk configuration from pip
- Fix pyinstaller ref for python 2
- Add 0-minute timeout and add github workflow
- Add skip for pywin32
- Scale down to `-n auto` to reduce race conditions on windows
- Skip pywin32 on python 3.8 as the relevant dependencies aren't
compatible
- Use default pip exists action = ignore to work around VCS race
condition
- Create local temp directory to avoid crossing drive letter boundary on
azure during CI runs
- Monkeypatch click windows console detection to return False in CI
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
- Verbose logs will now write gracefully to the terminal even while the
spinner is running (i.e. during locking)
- This PR also cuts over to Devpi for a backing cache rather than a
hacked httpbin instance
- Inclues a refactor of `pip_install` to deduplicate logic
- Attempts to switch back to relying on native editable installs in pip
as the current implementation is broken on master (i.e. nothing is
installed in the virtualenv)
- Fixes#3809
Signed-off-by: Dan Ryan <dan@danryan.co>
- Fix comparisons between post-release and non-post-release versions
- Update `pip_shims` to accommodate new pip versions
- Implement syntax changes in `environment.py` to account for new pip
syntax
- Add `required` version output to `pipenv update --outdated`
- Add pipfile version pin information as well, if available
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
probably need to sync submodules for this to work
Signed-off-by: Dan Ryan <dan@danryan.co>
Update to new version of artifacts
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix windows failure
Signed-off-by: Dan Ryan <dan@danryan.co>
Update azure-pipelines.yml for Azure Pipelines
Update lockfile test for windows
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix scandir test
Signed-off-by: Dan Ryan <dan@danryan.co>
Update azure test steps
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix virtualenv test
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix python discovery when nothing is supplied
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix cli ensure_project call
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix run in virtualenv test
Signed-off-by: Dan Ryan <dan@danryan.co>
Show why virtualenv test failed if it did
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix python interpreter discovery
Signed-off-by: Dan Ryan <dan@danryan.co>
scale down lock test modifications and increase error logging
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix spinner bugs on windows and python discovery
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix pythonfinder search algorithm to dodge false paths on win
Signed-off-by: Dan Ryan <dan@danryan.co>
use pipenv directly
Signed-off-by: Dan Ryan <dan@danryan.co>
- 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.
- Resolve all VCS and non-piptools-resolveable deps in venv
- Implement pep517 for resolution of non-setuptools builds
- Add full support for the new dependency link format
- Fix breakages from pip 19* rollout and subsequent setuptools breakage
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
- Clean up test config and environment variable handling
- Unset env var changes performend by `pipenv run`
- Make `environments.is_in_virtualenv()` more dynamic -- read
environment on the fly
- Split up tests on `pipenv run` to reduce complexity -- one test for
global run (no virtualenv creation), one test for virtualenv creation
- Add `warn_in_virtualenv` call to `run` command, why doesn't click
invoke this automatically?
Signed-off-by: Dan Ryan <dan@danryan.co>
- Parsing of markers in non-editable vcs requirements was broken
- This PR adds some VCS repos, some utility pipfile generation functions
and some fixture helpers
- Fixes#3249
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Try again
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix test config to skip failed removals
Signed-off-by: Dan Ryan <dan@danryan.co>
Update piptools to handle some errors
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix test config to skip failed removals
Signed-off-by: Dan Ryan <dan@danryan.co>
Update tempfile.py
Use vistirs temporary directory implementation
Update temp_dir.py
Force pip to use weakrefs in tempdirs
Fix pip implementation to set name of tempdir
typo fix
Signed-off-by: Dan Ryan <dan@danryan.co>
fix pip tempdir implementation
Signed-off-by: Dan Ryan <dan@danryan.co>
Update tempfiles to use weakrefs
Signed-off-by: Dan Ryan <dan@danryan.co>
fix patch paths
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix pip tempdir implementation
Signed-off-by: Dan Ryan <dan@danryan.co>
Syntax error fix
Signed-off-by: Dan Ryan <dan@danryan.co>
Unconstrain windows tests
Signed-off-by: Dan Ryan <dan@danryan.co>
Update dependencies, add news
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix pythonfinder path search nesting bug
- Fixes#3121
Signed-off-by: Dan Ryan <dan@danryan.co>
Update requirementslib
- Fix subdirectory issue
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix logic error
Signed-off-by: Dan Ryan <dan@danryan.co>
conditional builds
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
More debugging info
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix stdout write bugs
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix spinner invocations
Signed-off-by: Dan Ryan <dan@danryan.co>
Create missing directory
Signed-off-by: Dan Ryan <dan@danryan.co>
Filesystem encode envvars
Signed-off-by: Dan Ryan <dan@danryan.co>
convert envvars to strings
Signed-off-by: Dan Ryan <dan@danryan.co>
Update encodings
Signed-off-by: Dan Ryan <dan@danryan.co>
Update vistir to init colorama
Signed-off-by: Dan Ryan <dan@danryan.co>
Update vistir version number
Signed-off-by: Dan Ryan <dan@danryan.co>
add some debugging and vsts changes
Signed-off-by: Dan Ryan <dan@danryan.co>
fix delegator mod
Signed-off-by: Dan Ryan <dan@danryan.co>
Log to stderr so we can see it
Signed-off-by: Dan Ryan <dan@danryan.co>
Log to stderr so we can see it
Signed-off-by: Dan Ryan <dan@danryan.co>
Try importing colorama...
Signed-off-by: Dan Ryan <dan@danryan.co>
change variable setting syntax
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Update vendored dependencies
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix file handle leaks
- Fix#3020
- Fix#3088
- Patch delegator
- Add weakref finalizer for tempfiles
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix spinner handlers on windows
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix spinner output and encoding issue
Signed-off-by: Dan Ryan <dan@danryan.co>
fix encoding
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix unicode output on windows, fix tomlkit imports
Signed-off-by: Dan Ryan <dan@danryan.co>
Unvendor boltons, fix compatibility, update merge functionalities
Signed-off-by: Dan Ryan <dan@danryan.co>
Update pythonfinder, vistir version, requirementslib version
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix vendoring script
Signed-off-by: Dan Ryan <dan@danryan.co>
Silence pip version checks
Signed-off-by: Dan Ryan <dan@danryan.co>
Add debugging to locking
Signed-off-by: Dan Ryan <dan@danryan.co>