Commit Graph

4145 Commits

Author SHA1 Message Date
kennethreitz 692df5fd2c unset cI
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-05 21:09:35 -04:00
kennethreitz 239fa2e657 adjustments
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-05 21:06:44 -04:00
kennethreitz 5ce9cd4df3 empty commit 2018-05-05 21:04:55 -04:00
kennethreitz 38457272a5 i wish
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-05 21:03:18 -04:00
kennethreitz c766c2c5d7 don't uninstall pipenv
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-05 20:59:19 -04:00
kennethreitz 981e2fdad7 empty commit 2018-05-05 20:51:37 -04:00
kennethreitz 41e93e6621 empty commit 2018-05-05 20:50:03 -04:00
kennethreitz c8899eb175 empty commit 2018-05-05 20:42:11 -04:00
kennethreitz 2a0449ab3a change
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-05 19:00:13 -04:00
kennethreitz b062285de6 empty commit 2018-05-05 18:58:24 -04:00
Dan Ryan ee17a1bd9c Merge pull request #2136 from pypa/bugfix/2121-editable-false-evaluates-true
Only use `-e` for install when `editable=True`
2018-05-05 14:58:15 -04:00
Dan Ryan f6cff554f4 update tests to remove False key during comparison
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-05 00:43:08 -04:00
Dan Ryan 08f61e7684 Switch to checks for Mapping type and proper bool
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-04 15:55:52 -04:00
Dan Ryan fcfebaf1cc Only use -e for install when editable=True
- Fixes #2121
- Add tests for regressions

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-04 15:55:52 -04:00
Dan Ryan cbe15167c2 Merge pull request #2141 from pypa/bugfix/2100-do-not-extrapolate-in-lock
Do not expand environ in cache on package install
2018-05-04 15:40:32 -04:00
Tzu-ping Chung 0984bab787 Do not expand environ in cache on package install
Fix #2100.
2018-05-05 01:04:36 +08:00
Dan Ryan 10cb623dc0 Merge pull request #2135 from pypa/bugfix/1997-extras-from-url
Parse and include extras from vcs and non-vcs urls
2018-05-03 23:02:49 -04:00
Dan Ryan f0c33367fa Parse and include extras from vcs and non-vcs urls
- Include extras when rebuilding urls from pipfiles
- Fixes #1997, #2128

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 22:43:30 -04:00
Dan Ryan 69526d0f93 Merge pull request #2126 from pypa/feature/update-vendoring
Update vendoring script and patches
2018-05-03 20:56:10 -04:00
Dan Ryan 5f047b5f5f Patches need to have 1 whitespace on empty lines
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 20:18:16 -04:00
Dan Ryan 992645ead0 Update licenses
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 20:18:16 -04:00
Dan Ryan 17888fb131 Auto-download pip licenses
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 20:18:16 -04:00
Dan Ryan af0150b07e Update vendoring patches
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 20:18:16 -04:00
Dan Ryan 962ce7b065 Merge pull request #2131 from pypa/sync-shouldnt-lock
Check lockfile exists on sync, and don't update it
2018-05-03 20:18:04 -04:00
Tzu-ping Chung d21efa08c7 Check lockfile exists on sync, and don't update it
Matching the behaviour mentioned in:
https://github.com/pypa/pipenv/issues/1463#issuecomment-386297896
2018-05-03 19:18:45 -04:00
Dan Ryan f6d23ce35e Merge pull request #2069 from altendky/1847-newlines
Default to \n, retain consistent \r\n
2018-05-03 19:16:12 -04:00
Dan Ryan 7e32d26e62 Update pathlib import, drop extra io.open arg
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 18:49:17 -04:00
Kyle Altendorf e4270dc292 Merge remote-tracking branch 'upstream/1847-newlines' into 1847-newlines 2018-05-03 12:20:59 -07:00
Kyle Altendorf 6bac97c50b Always os.open() with os.O_BINARY() for NamedTemporaryFile 2018-05-03 11:59:14 -07:00
Tzu-ping Chung 116ce7191d Better test errors and remove useless newline='' 2018-05-04 02:39:53 +08:00
Tzu-ping Chung acdd2ff126 Test for '\n', not platform newlines in user code
Python always generates '\n' in string (unless we explicitly specify
otherwise), so we should test that. Leave line ending handling to library
code.
2018-05-04 02:37:28 +08:00
Tzu-ping Chung 0c35920406 Always use binary mode in NamedTempoeraryFile
Text mode would enable auto line ending translation, but we want to handle
them ourselves (in io.open) instead. This would not affect the ability to
write text files (io.open does the right thing as long as we give it the
correct mode).
2018-05-04 02:34:48 +08:00
Tzu-ping Chung fb9fb2e575 Simplify JSON dump compatibility code 2018-05-04 01:08:45 +08:00
Dan Ryan d26e16a539 Read in universal newline mode
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 12:08:59 -04:00
Dan Ryan a075445367 Updated versions
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 11:59:55 -04:00
Kyle Altendorf 2ca94fb010 normpath(abspath()) for path comparison 2018-05-03 08:50:08 -07:00
Kyle Altendorf ab63176851 Add message to newline assertions
Compensating for https://github.com/pytest-dev/pytest/issues/3443
2018-05-03 08:45:44 -07:00
Kyle Altendorf 536d6febc3 Revert "Update newline tests"
This reverts commit 18704a5e21.
2018-05-03 08:38:33 -07:00
Kyle Altendorf 8a25696528 Revert "Update newline check"
This reverts commit 415566f5d6.
2018-05-03 08:38:25 -07:00
Dan Ryan 5718ae8f42 Fix newline tests for windows
- Adjust for proper parameterization

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-03 03:27:45 -04:00
Dan Ryan 415566f5d6 Update newline check
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-02 22:40:38 -04:00
Dan Ryan 76827408ad Fix edge case of existing but empty lockfiles
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-02 21:36:46 -04:00
Dan Ryan 18704a5e21 Update newline tests 2018-05-02 20:49:52 -04:00
Dan Ryan 6d24b2be68 Merge branch 'master' into 1847-newlines 2018-05-02 19:02:36 -04:00
Dan Ryan 77a04cf7e7 Python 2 NamedTemporaryFile bugfix
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-02 19:01:47 -04:00
Dan Ryan e3d7dbc346 Merge branch 'master' into 1847-newlines 2018-05-02 18:22:47 -04:00
Dan Ryan 84b8f87f3a Merge pull request #2119 from pypa/prettytoml-table-is-mapping
Implement __iter__ to make AbstractTable a mapping
2018-05-02 18:22:05 -04:00
Kyle Altendorf 0aeee15c29 Merge branch 'master' into 1847-newlines 2018-05-02 09:23:02 -04:00
Tzu-ping Chung c9f74d7e1e Implement __iter__ to make AbstractTable a mapping
This supplements #2101 and makes the check more idiomatic.
2018-05-02 19:33:34 +08:00
Tzu-ping Chung 47e3447012 Merge pull request #2118 from frostming/outdated_norm_name
Normalize name when checking outdated packages
2018-05-02 19:33:14 +08:00