Dan Ryan
caf4818cf9
Update azure test runner
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-18 19:57:58 -05:00
Dan Ryan
907aca102c
Use set comparisons for removing packages
...
- Fixes `pipenv clean` implementation
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-18 19:49:24 -05:00
Dan Ryan
9a475903e0
Fix pipenv clean to stop trying to remove python
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-18 18:26:47 -05:00
Dan Ryan
f8a51024e0
Install local tests extra for test runners
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-18 16:29:33 -05:00
Dan Ryan
08a8bbcff4
Add test extras to setup.py to pin pytest
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-18 13:01:00 -05:00
Dan Ryan
f6e657e469
Update lockfile
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-18 01:08:39 -05:00
Dan Ryan
a019de01cb
Restore existing pyinstaller commit
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-17 03:05:23 -05:00
Dan Ryan
eaf7504ad4
Fix specifier parsing in python 2
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-17 02:57:04 -05:00
Dan Ryan
53c49683ac
Fix name reference
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-17 02:42:21 -05:00
Dan Ryan
222eb50b18
Fix buggy pep517 implementation
...
- Fix resolution for pre-40.6.0 setuptools releases by auto-detecting
installed setuptools version before calculating default backend
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-17 02:28:33 -05:00
Dan Ryan
e392b0232f
Add additional test packages
...
- Allows more thorough testing of new resolution method
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-16 21:18:09 -05:00
Dan Ryan
6b1d617eca
Add pytoml (dependency of pep517)
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-16 12:55:23 -05:00
Dan Ryan
c049976936
Pass all packages through to venv_resolve_deps
...
- Use `project.parsed_pipfile` to get all packages instead of a filtered
subset
- Determine index names via a new `refresh=True` argument to
`project.get_source()` which clears the current pipfile cache
- Fix parsing of requirement lines from direct URLs which were
previously excluding the `name@` portion and therefore generating
invalid links
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-16 12:51:34 -05:00
Dan Ryan
ef682bd58f
Fix tuple bug in resolver
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-15 02:04:51 -05:00
Dan Ryan
f5fda09b9d
Direct URL updates and pep517 fixes
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-14 22:44:51 -05:00
Dan Ryan
41345a7e3d
requirementslib bugfixes
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-14 22:39:51 -05:00
Dan Ryan
01845e5f51
Update requirementslib for PEP517 builder
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-02-14 20:38:16 -05:00
Dan Ryan
19f2ee61e9
Update resolver to handle all resolution in venv
...
- Resolve all VCS and non-piptools-resolveable deps in venv
- Implement pep517 for resolution of non-setuptools builds
- Add full support for the new dependency link format
- Fix breakages from pip 19* rollout and subsequent setuptools breakage
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com >
2019-02-11 00:48:35 -05:00
Dan Ryan
eae3958227
Fix pep508 direct URL depedencies
...
- Fixes #3148
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-27 02:06:40 -05:00
Dan Ryan
23ee483e1c
Add pep517 to environment path
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-24 01:52:09 -05:00
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
da14a884c3
WIP continued, some fixes
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-23 12:42:14 -05:00
Dan Ryan
86ca6ff6ee
Fix direct url dependency resolution
...
- Fix dependecy resolution for _all_ dependencies which are just
direct URLs or files
- Bypass pip-tools for non-editable requirements which can be resolved
- Fixes #3148
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-23 12:41:43 -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
3289c7be74
Update pythonfinder windows implementation
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-22 17:31:23 -05:00
Dan Ryan
7b25a5c73b
fix pythonfinder
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-22 00:36:00 -05:00
Dan Ryan
7ad588d397
A few fixes for windows and relative paths
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-22 00:06:46 -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
ea1096d9b5
Update pythonfinder
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-21 19:41:09 -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
Dan Ryan
ed3f206e64
Update vendored dependency pins
...
- Update gitignore entries for mypy config
- Update release task to add version after bumping but before release
- Fixes #3326 (going forward at least)
- Split out patching from vendoring so it can be done as a separate step
if needed
- Update patches to account for updated packages
- Fixes #3432
- Fixes #2757
- Fixes #3305
- Fixes #2914
- Fixes #3439
- Fixes #3422
- Fixes #3378
- Fixes #3376
- Fixes #3315
Signed-off-by: Dan Ryan <dan@danryan.co >
2019-01-21 12:20:20 -05:00
jxltom
44db5dd87d
Merge pull request #3340 from jxltom/activate-custom-virtualenv
...
Fix bug where custom virtualenv can not be activated by pipenv shell
2019-01-18 21:04:01 +08:00
jxltom
afe1f4d581
Merge branch 'master' into activate-custom-virtualenv
2019-01-18 20:47:11 +08:00
Frost Ming
1f36ca17bc
Merge pull request #3456 from pypa/ci-exclude-peeps
...
Exclude peeps folder when trigger pipelines
2019-01-18 17:15:06 +08:00
Frost Ming
3235bb7253
Exclude peeps folder when trigger pipelines
2019-01-18 16:39:47 +08:00
jxltom
a873e7c2e3
Merge branch 'master' into activate-custom-virtualenv
2019-01-18 12:40:23 +08:00
Frost Ming
943f828227
Merge pull request #3451 from pypa/bugfix/3449
...
Update the index names in lock file
2019-01-18 12:07:09 +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
Frost Ming
7e44236d2b
Merge pull request #3448 from pypa/bugfix/3446
...
Fix order of hashes
2019-01-17 22:40:15 +08:00
Frost Ming
3800ef1261
Merge branch 'master' into bugfix/3446
2019-01-17 21:40:09 +08:00
jxltom
32a5e16d9d
Merge pull request #3447 from AdamGold/feature/pip_source_args_error_handling
...
handle [[source]] without url - raise PipenvUsageError
2019-01-17 21:25:01 +08:00
Adam Goldschmidt
c3e3cfb015
add .news file to describe the fix
2019-01-17 14:10:41 +02: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
Adam Goldschmidt
b60439db37
handle non-URL sources - raise PipenvUsageError
2019-01-17 14:07:54 +02:00
Frost Ming
b5c88e9c32
ensure the existence of 'url'
2019-01-17 15:47:32 +08:00
Frost Ming
c3e94364a0
Use the source passed in
2019-01-17 12:57:02 +08:00
Frost Ming
9dab05d64e
Update the index names in lock file
2019-01-17 12:04:05 +08:00
Frost Ming
bd1bebb957
Fix order of hashes
2019-01-17 09:41:35 +08:00