Commit Graph

507 Commits

Author SHA1 Message Date
Dan Ryan c8c78931f5 Merge branch 'master' into bugfix/3249 2018-11-19 12:20:09 -05:00
Dan Ryan ddd6744a15 Merge branch 'master' into bugfix/3239 2018-11-19 09:00:29 -05:00
Frost Ming e575f87074 Merge branch 'master' into editable-packages-fix 2018-11-19 14:27:58 +08:00
Dan Ryan 5b460706c4 Merge branch 'bugfix/3239' into bugfix/3249 2018-11-19 00:04:36 -05:00
Dan Ryan 45e9f6e417 Fix parsing of markers in VCS requirements
- 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>
2018-11-18 23:49:57 -05:00
frostming 52499dfa9a don't expand var for command 2018-11-19 10:47:19 +08:00
Dan Ryan 6598674500 Merge branch 'master' into bugfix/3239 2018-11-18 17:49:44 -05:00
Dan Ryan 17c93ebf0f Fix stdout spinner writing
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-18 17:44:06 -05:00
Frost Ming 6cfa466672 Merge branch 'master' into master 2018-11-18 08:52:13 +08:00
Frost Ming 6901eae31d expand env before run script
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-17 22:53:07 +08:00
Frost Ming df924d3ea3 Merge branch 'master' into editable-packages-fix 2018-11-17 17:50:10 +08:00
Frost Ming 95c70c3f61 Correct the virtualenv location passed to environment
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-17 11:37:22 +08:00
Chris Miller 262293699e Fix race condition when installing 2+ editable non-VCS pkgs at once
This regression was recently introduced, and only affects non-vcs
packages. The effect of the race is that installations of multiple
editable non-VCS sourced packages at once may cause some of them to be
un-importable.

The fix is to make editable package installs Blocking just like VCS
installs are.
2018-11-16 10:23:51 -05:00
Dan Ryan 061869f22e Don't disable --user when --system is passed
- Fixes #3222

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-15 00:56:21 -05:00
Dan Ryan a8f4c7e2a3 accidental commit
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-14 16:56:06 -05:00
Dan Ryan 08d94d4ebc Update core and rebuild ci
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-14 16:53:20 -05:00
Dan Ryan 9296f561d9 Fix bugs in environment implementation
- Fix virtualenv
- Update pythonfinder

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-12 22:28:29 -05:00
Dan Ryan eed0f0f538 Merge branch 'master' into feature/improved-async-installer
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-12 13:41:11 -05:00
Dan Ryan c270562547 Merge branch 'master' into continue-fix-3188 2018-11-12 13:51:50 -05:00
Dan Ryan 2f267e700a Merge branch 'master' into friendly-info-when-no-virtualenv-for-graph 2018-11-12 13:51:25 -05:00
Dan Ryan e5be2ac50a Fix python 2.7 installations
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-11 19:03:55 -05:00
Dan Ryan 690d1e81ed Merge branch 'update-vendor' into feature/improved-async-installer 2018-11-11 17:52:07 -05:00
Dan Ryan 5602952fad Merge branch 'update-vendor' of github.com:pypa/pipenv into update-vendor 2018-11-11 17:51:48 -05:00
Dan Ryan 118c9d3fe6 Add dramatically improved queued installation
- Use queues and parallelized installation
- Better UI/UX -- progress bar moves gradually as items are moved
  on and off the queue
- Queue is handled by item instead of in massive batches
- TODO: Call out when task is done from the install function?

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-11 17:48:04 -05:00
Dan Ryan dec7be54d7 Introduce pipenv.environments.Environment
- Specific construct for isolationg operations

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-11 16:39:23 -05:00
Dan Ryan 2b90c89d1f Revendor requirementslib
- Implement improvements and bugfixes in codebase
- Remote archives will now resolve properly

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-11 16:30:42 -05:00
jxltom a067a08478 Pass requirements para to only in get_requirements 2018-11-09 11:35:11 +08:00
jxltom dbf21d5195 Do not raise exception for pipenv graph when virtualenv does not exist 2018-11-09 09:56:04 +08:00
jxltom 60947a07ed Remove blank lines in pipenv graph 2018-11-09 09:50:01 +08:00
Dan Ryan 5ab40fcd9d Merge branch 'master' into fix-typo 2018-11-08 13:17:22 -05:00
Dan Ryan a0b8c6d34a Fix syntax error
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-08 03:52:12 -05:00
Dan Ryan 3bcbb84052 Merge branch 'master' into bugfix/3183
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-08 03:43:25 -05:00
Dan Ryan 3bc76bc949 A bit more refactoring and cleanup
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-08 03:41:29 -05:00
Tzu-ping Chung 494b7f3e9f Make the PIP_SHIMS_BASE_MODULE pop actually work 2018-11-08 16:17:41 +09:00
Dan Ryan 5fbfe6a177 Refactor locking
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-08 00:27:11 -05:00
Dan Ryan 9c02f6ef5f Update vcs resolution
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-07 22:16:14 -05:00
jxltom 78be826034 Fix typo 2018-11-08 11:13:17 +08:00
Dan Ryan 59961d6bbb Move VCS resolution to venv and inside spinner
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-07 21:54:05 -05:00
Dan Ryan e818ca5af6 Fix double completion message on locking
- Pass `pre` correctly when using `pipenv install --pre`
- Ensures we always make inline tables when writing to pipfile
- Fixes #3183
- Fixes #3185

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-07 19:30:14 -05:00
jxltom d52134554e Only output dev packages for pipenv lock -r -d 2018-11-07 22:42:22 +08:00
Dan Ryan c27abac78c Merge branch 'master' into no-index-in-requirementsfile-perline 2018-11-06 23:09:04 -05:00
Dan Ryan 1077acaad4 Merge branch 'master' into fix-uninstall-emtpy-virtualenv 2018-11-06 22:58:38 -05:00
Dan Ryan 63d4f9262c Merge branch 'master' into continue-respect-skip-lock-in-uninstall 2018-11-06 22:58:04 -05:00
Dan Ryan 8bccea4451 Merge branch 'master' into continue-respect-skip-lock-in-uninstall 2018-11-06 20:36:02 -05:00
jxltom 8a657dc7bc Do not add index source per-line in requirements files 2018-11-06 23:29:29 +08:00
jxltom e98e7529d4 Remove u'' or '' in output of pipenv uninstall and clean 2018-11-06 22:38:21 +08:00
Dan Ryan 5e73745c67 Merge branch 'master' into fix-uninstall-emtpy-virtualenv 2018-11-06 05:16:31 -05:00
jxltom 7b18c12448 Add explicit message if there is nothing to be removed during uninstall 2018-11-06 18:05:22 +08:00
Dan Ryan 21c362e5bf Merge branch 'master' into minor-updates 2018-11-06 04:40:32 -05:00
jxltom e61faeba40 Do not touch pipfile for --all option in pipenv uninstall 2018-11-06 14:22:55 +08:00