Commit Graph

5982 Commits

Author SHA1 Message Date
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
Frost Ming c4341a7d5d Merge pull request #3442 from kenyon/patch-2
core: nonexistent virtualenv warning msg: add missing space
2019-01-14 12:40:35 +08:00
Kenyon Ralph 18fe121d50 core: nonexistent virtualenv warning msg: add missing space 2019-01-13 20:11:46 -08:00
Frost Ming 5695322152 Merge pull request #3431 from pypa/bugfix/3427
Populate source when getting lockfile
2019-01-11 08:52:00 +08:00
Frost Ming 9cb66a8c64 Merge branch 'master' into bugfix/3427 2019-01-11 08:14:34 +08:00
kennethreitz 32981ac83b Create PEEP-003.md 2019-01-10 13:10:32 -05:00
Frost Ming ba9f5057b8 Populate source when getting lockfile 2019-01-09 10:07:26 +08:00
Frost Ming 9c18016f7b Merge pull request #3424 from pypa/remove-typing-dep
Remove typing dep
2019-01-05 22:24:26 +08:00
Frost Ming 661992d6d0 Merge branch 'master' into remove-typing-dep 2019-01-04 21:59:31 +08:00
Frost Ming 1ca89369c1 Merge pull request #3416 from jdufresne/py26
Remove Python 2.6 dependencies from setup.py
2019-01-04 21:48:51 +08:00
Frost Ming 37c79915df Remove typing dep 2019-01-04 21:44:11 +08:00
Jon Dufresne 976c04cb2a Remove Python 2.6 dependencies from setup.py
Support for Python 2.6 was removed in (or before)
47604c644b. Therefore, no need to include
these dependencies.
2018-12-29 21:06:21 -05:00
Frost Ming 3b3ebb4752 Merge pull request #3392 from RohanTalip/patch-2
Replaced double hyphens with a single hyphen
2018-12-18 09:29:21 +08:00
Rohan Talip c794e7e566 Replaced double hyphens with a single hyphen 2018-12-17 15:22:36 -08:00
jxltom 16db36e60f Test for pipenv behavior in activated virtualenv 2018-12-16 20:36:32 +08:00
jxltom ce143942eb Merge remote-tracking branch 'upstream/master' into activate-custom-virtualenv 2018-12-16 18:29:06 +08:00
jxltom 94e7c971af Merge pull request #3350 from thedrow/patch-2
Mention Linuxbrew in installation docs
2018-12-16 11:21:17 +08:00