Commit Graph

2587 Commits

Author SHA1 Message Date
Nate Prewitt f8e418a5f6 Merge pull request #958 from techalchemy/bugfix/relative-directories
Relative file and path installation
2017-11-14 16:09:37 -08:00
Dan Ryan 2b1e1607f3 Fix missing commit from tests
* everything else is good to go (verified)
* Fixes #949, #939, #817, #914, #1012, #1028, #1025, #960, #1043, #1045
2017-11-14 12:35:15 -05:00
Dan Ryan d320bc4b1e Fix local and relative path installation
Summary of squashed commits:
* Handle relative paths more elegantly
* Wrapper around requirements.parse() for filesystem paths
* Undo previous hacks for simplicity
* Vendor pathlib2 for backwards compatibility
* Resolve relative paths for parsing, keep them relative in pipfile
* Add checks for empty req names and remote uris
* Add tests for local paths
* Fix test paramaterization
* Bugfixes for python27 and windows paths
* Fix windows tests
* Fix windows tests for python27 path encoding
* Re-vendor pathlib2 correctly
* Fix tests for windows paths
* Fix file and path checking
* Fix SCHEME_LIST rename
* Fix path resolution to check existence first
* Catch OSErrors for unpinned dependencies
* Last holdout of FILE_LIST conversion
* Fix for path resolution for unpinned packages
* Dont do path conversions on dictionaries
* Update docstring and comments

Signed-off-by: Dan Ryan <dan@danryan.co>
2017-11-14 00:39:57 -05:00
Dan Ryan 24b445a96a WIP: Relative file and path installation
* Issues - #949, #939, #936 and to a lesser extent #817 #540 and more
* Fixed: Local file path installation (resolves in pipfile as relative
path)
* Pass file:// URI to Requirements library for resolving

