Commit Graph

203 Commits

Author SHA1 Message Date
Frost Ming 6873145116 Abort pipenv when pip install fails 2018-11-28 16:42:14 +08:00
Dan Ryan 742ae1b99b Release v2018.11.26 2018-11-26 01:56:25 -05:00
Dan Ryan 93f82c477e Fix accidentally-shortened installation timeouts
- Fixes #3244

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-26 00:40:01 -05:00
Dan Ryan 9e0d6bc1e3 Update release scripts, fix packaging scripts
- Fix `PIPENV_PYTHON` envvar which auto-recreated environments due to
  `auto_envvar_prefix`, now it is not pulled from the environment
  automatically
- Fix formatting of some news entries
- Automate release via `inv release.release` (will be aliased)

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-24 20:53:37 -05:00
Dan Ryan 4e44229700 Merge branch 'master' into bugfix/3296 2018-11-24 19:29:21 -05:00
Dan Ryan a08a2da524 Don't give child deps of vcs deps auto-precedence
- Stop preferring resolution of VCS dependencies in all cases
- Resolve vcs dependencies together with non-vcs dependencies
- Clarify blocking and no-deps logic
- Add artifacts and tests
- Add vendoring task for artifacts
- Clean up release tasks
- Fixes #3296

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-24 17:10:45 -05:00
Dan Ryan 438e5cc096 Fix implementation of auto_envvar_prefix
- Fix implementation of `auto_envvar_prefix`
- Pass context setting directly to each command to prevent
  `PIPENV_<CMD>_<OPTION>` syntax, implementation will use
  `PIPENV_<OPTION>` directly (e.g. `PIPENV_DEV=1` or `PIPENV_SYSTEM=1`
- Fixes #3278

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-24 01:20:49 -05:00
Dan Ryan 9b1b901efc Fix hash caching race condition
- Clean up more unused code
- Fixes #3289

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-23 16:41:55 -05:00
Dan Ryan 5b9643e585 Unset PYTHONHOME during non-global installs
- Fixes #3261

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-23 01:04:30 -05:00
Grey Baker 16f6ab1707 Clear pythonfinder cache after Python install 2018-11-22 23:04:43 +00:00
Dan Ryan 91aed84ffc Add news 2018-11-22 11:12:39 -05:00
Dan Ryan 18f8c0a403 Write warnings to stderr during resolution
- Fixes #3273

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-21 13:09:46 -05:00
Dan Ryan d6bce73046 Ignore hashes when using --skip-lock
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-20 15:12:35 -05:00
Dan Ryan f99de85ef7 Fix pipfile creation with unnamed project
- Fixes #3260

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-20 11:00:53 -05:00
Dan Ryan 69e9459ef2 Merge branch 'master' into swgillespie/toctou-mkdir 2018-11-19 19:44:44 -05:00
Sean Gillespie 537e7b4779 Add 3257.bugfix.rst in news 2018-11-19 16:04:52 -08:00
Dan Ryan dc8913065f Fix parsing of named setup.py extras
- Fixes #3230

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-19 17:58:44 -05:00
Dan Ryan 8049b4ff6e Merge branch 'master' into vendoring-update 2018-11-19 13:56:17 -05:00
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
Dan Ryan 9560aa60aa Update requirementslib and pythonfinder
- Fixes #3242
- Fixes #3232
- Fixes #3229
- Fixes #3234

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-19 01:09:32 -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
Dan Ryan 589b1a4f20 Redirect all spinner output to stderr
- Fixes #3239

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-17 21:47:54 -05: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 748d22b2f2 virtualenv fixture and a test case
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-17 13:08:12 +08:00
Frost Ming 5d8ac0901c add news
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-17 09:37:32 +08: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 895c4049b9 Fix encoding issues and python discovery
- Add spiner symbols to unicode translation map
- Update pythonfinder to master (ignore vendor update for now)
- Fixes #3223
- Fixes #3224

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-15 00:47:51 -05:00
Dan Ryan 6f07e72e5a Release 2018.11.14
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-14 18:35:38 -05:00
Dan Ryan b51afde84a Update towncrier template
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-14 18:25:09 -05:00
Dan Ryan 3585ef1a0e Merge branch 'maintenance/merge-3191-3196-3209' of github.com:pypa/pipenv into maintenance/merge-3191-3196-3209 2018-11-14 00:40:54 -05:00
Dan Ryan 08c384bba0 Implement auto_envvar_prefix
- Closes #2200

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-14 00:28:32 -05:00
frostming 095c9ef730 remove useless tests 2018-11-14 13:15:47 +08:00
Dan Ryan 1e3b8f9615 Update news entries
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-13 15:16:53 -05:00
Dan Ryan 72e2ef70c5 Derive source names from URLs when not supplied
- Fixes #3216

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-13 14:56:26 -05:00
Dan Ryan c3cdbfb10b Merge remote-tracking branch 'frostming/improve-toml-parse' into maintenance/merge-3191-3196-3209
- Merge #3191, #3196, and #3209
- Closes #3191
- Closes #3196
- Closes #3214
- Closes #3209

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-13 10:35:04 -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 2f267e700a Merge branch 'master' into friendly-info-when-no-virtualenv-for-graph 2018-11-12 13:51:25 -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
frostming 076252836c Final fix 2018-11-09 11:10:18 +08:00
jxltom 9d33d6323d Add bugfix news for issue 3201 2018-11-09 10:00:29 +08:00
jxltom fc2c2ef29e Add traivial news for issue 3199 2018-11-09 09:51:20 +08:00
frostming e147dc3ade Drops prettytoml/contoml form vendors 2018-11-08 10:57:20 +08: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 1cb610981f Merge branch 'master' into non-ascii-toml 2018-11-07 10:16:11 -05: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