Commit Graph

5459 Commits

Author SHA1 Message Date
Dan Ryan 83af37a2d1 Fix uninstallation if comments are present
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-01 16:20:45 -04:00
Dan Ryan 1034022e96 Add improved exception handling and formatter
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-01 00:51:34 -04:00
Dan Ryan 2625e8d2f5 More exception cleanup
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-31 18:27:25 -04:00
Dan Ryan 55cd7bfb46 Fix exception
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-31 02:05:16 -04:00
Dan Ryan f07e0550bb Merge branch 'master' into bugfix/clean-and-install 2018-10-31 02:00:21 -04:00
Dan Ryan e3ee806bb0 Merge pull request #3132 from pypa/bugfix/3131-better-output-encoding
Fix unicode encoding to replace non-ascii chars
2018-10-31 02:00:59 -04:00
Dan Ryan 7882912c30 Fix circular import
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-31 02:00:02 -04:00
Dan Ryan 7173c9e6d1 Merge branch 'bugfix/clean-and-install' of github.com:pypa/pipenv into bugfix/clean-and-install 2018-10-31 01:52:07 -04:00
Dan Ryan b57240dd45 Add messaging for skipped updates
- Fix removal of incorrect packages for pipfiles with comments
  on preceding lines
- Improved error handling and added a framework for exception handling
- Fixes #2411
- Fixes #3099
- Fixes #2885
- Fixes #1977

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-31 01:51:24 -04:00
Dan Ryan b7835b92ee Merge branch 'master' into bugfix/clean-and-install 2018-10-30 19:33:17 -04:00
Dan Ryan 2835ff5d46 Fix virtualenv path derivations
- Fix inadvertent occasional global installation of files
- Fix inadvertent occcasional global removal of files
- Fix empty output from `pipenv update --outdated`
- Fixes #2828
- Fixes #3113
- Fixes #3047
- Fixes #3055

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 19:32:11 -04:00
Dan Ryan 8c659f1bb5 Merge branch 'master' into bugfix/3131-better-output-encoding 2018-10-30 12:11:11 -04:00
Dan Ryan 8bda09e1b0 Merge pull request #3127 from pypa/merge-prs
Merge multiple open prs
2018-10-30 12:10:38 -04:00
Dan Ryan 3381790ed1 Fix unicode encoding to replace non-ascii chars
- Drops any unmapped non-ascii characters on non-utf8 systems
- Fixes #3131

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 11:44:17 -04:00
Dan Ryan 150ec74f39 Fix requirementslib bug
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 11:32:05 -04:00
Dan Ryan 3140ee6f0b Exclude setup_path from pipfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 10:54:12 -04:00
Michael Wolf 77f97aa058 Set PIPENV_ACTIVE when running pipenv run 2018-10-30 10:54:04 -04:00
jxltom 9ff61c777b Add tests for locking editable packages with ref 2018-10-30 10:54:04 -04:00
jacrotts e7d6f4b901 Edit a word in news fragment 2018-10-30 10:54:04 -04:00
jacrotts ed6e328da0 Change news fragment to better reflect changes to sync 2018-10-30 10:54:04 -04:00
jacrotts 64f4b4b042 Add news fragment for 3041.feature 2018-10-30 10:54:04 -04:00
jacrotts 1ad684a5ab Implement some behavior for --bare in sync and clean, and add bare as an option to do_clean in cli.py 2018-10-30 10:54:01 -04:00
Dražen Lučanin 3381f178a9 pipenv open custom command help 2018-10-30 10:52:48 -04:00
Dan Ryan ceebf21b9c Add news entry for #3074
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 10:52:48 -04:00
Jeremy Carroll 735119e63b Added run-tests.bat as alternative to run-tests.sh 2018-10-30 10:52:48 -04:00
Jeremy Carroll d923a58ca7 Correction from PR comment 2018-10-30 10:52:48 -04:00
Jeremy Carroll dd8c61addb More specific comment about PIP_FIND_LINKS 2018-10-30 10:52:48 -04:00
Jeremy Carroll cb5e1bd9d5 Ignore pycharm project 2018-10-30 10:52:48 -04:00
Jeremy Carroll 167c417183 Documenting how I got the tests to run 2018-10-30 10:52:48 -04:00
jr7square 5caf9ac367 aborting execution 2018-10-30 10:52:48 -04:00
jr7square e8231dc756 Provide a good message for error described in issue #2846 2018-10-30 10:52:48 -04:00
Dan Ryan 0f53ef915b Merge branch 'master' of github.com:pypa/pipenv 2018-10-30 10:52:28 -04:00
Dan Ryan 205fd25e4b Merge pull request #3096 from pypa/update-vendor
Update vendor
2018-10-30 02:54:15 -04:00
Dan Ryan 2cbf0e050c Exclude setup_path from pipfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:58:15 -04:00
Dan Ryan 8459cd8d45 Fix requirementslib update
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:11:54 -04:00
Dan Ryan d069dff844 Update project and spinner outputs
Signed-off-by: Dan Ryan <dan@danryan.co>

Try again

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix test config to skip failed removals

Signed-off-by: Dan Ryan <dan@danryan.co>

Update piptools to handle some errors

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix test config to skip failed removals

Signed-off-by: Dan Ryan <dan@danryan.co>

Update tempfile.py

Use vistirs temporary directory implementation

Update temp_dir.py

Force pip to use weakrefs in tempdirs

Fix pip implementation to set name of tempdir

