Dan Ryan
846b67f521
Update PEP 508 dependency parsing implementation
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-24 01:21:46 -05:00
Dan Ryan
39c3b3a50d
Fix editable and local setup.py builds
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-23 12:40:45 -05:00
Dan Ryan
1601511d06
Don't depend on kenneth's personal mirror for testing
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-21 21:20:16 -05:00
Dan Ryan
4a8eeada96
Remove pyc from pyinstaller and grab final updates from pythonfinder
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-21 20:02:50 -05:00
Dan Ryan
574fe7308d
Update all vendored dependencies
...
- Clean up test config and environment variable handling
- Unset env var changes performend by `pipenv run`
- Make `environments.is_in_virtualenv()` more dynamic -- read
environment on the fly
- Split up tests on `pipenv run` to reduce complexity -- one test for
global run (no virtualenv creation), one test for virtualenv creation
- Add `warn_in_virtualenv` call to `run` command, why doesn't click
invoke this automatically?
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-21 19:05:25 -05:00
jxltom
a873e7c2e3
Merge branch 'master' into activate-custom-virtualenv
2019-01-18 12:40:23 +08:00
Frost Ming
11b8d19c2f
Merge branch 'master' into bugfix/3449
2019-01-18 11:32:39 +08:00
jxltom
d17d46256c
Merge branch 'master' into activate-custom-virtualenv
2019-01-18 09:05:43 +08:00
Adam Goldschmidt
3b4c592f30
add test to invalid prepare_pip_source_args and change error to be more descriptive. (+1 squashed commit)
...
Squashed commits:
[b00fb5ba] fixed test getting empty URL in source
2019-01-17 14:10:41 +02:00
Frost Ming
9dab05d64e
Update the index names in lock file
2019-01-17 12:04:05 +08:00
Frost Ming
ba9f5057b8
Populate source when getting lockfile
2019-01-09 10:07:26 +08:00
jxltom
16db36e60f
Test for pipenv behavior in activated virtualenv
2018-12-16 20:36:32 +08:00
nonylene
f81e86181c
Add test for pipenv --python --site-packages
2018-12-09 05:17:25 +09:00
Frost Ming
aadb24b9df
Move to install test suite
2018-12-07 09:00:04 +08:00
Frost Ming
27f83a8631
preserve inline spaces in toml
2018-12-06 15:54:18 +08:00
Dan Ryan
2160b64005
Merge branch 'master' into bugfix/3324
2018-12-01 14:09:59 -05:00
Dan Ryan
a500420f6c
Merge branch 'master' into resort-imports
2018-12-01 13:06:25 -05:00
jxltom
bea9e03165
Enable test disabled in travis
2018-12-01 22:17:00 +08:00
Frost Ming
360ed75992
try another package
...
Signed-off-by: Frost Ming <mianghong@gmail.com >
2018-12-01 20:56:47 +08:00
Frost Ming
7718350f2f
Don't normalize name when writing Pipfile
...
Signed-off-by: Frost Ming <mianghong@gmail.com >
2018-12-01 19:44:10 +08:00
jxltom
85e64b86be
Resort imports for tests
2018-12-01 17:26:32 +08:00
Tzu-ping Chung
6a93e6cf44
Quote arguments with carets for cmd.exe
...
Carets introduce a difficult situation since they are essentially
"lossy" when parses. Consider this in cmd.exe:
> echo "foo^bar"
"foo^bar"
> echo foo^^bar
foo^bar
The two commands produce different results, but are both parsed by the
shell as `foo^bar`, and there's essentially no sensible way to tell what
was actually passed in. This implementation assumes the quoted variation
(the first) since it is easier to implement, and arguably the more common
case.
2018-11-28 19:30:45 +08:00
Frost Ming
6873145116
Abort pipenv when pip install fails
2018-11-28 16:42:14 +08:00
Dan Ryan
1ed7ae9e68
Fix vcs locking, prefer pipfile entries once locked
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-24 19:28:50 -05:00
Dan Ryan
a08a2da524
Don't give child deps of vcs deps auto-precedence
...
- Stop preferring resolution of VCS dependencies in all cases
- Resolve vcs dependencies together with non-vcs dependencies
- Clarify blocking and no-deps logic
- Add artifacts and tests
- Add vendoring task for artifacts
- Clean up release tasks
- Fixes #3296
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-24 17:10:45 -05:00
Dan Ryan
2b1ea9ee8a
Add test
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-23 18:06:12 -05:00
Dan Ryan
ef42f84427
Add artifacts and fix hash gathering
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-23 17:59:05 -05:00
Dan Ryan
14a0766791
Update test to patch new mkdtemp target
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-23 02:15:50 -05:00
Dan Ryan
00203980f2
More robust static serving
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-23 00:22:09 -05:00
Dan Ryan
a3b5e8f374
Fix local serving of static resource fixtures
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-22 17:05:57 -05:00
Dan Ryan
2a7cc26767
Fix broken tests
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-22 13:55:50 -05:00
Dan Ryan
9dbe52177f
clone a fresh copy of six before running tests
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-22 13:50:37 -05:00
Dan Ryan
66e9822d8a
Potentialy speed up tests, decrease network calls"
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-22 13:32:34 -05:00
Dan Ryan
aa01c59632
Add pyinstaller
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-22 12:27:02 -05:00
Dan Ryan
1c7bb3afd9
Fix test for warnings
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-21 22:58:54 -05:00
Dan Ryan
18f8c0a403
Write warnings to stderr during resolution
...
- Fixes #3273
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-21 13:09:46 -05:00
Dan Ryan
feab1aed39
Fix failures from missing pipfile before install
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-20 11:27:31 -05:00
Dan Ryan
0bf7a48451
Make sure we actually create the pipfile
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-20 11:21:02 -05:00
Dan Ryan
f99de85ef7
Fix pipfile creation with unnamed project
...
- Fixes #3260
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-20 11:00:53 -05:00
Dan Ryan
c8c78931f5
Merge branch 'master' into bugfix/3249
2018-11-19 12:20:09 -05:00
Frost Ming
e575f87074
Merge branch 'master' into editable-packages-fix
2018-11-19 14:27:58 +08:00
Dan Ryan
5b460706c4
Merge branch 'bugfix/3239' into bugfix/3249
2018-11-19 00:04:36 -05:00
Dan Ryan
45e9f6e417
Fix parsing of markers in VCS requirements
...
- Parsing of markers in non-editable vcs requirements was broken
- This PR adds some VCS repos, some utility pipfile generation functions
and some fixture helpers
- Fixes #3249
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-11-18 23:49:57 -05:00
Frost Ming
e909d9b84f
do not check on windows
...
Signed-off-by: Frost Ming <mianghong@gmail.com >
2018-11-18 09:42:04 +08:00
Frost Ming
5e94bcb595
fix case for windows
...
Signed-off-by: Frost Ming <mianghong@gmail.com >
2018-11-18 08:56:43 +08:00
Frost Ming
6cfa466672
Merge branch 'master' into master
2018-11-18 08:52:13 +08:00
Chris Miller
cba5a1efc6
Remove debug print from test.
2018-11-17 12:52:12 -05:00
Frost Ming
6901eae31d
expand env before run script
...
Signed-off-by: Frost Ming <mianghong@gmail.com >
2018-11-17 22:53:07 +08:00
Frost Ming
32f5d85b0b
Pop VIRTUAL_ENV env
...
Signed-off-by: Frost Ming <mianghong@gmail.com >
2018-11-17 19:42:43 +08:00
Frost Ming
915b3c1334
ignore PIPENV_ACTIVE in testing
...
Signed-off-by: Frost Ming <mianghong@gmail.com >
2018-11-17 18:23:28 +08:00