Commit Graph

31 Commits

Author SHA1 Message Date
frostming 7d36f3fbda Reformat codes 2019-09-06 18:06:05 +08:00
Frost Ming 2dc8d0a070 use another version 2019-08-03 16:54:44 +08:00
Frost Ming c3b4c410fa change the version specifier 2019-08-03 11:42:07 +08:00
Frost Ming 7708cd8445 Pass lock options to outdated 2019-08-03 10:44:45 +08:00
John Vandenberg 050d9b4c78 graph tests: Replace requests with tablib 0.13.0
These tests fail when using requests in a de-vendored installation
because requests is part of the pre-installed image.

tablib has fewer constraints on its dependencies, however its
dependency tree is complicated enough to approximately test
the same functionality, and allows the graph tests to pass
even when de-vendored.
2019-07-11 13:33:01 +07:00
Dan Ryan 5ac676711a Fix editable VCS dependency resolution
- Fixes #3809

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-05 02:06:43 -04:00
Dan Ryan 83868c8f1a Cut over to devpi for tests and improve logging
- 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>
2019-06-25 01:26:49 -04:00
Dan Ryan 2a0cc13f4e Merge branch 'master' into fix-several-general-options 2019-06-04 21:37:00 -04:00
Dan Ryan 359906c669 Update tests to resolve some transient resolution issues
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>
2019-06-03 22:01:07 -04:00
jxltom 7f2eaf7d50 Fix tests 2019-05-28 10:34:09 +08:00
Dan Ryan 57cba47669 Merge branch 'master' into fix-several-general-options 2019-05-27 19:08:20 -04:00
frostming bc37beaef4 cleanup 2019-05-20 16:42:18 +08:00
frostming 457a42a69c exclude venv folders 2019-05-20 16:04:58 +08:00
frostming e6b2f6463a add news entry 2019-05-20 12:45:09 +08:00
Dan Ryan d8dbb8314f Merge branch 'master' into fix-several-general-options 2019-05-19 22:01:20 -04:00
Dan Ryan a1973f42ff Merge branch 'master' into bugfix/check_unused 2019-05-19 22:00:56 -04:00
Dan Ryan d8e66c7fce Add future imports to tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-16 00:52:10 -04:00
frostming 1384a25a38 make check unused work 2019-05-14 09:54:18 +08:00
Unknown 88e30d8fd2 Add smoke test for --three argument 2019-05-07 10:48:22 +08:00
jxltom dfec732860 Add test for pipenv --clear 2019-05-07 09:19:25 +08:00
nonylene f81e86181c Add test for pipenv --python --site-packages 2018-12-09 05:17:25 +09:00
jxltom 85e64b86be Resort imports for tests 2018-12-01 17:26:32 +08:00
Dan Ryan 9bdbe3464d syntax error...
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-13 04:42:32 -04:00
Dan Ryan 329183019a fix installation of non-editable requirements
- Fix tests to ensure commands return prior to follow ups

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-13 04:27:21 -04:00
Dan Ryan b408fd3dd3 Fix pipenv clean tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-10 10:18:57 -04:00
Erin O'Connell 48970d901d new test for pipenv --support 2018-06-29 11:33:37 -06:00
Dan Ryan 9bcd668dac Slight tweak to api, add test, add news
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-25 02:43:03 -04:00
Andrew Haigh eb839e52b6 Add test of behaviour in issue #2229
requirements.txt files (and by extension pipfreeze) can contain comment
lines, but the stdout of pip freeze is used in a number of places with
the assumption that every line contains a dependency declaration. This
change adds an integration test that could trigger one of these cases
that was the cause of the behaviour seen in issue #2229.
2018-06-01 07:24:34 +08:00
Dan Ryan b2085cb058 Mark pipenv check as flaky
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-23 21:59:50 -04:00
pmontens 0479d84e97 Added nested json output form pipdeptree to graph command 2018-05-15 14:10:56 +02:00
Tzu-ping Chung 4533e68bca Move things around 2018-04-12 17:35:17 +08:00