typo fix

Signed-off-by: Dan Ryan <dan@danryan.co>

fix pip tempdir implementation

Signed-off-by: Dan Ryan <dan@danryan.co>

Update tempfiles to use weakrefs

Signed-off-by: Dan Ryan <dan@danryan.co>

fix patch paths

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix pip tempdir implementation

Signed-off-by: Dan Ryan <dan@danryan.co>

Syntax error fix

Signed-off-by: Dan Ryan <dan@danryan.co>

Unconstrain windows tests

Signed-off-by: Dan Ryan <dan@danryan.co>

Update dependencies, add news

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix pythonfinder path search nesting bug

- Fixes #3121

Signed-off-by: Dan Ryan <dan@danryan.co>

Update requirementslib

- Fix subdirectory issue

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix logic error

Signed-off-by: Dan Ryan <dan@danryan.co>

conditional builds

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:26 -04:00
Dan Ryan 8a56a75cd5 Fix virtualenv creation and error logging
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:01 -04:00
Dan Ryan 0cefb5ed9b Finish updating vendored deps
Signed-off-by: Dan Ryan <dan@danryan.co>

Update delegator patch

Signed-off-by: Dan Ryan <dan@danryan.co>

Update patches for pip

Signed-off-by: Dan Ryan <dan@danryan.co>

Update vendored deps

Signed-off-by: Dan Ryan <dan@danryan.co>

Update patches

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix imports to use pip shims instead of direct imports

Signed-off-by: Dan Ryan <dan@danryan.co>

Update vendoring scripts and pip shims

Signed-off-by: Dan Ryan <dan@danryan.co>

Log to stdout in real time during verbose logging

Signed-off-by: Dan Ryan <dan@danryan.co>

Don’t log environment

Fix unicode decoding issues

Signed-off-by: Dan Ryan <dan@danryan.co>

Only set buffers on ttys

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix typo

Signed-off-by: Dan Ryan <dan@danryan.co>

Use default encodings

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix encodings and run only failing tests

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:20 -04:00
Dan Ryan b8db36ebdf Fix error handling with fallback in which implementation
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:01 -04:00
Dan Ryan 2803538701 Set environment before calling which
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:01 -04:00
Dan Ryan 0135ab6571 Fix syntax issues in vsts
Signed-off-by: Dan Ryan <dan@danryan.co>

Fix syntax issues in vsts

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:15 -04:00
Dan Ryan 6294c57070 Update pythonfinder
Signed-off-by: Dan Ryan <dan@danryan.co>

More debugging info

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix stdout write bugs

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix spinner invocations

Signed-off-by: Dan Ryan <dan@danryan.co>

Create missing directory

Signed-off-by: Dan Ryan <dan@danryan.co>

Filesystem encode envvars

Signed-off-by: Dan Ryan <dan@danryan.co>

convert envvars to strings

Signed-off-by: Dan Ryan <dan@danryan.co>

Update encodings

Signed-off-by: Dan Ryan <dan@danryan.co>

Update vistir to init colorama

Signed-off-by: Dan Ryan <dan@danryan.co>

Update vistir version number

Signed-off-by: Dan Ryan <dan@danryan.co>

add some debugging and vsts changes

Signed-off-by: Dan Ryan <dan@danryan.co>

fix delegator mod

Signed-off-by: Dan Ryan <dan@danryan.co>

Log to stderr so we can see it

Signed-off-by: Dan Ryan <dan@danryan.co>

Log to stderr so we can see it

Signed-off-by: Dan Ryan <dan@danryan.co>

Try importing colorama...

Signed-off-by: Dan Ryan <dan@danryan.co>

change variable setting syntax

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:12 -04:00
Dan Ryan 4dac167657 Vendor boltons
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>
2018-10-30 01:07:07 -04:00
Dan Ryan e375eb3eaa Fix delegator leaky file handles
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:01 -04:00
Dan Ryan 4c8617237c Update requirementslib, requests and vistir
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:01 -04:00
Dan Ryan baef2e78a6 Upgrade vendored dependencies
- Upgrade pythonfinder
- Upgrade vistir
- Upgrade requirementslib
- Vendor backported version of `functools.lru_cache` for performance
- Fix editable dependency installation when markers are present
- Fix extraneous resource warnings
- Fix filesystem output stream encoding issues
- Fix pythonfinder non-standard python name issues
- Provide full interaction layer to `Pipfile` and `Pipfile.lock` in
  requirementslib
- Fixes #3017
- Fixes #3014
- Fixes #3021
- Fixes #3019

Signed-off-by: Dan Ryan <dan@danryan.co>

Update vendored dependencies

- Update shellingham, tomlkit, requests, urllib3, certifi, vistir and
  parse
- Fixes #2820
- Fixes #2852

Signed-off-by: Dan Ryan <dan@danryan.co>

Cleanup old vendored dependencies

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:02 -04:00
Dan Ryan ef4be482a6 conditional builds
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:03:07 -04:00
kennethreitz e8bf34b548 Merge pull request #3100 from psviderski/try-in-browser
Add try-in-browser button to launch Pipenv playground (README and docs)
2018-10-25 15:44:10 -04:00
kennethreitz 722d6766e9 Merge pull request #3097 from greyli/patch-2
Fix typo in docs/install.rst
2018-10-25 15:43:24 -04:00
Pavel Sviderski 21d53570f3 add try-in-browser button to docs 2018-10-25 20:15:23 +03:00