Erin O'Connell
22df63ea71
Update HISTORY.txt
2017-11-19 21:53:07 -07:00
Erin O'Connell
898e4de2bb
Merge pull request #1096 from kennethreitz/issue-1087
...
Fixes encoding issue with environment variables from .env files
2017-11-19 19:53:08 -07:00
Erin O'Connell
ddde2b227e
merging a PR from the official dotenv repo that addresses the newline issue
2017-11-19 15:59:16 -07:00
Erin O'Connell
aac0ef92a5
moved dotenv from vendor to patched
2017-11-19 15:17:51 -07:00
Erin O'Connell
0a5e5dab48
removed unnecessary encoding
2017-11-18 23:18:48 -07:00
Nate Prewitt
0bf74bf4c6
Merge pull request #1090 from techalchemy/master
...
Revert "In HackedPythonVersion, patch sys.version_info"
2017-11-17 17:13:35 -08:00
Dan Ryan
d73217fbb9
Revert "In HackedPythonVersion, patch sys.version_info"
...
This reverts commit 73ba65fabb .
2017-11-17 19:15:47 -05:00
Nate Prewitt
478848d685
Merge pull request #1078 from MarcDufresne/master
...
Fix #1054 , 'Using <python> to create virtualenv' now outputs to stderr
2017-11-17 12:25:11 -08:00
Nate Prewitt
562d8d353e
Merge pull request #1086 from henryiii/patch-2
...
Fix #1085 for Python 2
2017-11-17 09:35:58 -08:00
Henry Schreiner
8d55d47e7d
Fix #1085 for Python 2
...
This is needed to get pipenv to work on Python 2 hosts (current version on PyPI is broken). Adds the base class of `FileNotFoundError` and adds the default argument of `None` to the `utime` call.
2017-11-17 10:43:32 -05:00
Marc-André Dufresne
c279beca85
Fix #1054 , 'Using <python> to create virtualenv' now outputs to stderr
2017-11-16 16:31:17 -05:00
Nate Prewitt
d7f1b61a1a
Merge pull request #1076 from kennethreitz/mock-sys-version
...
In HackedPythonVersion, patch sys.version_info
2017-11-16 11:29:08 -08:00
Vincent Philippon
f19ee4283e
A dot and an if away from salvation
2017-11-16 13:22:30 -05:00
Vincent Philippon
73ba65fabb
In HackedPythonVersion, patch sys.version_info
...
This is required to have pip/pip-tools get the right wheels according to
the project virtualenv python version.
2017-11-16 12:58:47 -05:00
kennethreitz
908b41df75
add shellquote
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-11-16 09:44:01 -05:00
Erin O'Connell
8deba2e33e
version bump
2017-11-15 23:23:05 -07:00
Erin O'Connell
2275ad5b44
kenneth is awesome
2017-11-15 22:47:59 -07:00
Nate Prewitt
023696e469
Merge pull request #1066 from techalchemy/bugfix/1056-unparsed-reqs-in-pipfile
...
Stop writing unparseable requirements to Pipfiles
2017-11-15 16:50:17 -08:00
Dan Ryan
7f26c16102
Update test to not test for anything like cli arg
...
- Use a clearly unparseable package name instead
2017-11-15 19:05:00 -05:00
Dan Ryan
28907ef29c
Stop writing unparseable requirements to Pipfiles
...
- Add better exception handling and error messaging for parse errors
- Add test to verify this is now being handled correctly
- Fixes #1056
2017-11-14 21:11:11 -05:00
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