TODO:
* Ignore non-explicit directory paths lacking os.sep or ./
* Add tests
2017-11-14 00:30:31 -05:00
kennethreitz a5798c59c1 Merge pull request #1047 from jonathn/fix-pipenv-run-args
Ensure 'run <command>' arguments are not stolen by 'run' arguments
2017-11-13 20:15:36 -05:00
Dan Ryan d22a7a352b Merge pull request #1053 from tedmiston/bash-completion
Add bash shell completion instructions
2017-11-13 17:42:34 -05:00
Taylor D. Edmiston 35a5157f56 Add bash shell completion instructions 2017-11-11 14:24:18 -05:00
Jon a480b69f99 Ensure 'run <command>' arguments are not stolen by 'run' arguments 2017-11-08 17:38:41 -06:00
kennethreitz 40a2ac6244 who wrote this shit 2017-11-08 11:51:41 -05:00
kennethreitz e365c6804f Update advanced.rst 2017-11-08 11:49:57 -05:00
Nate Prewitt e8f031a0d1 Merge pull request #1041 from techalchemy/bugfix/virtualenv-bin-python-check
Check if virtualenv location really exists
2017-11-07 23:26:19 -08:00
Dan Ryan a4aca53b5d Check if virtualenv location really exists
- Check if virtualenv_location exists as an os path as part of the virtualenv_exists check
- Fixes #969
2017-11-08 01:33:25 -05:00
Nate Prewitt 94640b88b9 Merge pull request #1039 from eli-b/patch-1
Fixed a typo in a docstring
2017-11-06 11:43:34 -08:00
Eli Boyarski 992991bf09 Fixed a typo in a docstring 2017-11-06 21:20:16 +02:00
Nate Prewitt a9ae9e7348 Merge pull request #1034 from techalchemy/bugfix/git-url-ssh-scheme-fix
Fix git url scheme parsing consistent with pip
2017-11-05 16:19:07 -08:00
Dan Ryan f363c97f52 Fix git url scheme parsing consistent with pip
- Follow pip methodology for boolean testing
2017-11-05 16:13:44 -05:00
Erin O'Connell 62cc59eaab Merge pull request #1031 from techalchemy/bugfix/incorrect-vcs-classifications
Stop matching packages beginning with vcs names
2017-11-04 23:38:42 -06:00
Dan Ryan f1e98c5e52 Add tests for is_vcs changes to prevent regression
- Fix vcs test for git+git syntax
2017-11-04 21:41:34 -04:00
Dan Ryan c362df6d60 Stop matching packages beginning with vcs names
- Fixes #1030
2017-11-04 20:46:28 -04:00
Nate Prewitt b49dd38f0f v8.3.2 v8.3.2 2017-11-04 10:30:28 -07:00
Nate Prewitt 327fbf1d25 Merge pull request #1026 from techalchemy/bugfix/background-update-lag
Only check for updates once per 24 hours
2017-11-03 20:16:04 -07:00
Dan Ryan 44f98b9e62 Fix syntax error which caused us to always update 2017-11-03 21:30:58 -04:00
Dan Ryan 7453b2204c Fix appveyor windows issue locating executables
- Make use of distutils.spawn.find_executable
- Should be using this everywhere
2017-11-03 21:26:04 -04:00
Dan Ryan dfd337b9ea Remove unnecessary return 2017-11-03 20:59:40 -04:00
Dan Ryan 837220ade4 Rename function that touches cache dir update file 2017-11-03 20:55:57 -04:00
Dan Ryan 44053b52bb Only use bg thread for network calls
- Also use os.utime instead of opening a file pointer for existing files
2017-11-03 19:59:55 -04:00
Erin O'Connell 71b89fbdd6 Merge pull request #1019 from kennethreitz/enhancement-1010
Added nice warning message for version specifiers
2017-11-03 09:19:50 -06:00
Dan Ryan ca2ed0eeea Only check for updates once per 24 hours
- Store stamp file in app cache dir (os specific)
- Vendor appdirs (is this a good idea?)
- Fixes #1023 and some other issues I dont know about
- This works but is just a suggestion to get my thoughts on paper
2017-11-03 00:38:54 -04:00
Erin O'Connell 37485a94e2 catch error if no version can be found or matched 2017-11-02 22:11:45 -06:00
Nate Prewitt e495a2b422 Merge pull request #1022 from richardcooper/homebrew_docs
Add homebrew to the install instructions
2017-11-02 19:27:36 -07:00
Richard Cooper 4b9b70ed9a Add homebrew to the install instructions 2017-11-02 20:16:58 +00:00
Nate Prewitt 5193fd54ff Merge pull request #1018 from rodxavier/master
Add PIPENV_DONT_LOAD_ENV in advanced docs
2017-11-01 18:26:31 -07:00
Rod Xavier Bondoc 72bed8d32f Add PIPENV_DONT_LOAD_ENV in advanced docs 2017-11-02 12:23:17 +11:00
Nate Prewitt d022ef2e1e Merge pull request #1011 from jamieconnolly/default-pyenv-root
Use the default PYENV_ROOT if it is not set
2017-11-01 09:36:56 -07:00
Jamie Connolly dff93b80aa Use the default PYENV_ROOT if it is not set 2017-11-01 15:18:28 +00:00
Nate Prewitt 45cb2a96ec Merge pull request #1009 from anowlcalledjosh/develop
Fix typo in GitHub issue template
2017-11-01 07:11:42 -07:00
Josh Holland 177722cde9 Fix typo in GitHub issue template 2017-11-01 13:30:55 +00:00
Erin O'Connell 5094080ccd Merge pull request #1007 from kennethreitz/fix-1003
Added a minimum version of flake8
2017-10-31 20:45:59 -06:00
Erin O'Connell 5daeab4a2d Specify most minimum flake8 version
that works with pipenv
2017-10-31 20:35:41 -06:00
Nate Prewitt e1538d0944 Merge pull request #999 from OmeGak/master
Add instructions to install via homebrew in README
2017-10-31 19:22:22 -07:00
Erin O'Connell 0f2aa727ae Added a minimum version of flake8
should address #1003
2017-10-31 20:13:50 -06:00
Nate Prewitt 72767c7a9b Merge pull request #1004 from hrbonz/wip/requirement_index_url
fix pip index handling
2017-10-31 08:30:29 -07:00
Stefan 'hr' Berder 6ac1eee6b9 fix pip index handling
fix handling of the proper long index option (--index-url) for pip
install.
2017-10-31 22:41:10 +08:00
Nate Prewitt 1bf6f5101a Merge pull request #1000 from techalchemy/bugfix/998-pyenv-prerelease
Ignore prerelease python installs from pyenv
2017-10-30 21:55:32 -07:00
Dan Ryan 544dd61892 Ignore prerelease python installs from pyenv
- Fixes #998
2017-10-30 20:22:24 -04:00
Alejandro Avilés 134dae8d6c Add instructions to install with Homebrew 2017-10-31 00:03:38 +01:00
Nate Prewitt 2cd7b35da1 v8.3.1 v8.3.1 2017-10-29 21:42:11 -07:00
Nate Prewitt 632d8ea497 updating delegator.py 2017-10-29 21:37:31 -07:00
Nate Prewitt 6edfc89672 prettier message for vcs req missing egg fragment 2017-10-29 17:35:39 -07:00
Erin O'Connell b4336df8cd fixed a syntax error 2017-10-29 15:30:38 -06:00