Tzu-ping Chung
f8775b32e7
Use shell=False when "run" if possible on Windows
...
Do a "where" on the command; if it is found, prevent the intermediate
COMSPEC and use CreateProcess directly. Only use shell=True if the command
is not an executable.
This prevents some unexpected behaviour caused by the intermediate shell
process.
2018-06-19 23:09:12 +08:00
Dan Ryan
2a9bb815ff
Updated changelog
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-18 20:14:45 -04:00
Dan Ryan
9195d3aa83
Merge pull request #2377 from pypa/2343-requires-python
...
Add conversion methods for requires-python formats
2018-06-18 16:09:21 -04:00
Dan Ryan
423b02efba
Merge branch 'master' into 2343-requires-python
2018-06-18 14:42:23 -04:00
Dan Ryan
d213e7c3d8
Merge pull request #2379 from pypa/2179-pipenv-update
...
Switch all update workflows to `pipenv lock/sync`
2018-06-18 14:42:10 -04:00
Dan Ryan
71ff85770e
Fix isdigit check and bump version to dev0
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-18 11:45:07 -04:00
Dan Ryan
25e93251d8
Merge pull request #2376 from pypa/update-changelog
...
Update changelog
2018-06-18 11:42:52 -04:00
Dan Ryan
97bb50d344
Add conversion methods for requires-python formats
...
- Handle single-digit un-specified requires-python format
- `Requires-Python: 3` should be functionally equivalent to `>=3,<4`
- Fixes #2343
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-18 11:41:45 -04:00
Dan Ryan
0ce5b3cb22
Remove some unused arguments during passthrough
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-18 11:40:00 -04:00
Dan Ryan
1c04960653
Add test to verify pipenv update
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-18 11:28:17 -04:00
Dan Ryan
ac853d0552
Switch all update workflows to pipenv lock/sync
...
- `pipenv update` currently doesn't actually run `pipenv lock`
- Semantics around this changed but it doesn't look like the code did
- `pipenv update` should operate similarly for all operations by running
`lock` followed by `sync`
- Fixes #2179
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-18 11:28:17 -04:00
Dan Ryan
03a85b14b2
Update release task
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-18 11:26:07 -04:00
Dan Ryan
c418577c67
Add pipenv update pr to news fragments
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-18 04:14:04 -04:00
Dan Ryan
cefe0656dd
Added new PR to news fragments
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-18 02:45:24 -04:00
Dan Ryan
b03113906f
Don't use user mode to run tests
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-18 00:35:13 -04:00
Dan Ryan
7a34ea9818
Update news fragments
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-17 22:56:19 -04:00
Dan Ryan
e1a29337cd
Update release logs, add release tasks
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-17 21:51:24 -04:00
Dan Ryan
6b3cc1e7ea
Configure towncrier
...
- Update history, add changelog, add news entries
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-17 21:38:26 -04:00
Dan Ryan
13ecf31291
Merge pull request #2368 from pypa/update-vendored-deps
...
Update vendored deps
2018-06-17 18:06:13 -04:00
Dan Ryan
040ae11a41
Update scandir to avoid importing from system lib
...
- Update lockfile with py2 deps
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-17 14:16:12 -04:00
Dan Ryan
9f7ccc7fb3
Fix lockfile
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-17 14:16:12 -04:00
Dan Ryan
6fafc2485a
fix patch
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-17 14:16:12 -04:00
Dan Ryan
9d9824c30d
Update all vendored and patched libraries
...
- Update pipfile and lockfile
- Update licenses
- Bump pathlib2 to latest version
- Include scandir without compiled library dependency
- Update vendoring script to remote scandir binaries going forward
- Update pinned dependencies in vendor.txt
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-17 14:16:12 -04:00
Dan Ryan
69f75e980c
Fix pep425 vendoring patch
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-17 14:16:12 -04:00
Tzu-ping Chung
7ccbc2c477
Merge pull request #2369 from pypa/bugfix-2273
...
Make `PIPENV_VIRTUALENV` global
2018-06-17 20:26:39 +08:00
Dan Ryan
c12bb6e9a6
Definitely fixed this time. Tested for real.
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-17 03:52:22 -04:00
Dan Ryan
e92368e223
Fix syntax error
...
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com >
2018-06-16 13:05:58 -04:00
Dan Ryan
0e37b45474
Make PIPENV_VIRTUALENV global
...
- Fixes #2273
- Hopefully for real this time
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com >
2018-06-16 03:37:14 -04:00
Dan Ryan
e326ce6e07
Merge pull request #2363 from pypa/feature/repatch-shell-detection
...
Upgrade Click-Completion and apply Shellingham for shell detection
2018-06-15 19:11:30 -04:00
Tzu-ping Chung
adcb4974ee
Upgrade Click and make use of shell detection
...
This introduces an additional environment variable "PIPENV_SHELL". If
set, shell detection is skipped completely. The old "SHELL"
introspection is kept as a fallback if detection fails.
2018-06-15 17:40:40 +08:00
Tzu-ping Chung
1a00484f16
Purge "import *"
...
So I can rely on the linter to tell me what to fix.
2018-06-15 16:59:04 +08:00
Tzu-ping Chung
4ee08d6e17
Upgrade Click-Completion to 0.3.1
2018-06-15 16:52:55 +08:00
Tzu-ping Chung
bebc6318cf
Vendor Shellingham
2018-06-15 16:49:58 +08:00
Dan Ryan
2244585876
Merge pull request #2356 from pypa/proper-names-db-ensure
...
Use Path.touch to better ensure file existence
2018-06-15 02:34:35 -04:00
Dan Ryan
18aa60ad76
Merge branch 'master' into proper-names-db-ensure
2018-06-15 01:25:11 -04:00
Dan Ryan
46072b44e2
Merge pull request #2278 from Tethik/patch-2
...
Install git in dockerfile for git dependencies.
2018-06-15 01:24:50 -04:00
Dan Ryan
6b3ae2afd1
Merge branch 'master' into patch-2
2018-06-15 01:24:01 -04:00
Dan Ryan
1b0c5b9521
Merge pull request #2342 from pypa/2158-vcs-deps-overridden
...
Fix VCS Resolution
2018-06-15 01:23:13 -04:00
Dan Ryan
bc5a50dec7
Update naming to convey meaning more clearly
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-14 23:16:08 -04:00
Tzu-ping Chung
2d302b943f
Clean up some dict retrieval code
...
I *think* the previous code could get an exception in certain edge cases?
I don't know, but this looks more straightforward and safer.
2018-06-15 08:34:14 +08:00
Dan Ryan
4dbab47f11
Protect against NoneTypes
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-14 03:58:49 -04:00
Dan Ryan
87475c2abb
Split ref from relative path in vcs ref
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-14 03:58:49 -04:00
Dan Ryan
7f920076ac
Fix parse bug
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-14 03:58:49 -04:00
Dan Ryan
5dc77a9419
Fix duplicate import
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-14 03:58:49 -04:00
Dan Ryan
1c054c3701
Fix VCRPy test
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-14 03:58:49 -04:00
Dan Ryan
7bfa60e90b
Add test
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-14 03:58:49 -04:00
Dan Ryan
a5c876b931
Add ref to vcs install
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-14 03:58:49 -04:00
Dan Ryan
18530dfb46
Fix VCS resolution
...
- Iterate over VCS dependencies from pipfile instead of
iterating over those found in `pip freeze` output
- Only pass editable dependencies to pip-tools for resolution
- Normalize names and ensure that we update lockfile entries accordingly
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-14 03:58:49 -04:00
Dan Ryan
015a2dccb9
Merge branch 'master' into proper-names-db-ensure
2018-06-14 03:57:13 -04:00
Tzu-ping Chung
4b95004f1a
Merge pull request #2312 from pypa/pipenv-run-in-hint
...
Hint “pipenv run” after creating the virtualenv
2018-06-14 13:59:40 +08:00