Commit Graph

4628 Commits

Author SHA1 Message Date
Dan Ryan 3084801e89 Fix CLI tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-28 20:40:50 -04:00
Dan Ryan e851dc5930 Fix encodings
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-28 19:12:53 -04:00
Dan Ryan dcf4b611d0 Fix unicode issue
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-28 19:01:37 -04:00
Dan Ryan d1ada29b00 Update with latest updates from master
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-28 18:52:46 -04:00
Dan Ryan a670971362 Merge branch 'master' into fix-unicode-error 2018-06-28 16:58:29 -04:00
Dan Ryan 3d8e93a9af Merge pull request #2462 from JacobHenner/bugfix/2455-virtualenv-pypi-mirror
Use --pypi-mirror during virtualenv initialization
2018-06-28 16:48:08 -04:00
Dan Ryan b865888cbd Merge branch 'master' into bugfix/2455-virtualenv-pypi-mirror 2018-06-28 16:47:51 -04:00
Dan Ryan aaca12dbe1 Merge pull request #2443 from mungojam/patch-2
Fix typo in error message
2018-06-28 15:25:28 -04:00
Dan Ryan 8175bd5341 Merge branch 'master' into patch-2 2018-06-28 15:25:18 -04:00
Dan Ryan f0c8b46de5 Merge pull request #2454 from pypa/bugfix/2438
Switch to using pathlib2 for python<3.5
2018-06-28 15:24:21 -04:00
Max Krivich ed3de3f2de Fix UnicodeEncodeError in help.py 2018-06-28 21:47:38 +03:00
Jacob Henner 0503c2046f Use --pypi-mirror during virtualenv initialization
Adds support for the --pypi-mirror parameter for all operations which
may result in a virtualenv initialization.

When a virtualenv is initialized, pip attempts to download several
dependencies from PyPI. If PyPI is unavailable, virtualenv silently uses
local packages instead, which is acceptable in most cases. However, in
some environments connection attempts to PyPI will stall rather than
fail, causing a pipenv timeout. By using the mirror specified by
--pypi-mirror, we can ensure virtualenv will attempt to download
dependencies from an accessible mirror instead of PyPI.

- Fixes #2455
2018-06-28 14:22:52 -04:00
Dan Ryan 7294c585cc Merge branch 'master' into bugfix/2438 2018-06-28 13:30:49 -04:00
Dan Ryan ac7f1aeb89 Merge pull request #2463 from maxkrivich/improvements-proposal-for-setupfile
Add `python_requires` in setup.py
2018-06-28 13:19:10 -04:00
Tzu-ping Chung 96f9151e51 More split up 2018-06-29 00:39:21 +08:00
Max Krivich 4d43c39fb5 Update classifiers in setup.py
Remove python3.3 version from classifiers list
2018-06-28 19:00:09 +03:00
Max Krivich f8396a1ecf Add py3.3 to ignore list 2018-06-28 18:48:28 +03:00
Max Krivich ba9615cb7e Add python_requires in setup.py
This argument prevents accident install `pipenv` on not supported python
versions.

Syntax for this string you can find in PEP440.

