- 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>
The canonical Pipenv documentation is now at pipenv.pypa.io.
Also, the canonical GitHub repositories for Pipenv and
Requests have changed, and some other communications links
(Twitter, mailing list, "thank you") were no longer
operational. This commit updates those and clarifies that
Pipenv is a project maintained by the PyPA.
Fixes#4137.
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
- 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>
- 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>
Carets introduce a difficult situation since they are essentially
"lossy" when parses. Consider this in cmd.exe:
> echo "foo^bar"
"foo^bar"
> echo foo^^bar
foo^bar
The two commands produce different results, but are both parsed by the
shell as `foo^bar`, and there's essentially no sensible way to tell what
was actually passed in. This implementation assumes the quoted variation
(the first) since it is easier to implement, and arguably the more common
case.
The command can be safely quoted in this case since non-quotable commands
(cmd built-in) do not have parentheses.
Note that this change only applies to the command, not arguments.
Parentheses in arguments can be correctly interpreted without quotes, and
the quotes, like spaces, will cause incorrect outputs for echo etc.
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>
Changed PIPENV_SUPPRESS_NESTED_WARNING to PIPENV_VERBOSITY, an integer
value that defaults to 0 (verbose).
Changed test in test_core.py to use capsys to capture standard
output/error in order to improve compatibility with Python 2.
Added an environment variable, PIPENV_SUPPRESS_NESTED_WARNING, to be
used to suppress the courtesy notice from warn_in_virtualenv.
Changed wording of the courtesy notice to mention suppression variable.
Fixes#2527.