Commit Graph

4486 Commits

Author SHA1 Message Date
Dan Ryan 040ae11a41 Update scandir to avoid importing from system lib
- Update lockfile with py2 deps

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -04:00
Dan Ryan 9f7ccc7fb3 Fix lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -04:00
Dan Ryan 6fafc2485a fix patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -04:00
Dan Ryan 9d9824c30d Update all vendored and patched libraries
- Update pipfile and lockfile
- Update licenses
- Bump pathlib2 to latest version
- Include scandir without compiled library dependency
- Update vendoring script to remote scandir binaries going forward
- Update pinned dependencies in vendor.txt

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -04:00
Dan Ryan 69f75e980c Fix pep425 vendoring patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -04:00
Tzu-ping Chung 7ccbc2c477 Merge pull request #2369 from pypa/bugfix-2273
Make `PIPENV_VIRTUALENV` global
2018-06-17 20:26:39 +08:00
Dan Ryan c12bb6e9a6 Definitely fixed this time. Tested for real.
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 03:52:22 -04:00
Dan Ryan e92368e223 Fix syntax error
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
2018-06-16 13:05:58 -04:00
Dan Ryan 0e37b45474 Make PIPENV_VIRTUALENV global
- Fixes #2273
- Hopefully for real this time

Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
2018-06-16 03:37:14 -04:00
Dan Ryan e326ce6e07 Merge pull request #2363 from pypa/feature/repatch-shell-detection
Upgrade Click-Completion and apply Shellingham for shell detection
2018-06-15 19:11:30 -04:00
Tzu-ping Chung adcb4974ee Upgrade Click and make use of shell detection
This introduces an additional environment variable "PIPENV_SHELL". If
set, shell detection is skipped completely. The old "SHELL"
introspection is kept as a fallback if detection fails.
2018-06-15 17:40:40 +08:00
Tzu-ping Chung 1a00484f16 Purge "import *"
So I can rely on the linter to tell me what to fix.
2018-06-15 16:59:04 +08:00
Tzu-ping Chung 4ee08d6e17 Upgrade Click-Completion to 0.3.1 2018-06-15 16:52:55 +08:00
Tzu-ping Chung bebc6318cf Vendor Shellingham 2018-06-15 16:49:58 +08:00
Dan Ryan 2244585876 Merge pull request #2356 from pypa/proper-names-db-ensure
Use Path.touch to better ensure file existence
2018-06-15 02:34:35 -04:00
Dan Ryan 18aa60ad76 Merge branch 'master' into proper-names-db-ensure 2018-06-15 01:25:11 -04:00
Dan Ryan 46072b44e2 Merge pull request #2278 from Tethik/patch-2
Install git in dockerfile for git dependencies.
2018-06-15 01:24:50 -04:00
Dan Ryan 6b3ae2afd1 Merge branch 'master' into patch-2 2018-06-15 01:24:01 -04:00
Dan Ryan 1b0c5b9521 Merge pull request #2342 from pypa/2158-vcs-deps-overridden
Fix VCS Resolution
2018-06-15 01:23:13 -04:00
Dan Ryan bc5a50dec7 Update naming to convey meaning more clearly
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-14 23:16:08 -04:00
Tzu-ping Chung 2d302b943f Clean up some dict retrieval code
I *think* the previous code could get an exception in certain edge cases?
I don't know, but this looks more straightforward and safer.
2018-06-15 08:34:14 +08:00
Dan Ryan 4dbab47f11 Protect against NoneTypes
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-14 03:58:49 -04:00
Dan Ryan 87475c2abb Split ref from relative path in vcs ref
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-14 03:58:49 -04:00
Dan Ryan 7f920076ac Fix parse bug
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-14 03:58:49 -04:00
Dan Ryan 5dc77a9419 Fix duplicate import
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-14 03:58:49 -04:00
Dan Ryan 1c054c3701 Fix VCRPy test
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-14 03:58:49 -04:00
Dan Ryan 7bfa60e90b Add test
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-14 03:58:49 -04:00
Dan Ryan a5c876b931 Add ref to vcs install
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-14 03:58:49 -04:00
Dan Ryan 18530dfb46 Fix VCS resolution
- Iterate over VCS dependencies from pipfile instead of
  iterating over those found in `pip freeze` output
- Only pass editable dependencies to pip-tools for resolution
- Normalize names and ensure that we update lockfile entries accordingly

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-14 03:58:49 -04:00
Dan Ryan 015a2dccb9 Merge branch 'master' into proper-names-db-ensure 2018-06-14 03:57:13 -04:00
Tzu-ping Chung 4b95004f1a Merge pull request #2312 from pypa/pipenv-run-in-hint
Hint “pipenv run” after creating the virtualenv
2018-06-14 13:59:40 +08:00
Tzu-ping Chung 2ee3743078 Use Path.touch to better ensure file existence 2018-06-14 13:18:53 +08:00
Dan Ryan 3c2c2953ca Merge branch 'master' into pipenv-run-in-hint 2018-06-14 00:30:21 -04:00
Dan Ryan 42f9c0287f Merge pull request #2350 from pypa/bugfix/skip_requirements-gh-2349
Ensure skip_requirements is set before use
2018-06-14 00:28:23 -04:00
Dan Ryan 3204bf2a8c Merge branch 'master' into bugfix/skip_requirements-gh-2349 2018-06-14 00:27:51 -04:00
Dan Ryan 403aa9d893 Merge pull request #2331 from pypa/unc-paths
added support for mounted drives via unc paths.
2018-06-14 00:27:33 -04:00
Erin O'Connell e478ce1af8 Merge branch 'master' into unc-paths 2018-06-13 21:19:24 -06:00
Erin O'Connell 9fe0810379 implement new logic for handling ramdisk's 2018-06-13 21:17:31 -06:00
Dan Ryan a27a34a618 Merge branch 'master' into bugfix/skip_requirements-gh-2349 2018-06-13 23:10:11 -04:00
Dan Ryan 9968170499 Merge pull request #2345 from pypa/bugfix/windows-requirements-paths
Bugfix/windows requirements paths
2018-06-13 23:07:31 -04:00
Dan Ryan 5ba0a1feb7 Update requirementslib
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-13 21:45:43 -04:00
Dan Ryan 6a0a34b415 Fix uri conversion
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
2018-06-13 19:41:15 -04:00
Dan Ryan bca3e1fa61 fix tests
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
2018-06-13 19:34:41 -04:00
Dan Ryan 18f6e94602 Fix iterator that i broke for reasons
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
2018-06-13 19:26:16 -04:00
Dan Ryan 126b7444c6 Check if setup_path exists
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
2018-06-13 19:18:34 -04:00
Dan Ryan 470abeffde Update resolve() calls and requirementslib
- Accommodate ramdisks

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-13 18:59:43 -04:00
Dan Ryan 463cf778cf Merge branch 'bugfix/windows-requirements-paths' of github.com:pypa/pipenv into bugfix/windows-requirements-paths 2018-06-13 18:54:20 -04:00
Tzu-ping Chung 4e4dfe2afa Clean up URL quote-unquote logic 2018-06-14 01:35:13 +08:00
Tzu-ping Chung ba23f5c819 Cherry-pick requirementslib@dae7cb2 2018-06-14 01:10:13 +08:00
Dan Ryan 1e99d0d132 Merge branch 'bugfix/windows-requirements-paths' of github.com:pypa/pipenv into bugfix/windows-requirements-paths 2018-06-13 11:49:35 -04:00