Note: this feature works with pip 9.0+.
2018-06-28 18:11:15 +03:00
Tzu-ping Chung 5ee7514ebd Make install work 2018-06-28 19:14:22 +08:00
Tzu-ping Chung 0ac156c567 WIP core move-out 2018-06-28 18:57:55 +08:00
Dan Ryan 7a014feb0d Fix utils
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 22:36:26 -04:00
Dan Ryan 39a363b780 Update references to Path
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 22:28:31 -04:00
Dan Ryan 24743f77d3 Switch to using pathlib2 for python<3.5
- Fixes #2438

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 21:15:43 -04:00
Dan Ryan 8256c5383b Merge pull request #2450 from pypa/bugfix/2449
Ensure we use unicode for proper names db
2018-06-27 18:51:10 -04:00
Dan Ryan a9284c7cb2 Merge branch 'master' into bugfix/2449 2018-06-27 16:13:26 -04:00
Dan Ryan b6222e6f97 Ensure we use unicode for proper names db
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 16:12:25 -04:00
Mark Adamson cbe30d20c4 Fix typo in error message 2018-06-27 13:29:25 +01:00
Dan Ryan 8203d3811a Merge pull request #2436 from pypa/bugfix/37
Fix python 37 build failures
2018-06-27 02:23:52 -04:00
Dan Ryan b7d8cf4918 Update vendored prettytoml
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 00:58:06 -04:00
Dan Ryan a4951d1595 Fix uninstall for --all-dev
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 00:58:06 -04:00
Dan Ryan 88ff271a8d Fix tests for python 37
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 00:58:06 -04:00
Dan Ryan c071f61505 Handle empty pipfile sections
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 00:58:06 -04:00
Dan Ryan 6e43e9af2b Merge pull request #2402 from frostming/update-sphinx-click
update sphinx-click
2018-06-27 00:48:44 -04:00
Dan Ryan 69c42aeef3 Merge branch 'master' into update-sphinx-click 2018-06-27 00:48:36 -04:00
Dan Ryan 9d992a6e37 Merge pull request #2433 from pypa/bugfix/2421
Update requirementslib to fix #2421
2018-06-27 00:48:21 -04:00
Dan Ryan 1fd2247bb6 Fix test to account for name resolution of editable deps
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-26 20:10:45 -04:00
Dan Ryan 6a299175b8 Update requirementslib to fix #2421
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-26 20:10:45 -04:00
Dan Ryan 6f47cd6bb2 Update news and piptools patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-26 20:08:27 -04:00
Dan Ryan 283b29df6a Merge pull request #2432 from greysteil/fix-typo
Fix typo in comment ('Pip < 9 and below' -> 'Pip 9 and below')
2018-06-26 19:51:32 -04:00
Dan Ryan 69fa1b0f92 Merge branch 'master' into fix-typo 2018-06-26 19:51:16 -04:00
Dan Ryan fa7e27e54c Merge pull request #2427 from hroncok/py37
prettytoml: Catch StopIteration in AbstractTable._enumerate_items
2018-06-26 19:46:31 -04:00
Grey Baker 43b2c4da60 Fix typo in comment ('Pip < 9 and below' -> 'Pip 9 and below') 2018-06-26 17:18:39 -04:00
Miro Hrončok d14df0c73c prettytoml: Catch StopIteration in AbstractTable._enumerate_items
This makes PEP 479 enabled Pythons (such as 3.7) work again.

Otherwise you get:

    RuntimeError: generator raised StopIteration

Fixes https://github.com/pypa/pipenv/issues/2426
2018-06-26 23:17:01 +02:00
Miro Hrončok 951e495489 Fix _post-pip-update-pep425tags.patch
See https://github.com/pypa/pipenv/pull/2427#issuecomment-400460828
2018-06-26 23:17:01 +02:00
Dan Ryan 04b709fbd0 Add click-completion update news
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-26 15:53:15 -04:00
Dan Ryan 81d4484b96 Added news entries for new commits
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-26 15:51:29 -04:00
Dan Ryan f64fe41f4c Merge pull request #2404 from cverna/add_fedora_install
Add Fedora installation instruction to Readme
2018-06-26 15:48:19 -04:00
Dan Ryan e5fa0acb2e Merge branch 'master' into add_fedora_install 2018-06-26 15:48:12 -04:00
Dan Ryan 9ec6b74eb8 Merge pull request #2415 from dnoetzel/bugfix-439
Allow virtual env creation in dir with leading dash
2018-06-26 15:47:21 -04:00
dnoetzel 84908cdb94 Merge branch 'master' into bugfix-439 2018-06-26 12:30:02 -05:00