Commit Graph

5620 Commits

Author SHA1 Message Date
Dan Ryan 32a6dd38a5 Support python 2 parsing
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-11 23:58:52 -05:00
Dan Ryan 3984632453 Fix various bugs with python 2.7 and vendored deps
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-11 23:38:24 -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 fe9d996f89 Fix resource errors
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-11 18:50:02 -05:00
Dan Ryan 8643a733c2 Fix configparser import
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-11 18:05:25 -05:00
Dan Ryan ac9637013c Merge branch 'update-vendor' into feature/improved-async-installer 2018-11-11 17:53:07 -05:00
Dan Ryan 86446114f5 Merge branch 'master' into update-vendor 2018-11-11 17:52:54 -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 45100b8a46 Fix stdout and stderr wrappers
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-11 17:45:51 -05:00
Dan Ryan aedb41c65d Fix stdout and stderr wrappers
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-11 17:44:35 -05:00
Dan Ryan 642b6f94b5 Update vistir and requirementslib
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-11 17:41:16 -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
Dan Ryan d03cfff92c Merge pull request #3205 from DavidStaheli/davidstaheli/del.vsts
Remove old .vsts-ci directory and its contents
2018-11-10 23:49:29 -05:00
David Staheli 2e90a6fd98 Remove old .vsts-ci directory and its contents 2018-11-09 15:56:30 -05:00
Dan Ryan f3003b6496 Merge branch 'master' into update-vendor 2018-11-08 14:35:39 -05:00
Dan Ryan 5e3f649f24 Merge pull request #3192 from jxltom/fix-typo
Fix typo in creating virtualenv
2018-11-08 13:18:11 -05:00
Dan Ryan 5ab40fcd9d Merge branch 'master' into fix-typo 2018-11-08 13:17:22 -05:00
Dan Ryan 1367ededea Merge pull request #3190 from pypa/bugfix/3183
Fix double completion message on locking
2018-11-08 13:17:07 -05:00
Dan Ryan 5b496705a0 Fix broken requirementslib updates
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-08 13:13:54 -05:00
Dan Ryan 808fd34442 Less checkmarks during lock
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-08 04:49:52 -05:00
Dan Ryan 36f054d3a8 Grab updates from latest vendored changes
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-08 04:47:26 -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 b0e5fe12f9 Fix resolver
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-07 20:20:58 -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
Dan Ryan a167885904 Merge pull request #3177 from pypa/implement-tomlkit
Implement tomlkit
2018-11-07 17:54:48 -05:00
Dan Ryan d52fadc452 Merge branch 'master' into implement-tomlkit 2018-11-07 17:17:31 -05:00
Dan Ryan 6b13d5a68d Merge pull request #3176 from frostming/non-ascii-toml
Fix non-ASCII support for prettytoml
2018-11-07 17:17:17 -05:00
Dan Ryan fde06b3396 Merge branch 'master' into non-ascii-toml 2018-11-07 16:29:54 -05:00
Dan Ryan 4cb0838fda Fix tomlkit implementation
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-07 14:50:33 -05:00
Dan Ryan c55fed7845 Merge pull request #3188 from jxltom/only-dev-packages-in-requirementsfile
Only output dev packages for pipenv lock -r -d
2018-11-07 11:51:46 -05:00
Dan Ryan d851b7ea2d Fix tomlkit implementation
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-07 10:39:31 -05:00
Dan Ryan 991779fdc9 Merge branch 'master' into only-dev-packages-in-requirementsfile 2018-11-07 10:22:11 -05:00
Dan Ryan 499a43463c Merge pull request #3172 from jxltom/update-doc-on-skip-lock-option
Update skip lock option help info since it is used in several operations
2018-11-07 10:17:20 -05:00
Dan Ryan 44459b4249 Merge branch 'master' into update-doc-on-skip-lock-option 2018-11-07 10:16:58 -05:00
Dan Ryan 1cb610981f Merge branch 'master' into non-ascii-toml 2018-11-07 10:16:11 -05:00
Dan Ryan 9249ae1b3e Merge pull request #3186 from pypa/cmdify-quote-command-parens
Quote command if it contains parentheses
2018-11-07 10:15:41 -05:00
jxltom d52134554e Only output dev packages for pipenv lock -r -d 2018-11-07 22:42:22 +08:00
jxltom ee6d8e6f05 Merge branch 'master' into update-doc-on-skip-lock-option 2018-11-07 20:02:30 +08:00
Tzu-ping Chung 86a2786954 Quote command if it contains parentheses
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.
2018-11-07 20:42:35 +09:00
Dan Ryan ca90be95d7 Still not working...
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-07 00:45:47 -05:00