Commit Graph

7156 Commits

Author SHA1 Message Date
kennethreitz e522503bca remove travis.yml
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-05 21:35:28 -04:00
kennethreitz 747317c5f6 tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-05 21:18:22 -04:00
kennethreitz 3bc5cf5d1e changes
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-05 21:14:15 -04:00
kennethreitz 6efe2136bd subtle improvement
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-05 21:12:39 -04:00
kennethreitz 32818e9236 cleanups
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-05 21:11:25 -04:00
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
Grey Baker 1414243c01 Retry pypi.org requests on CI, or if an environment variable is set
Use PIPENV_MAX_RETRIES environment variable to determine how many times to retry
requests to pypi.org. Default to 0 retries, unless running on CI, in which case
default to 1 retry.
2018-05-05 19:15:02 +01: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
Kyle Altendorf b53a365a27 Modify existing patch to include this modification 2018-05-04 22:45:08 -04:00
Kyle Altendorf 41ab9baade Merge branch 'master' into 2138-notpip_looping 2018-05-04 13:48:43 -07:00
Kyle Altendorf b3f645433a Fix grouping of extras requirements in notpip 2018-05-04 16:47:29 -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 df046fc8d1 Merge branch 'master' into pew-associate-project-dir 2018-05-05 01:20:32 +08: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
Charlie Denton a35b15711a Associate project dir with new virtual environment
This lets pew know which directory to switch to when activating an
environment with `pew workon foo`.
2018-05-03 17:15:36 +01: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