Commit Graph

6043 Commits

Author SHA1 Message Date
Dan Ryan f69aaf3824 Merge branch 'bugfix/3148' into feature/keep-outdated-peep
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-25 15:15:47 -05:00
Dan Ryan 6604712760 Create requirements inside spinner for better UX
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-25 15:09:00 -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 86ca58c137 Merge branch 'bugfix/3148' into feature/keep-outdated-peep
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-19 22:34:31 -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 fbdf9331e4 Fix test script
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-18 14:00:41 -05:00
Dan Ryan adaf4427fd Fix missing import of ConnectionError
- Update exception handler for uninstaller to convert set to str

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-18 13:50:04 -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 fae1dbab64 Update setup.py to keep pytest pinned below 4.0
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-18 12:58:44 -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 7798cbee89 Update lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-18 01:06:48 -05:00
Dan Ryan 9c0bac19fd add updated requirementslib
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-17 23:27:28 -05:00
Dan Ryan 1fcafb8363 Re-integrate changes from keep_outdated
- Lost numerous changes in the rebase, this brings them back
- Should work for both sets of fixes now

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-17 23:01:57 -05:00
Dan Ryan a33ad9df2d Update utils to work with patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-17 19:19:17 -05:00
Dan Ryan 698dfb8c9e Port over changes that were overwritten
- Bring in changes from bugfix/3148

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-17 19:11:36 -05:00
Dan Ryan 552d1274ea Merge with updates
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-17 13:39:04 -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