Tzu-ping Chung
bc776e4f7b
Maybe delete cache on Travis?
2018-04-08 00:40:58 +08:00
Tzu-ping Chung
fd922dae33
Quote wars
2018-04-07 23:57:01 +08:00
Tzu-ping Chung
7b3d191a4a
Merge sections
2018-04-07 22:33:18 +08:00
Tzu-ping Chung
c054d2ae94
Skip test_complex_lock_deep_extras
2018-04-07 22:13:33 +08:00
Tzu-ping Chung
f2bfc96baf
Come on
2018-04-07 21:42:36 +08:00
Tzu-ping Chung
bef4c72ca4
Don't need to run cli twice on Appveyor
2018-04-07 21:31:45 +08:00
Tzu-ping Chung
bc40d76cf0
Try to fix the Appveyor run script
2018-04-07 21:26:54 +08:00
Tzu-ping Chung
ab44596c9a
Skip test_complex_lock
2018-04-07 19:23:47 +08:00
Tzu-ping Chung
fa3934ac0d
Cherry-pick changes from #1909
...
Let's hope this works.
2018-04-07 18:34:55 +08:00
Dan Ryan
a407bc8221
Fix our own setup.py
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-04-06 23:28:12 -04:00
Dan Ryan
1ec8dafc34
Only run tests once each
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-04-06 23:26:36 -04:00
Dan Ryan
c442d0a03a
Update pipfile, lockfile, and fix markers
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-04-06 23:26:36 -04:00
Tzu-ping Chung
483bf175cf
Rework cmdparse.Script API
...
The API now requires a command argument from signature. Parsing errors
(no command from input) is thrown as a custom exception, and caught by
the outmost possible invocation to emit a message from click.
2018-04-06 23:26:36 -04:00
Tzu-ping Chung
d1eeeced45
Apply script parsing fix from pypi/pipenv#1909
2018-04-06 23:26:35 -04:00
Dan Ryan
61418fda20
Fix all tests and split out requirements refactor
...
- includes missing artifacts
- fixes cmdprse script
- Remove extraneous changes
- Fix tests
2018-04-06 23:25:37 -04:00
Tzu-ping Chung
ccc0311362
Hand 'file' key in Pipfile to requirements
2018-04-06 23:25:35 -04:00
Tzu-ping Chung
a536da4e6c
Mock more dependencies
...
- Mock dateparser for maya
- Dot in PyPI package name becomes dash
- Mock regex for maya
2018-04-06 23:25:15 -04:00
Dan Ryan
703776fc92
Fix tests and requirements parsing
...
- Fix zip urls and markers
- Mock maya dependencies
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-04-06 23:24:18 -04:00
Tzu-ping Chung
536efd2d38
Fix edge cases for pipenv run
...
- Use os.path.join instead of os.path.sep.join
- This prevents strange test errors when there are slashes in either parts
- Better test reporting
- Cleanup
2018-04-06 23:23:17 -04:00
Dan Ryan
1607091b85
Begin complete re-work of requirements parsing
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-04-06 23:23:16 -04:00
Tzu-ping Chung
b4e832fb73
Improve test error report
2018-04-06 23:23:16 -04:00
Dan Ryan
529bf1f16f
Fix requirements to properly parse local paths
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-04-06 23:23:16 -04:00
Tzu-ping Chung
9dda593650
Improve python 2 cmdparse compatibility
...
- Use string_types to improve compat on Python 2
- Correct PYTHON_VERSION in appveyor.yml
- Let's debug
2018-04-06 23:22:30 -04:00
Dan Ryan
d3a08878cf
Fix marker parsing
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-04-06 23:22:30 -04:00
Tzu-ping Chung
15c7308ca9
Proper script argument escaping
...
I chose to make Script.parse to always operate in POSIX mode so it is much
easier to write commands compatible on all platforms.
Script.cmdify is the important part on Windows. It ensures the argument
line is always escaped and joined properly on Windows, not just for the
subset that works both under POSIX and Windows (as is the case of
shlex.escape).
2018-04-06 23:22:30 -04:00
Dan Ryan
31301b1536
Fix deps and testing infrastructure
...
- Fix requirement parsing
- Add appveyor config
- cutover from pathlib to pathlib2 if needed
- Pin pathlib2==2.1.0 to avoid scandir
- Windows script runner fix
- Backport `shlex.quote()` for use in `pipenv run`
- Update tests and appveyor
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-04-06 23:19:32 -04:00
Dan Ryan
8a67a21d61
bugfix
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-03-31 01:13:26 -04:00
Dan Ryan
d3c8c18af1
Fix pipenv run regression on windows
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-03-31 01:06:28 -04:00
Dan Ryan
c440be5582
Merge pull request #1872 from joshfriend/patch-2
...
Python 3.6.5
2018-03-30 19:11:56 -04:00
Dan Ryan
64a12a1004
Merge branch 'master' into patch-2
2018-03-30 19:11:34 -04:00
Dan Ryan
2590faa9a8
Merge pull request #1877 from remram44/mention-pipenv-ignore-virtualenvs
...
Mention PIPENV_IGNORE_VIRTUALENVS in help message
2018-03-30 19:11:19 -04:00
Dan Ryan
7b15a79fd8
Merge branch 'master' into mention-pipenv-ignore-virtualenvs
2018-03-30 19:10:56 -04:00
Dan Ryan
980cfe0827
Merge pull request #1857 from pypa/operation-fix-tests
...
Operation Fix Tests
2018-03-30 19:10:39 -04:00
Dan Ryan
ff15be72c5
Remove verbose flag auto-add
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-03-30 18:27:25 -04:00
Dan Ryan
f9ce022794
Tweeak pypi mock
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-03-30 18:25:42 -04:00
Dan Ryan
61ce755229
Add missing artifacts
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-03-30 18:15:44 -04:00
Dan Ryan
5d3bb0768d
Unmock ibm-db-sa
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-03-30 17:54:52 -04:00
Dan Ryan
4551d2b68c
Fix verbose command construction
2018-03-30 16:36:19 -04:00
Dan Ryan
f61a2eddca
Fix resolution for broken tests
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-03-30 15:49:12 -04:00
Dan Ryan
f13f296b03
Fix tests
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-03-30 14:52:13 -04:00
Remi Rampin
467d1e0d42
Use bold formatting for required variable
2018-03-30 14:37:12 -04:00
Dan Ryan
d36081889e
Remove mocked pypi from complex test
...
- Remove extra marker too
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-03-30 13:44:49 -04:00
Dan Ryan
4117affaef
Catch up with master properly
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-03-30 13:10:24 -04:00
Dan Ryan
5f1d8ee309
Final test updates
2018-03-30 13:00:59 -04:00
Tzu-ping Chung
6bde082a04
Skip some tests on 2.7
2018-03-30 12:38:11 -04:00
Dan Ryan
3e07c809eb
Undo capsys, reorder install and lock
2018-03-30 12:37:17 -04:00
Dan Ryan
28a6cb4805
Disable capsys to capture stdout/stderr
2018-03-30 12:37:17 -04:00
Dan Ryan
a4bbed3f69
Block for debugging
2018-03-30 12:37:16 -04:00
Tzu-ping Chung
b5ae7cc0bb
Just always require suffix then
...
This is not the TemporaryDirectory you are looking for.
2018-03-30 12:37:16 -04:00
Tzu-ping Chung
ba93ad2da5
Never mock PyPI half-way, either do, or don't
2018-03-30 12:37:16 -04:00