Commit Graph

5445 Commits

Author SHA1 Message Date
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
Pavel Sviderski 1ea48108a9 add try-in-browser button to README 2018-10-25 20:09:48 +03:00
Grey Li af3cff2560 Fix typo in docs/install.rst 2018-10-25 17:50:07 +08:00
joren485 516c86cd49 Remove 'you' from sentence in docs page (#3091) 2018-10-24 17:52:59 +08:00
Tzu-ping Chung 2e94ec3fe3 Merge pull request #3069 from pior/fix-verbosity-var
Fix PIPENV_VERBOSITY parsing logic
2018-10-23 14:34:43 +08:00
Pior Bastida 8eeef39a5b Merge branch 'master' into fix-verbosity-var 2018-10-22 18:31:05 -04:00
Pior Bastida 9e82de6f10 Handle TypeError from int() 2018-10-22 18:30:35 -04:00
Dan Ryan 6e793a402a Merge pull request #3065 from CognexDaniel/fix-3062
Fix #3062
2018-10-21 02:51:14 -04:00
Dan Ryan c82699c346 Merge branch 'master' into fix-3062 2018-10-21 02:51:02 -04:00
Dan Ryan ab30481cae Merge pull request #3070 from jxltom/fixed-unnecessary-extras-are-added-in-lockfiles
Fixed unnecessary extras are added in lockfiles
2018-10-21 02:47:40 -04:00
jxltom 7b3493bb61 Add fixed 3026 in news 2018-10-21 12:56:50 +08:00
jxltom 91a63e07e2 Add test on locking package with extras 2018-10-21 12:53:33 +08:00
jxltom 14eef87c0d Do not add extra to markers when translating markers 2018-10-21 12:53:08 +08:00
Pior Bastida 3d5328aa0a Fix PIPENV_VERBOSITY parsing logic 2018-10-20 09:49:46 -04:00
Dan Ryan 9b8ecd34a5 Merge branch 'master' into fix-3062 2018-10-19 21:23:36 -04:00