Commit Graph

6028 Commits

Author SHA1 Message Date
Dan Ryan de4d659eac requirementslib bugfix
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-03 00:22:40 -05:00
Dan Ryan e238c840ed Only resolve requirements with markers we can evaluate
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-03 00:05:14 -05:00
Dan Ryan 57b266f256 Update requirementslib to include extras in parser
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-02 17:13:20 -05:00
Dan Ryan be3c7714ee Cut in new cursor implementation
- Fix some errors in exception handler
- Update yaspin patch
- Fix spinner

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-02 14:20:30 -05:00
Dan Ryan 199a14ac0a Incorporate fixes from feature/keep-outdated-peep
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-01 19:22:00 -05:00
Dan Ryan 4848a1e507 Update vistir and requirementslib
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-01 18:54:13 -05:00
frostming 3f053a355f Fix command dispatching 2019-02-27 12:21:23 +08:00
Dan Ryan 32876ecc90 Update requirementslib
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-26 17:36:02 -05:00
Dan Ryan bc3d50b8be Update vendored vistir
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-26 12:03:26 -05:00
Dan Ryan 05d3b5af26 Update license download script
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-24 22:34:26 -05:00
Dan Ryan b0ba9a8766 Update syntax for context manager virtualenv test class
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-23 14:23:18 -05:00
Dan Ryan 090619a6a1 Fix virtualenv tempdir lifespan
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-23 13:11:32 -05:00
Dan Ryan 33e456d987 Merge branch 'bugfix/3148' of github.com:pypa/pipenv into bugfix/3148
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-22 21:23:24 -05:00
Dan Ryan 018e6fe29f Fix pipenv dist discovery
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-22 21:07:42 -05:00
Dan Ryan 565850d4fd Fix broken imports
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-22 17:29:36 -05:00
Dan Ryan 3f3e61ecf1 Fix path reformatting for posix python path
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-22 12:12:45 -05:00
Dan Ryan 7f7550764b Clean up path checks in environment
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-22 02:26:04 -05:00
Dan Ryan 3bc48f034f Fix venv with leading dash test on windows and clean up tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-21 22:18:00 -05:00
Dan Ryan cd2cbd4e1a Avoid using which in cross platform tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-20 18:20:51 -05:00
Dan Ryan 16a249f64f Fix installed package discovery on windows
- Fix prefix formatting
- Add posix formatting function

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-20 17:52:04 -05:00
Dan Ryan 80417046fd Merge branch 'bugfix/3148' of github.com:pypa/pipenv into bugfix/3148 2019-02-20 17:02:04 -05:00
Dan Ryan a47a26b87a Fix failing tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-20 11:51:15 -05:00
Dan Ryan 9340ddb962 Update tests to rectify issues
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-20 02:38:02 -05:00
Dan Ryan bfdb9aed87 Fix installed package discovery
- Exclude python when searching virtualenvs created using nested
  virtualenv interpreters (via `lib-dynload` library directory)

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-19 20:29:26 -05:00
Dan Ryan 5ac228e68f Fix test errors and local install for azure
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-19 09:34:48 -05:00
Dan Ryan a5224303c0 Update test runner scripts to handle both python versions
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-19 00:56:53 -05:00
Dan Ryan c54aa540db Fix uninstall and error formatting
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-18 22:19:46 -05:00
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