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
James Stidard
451ddaedf3
second-guessed myself
2019-02-12 12:30:39 +00:00
James Stidard
1ead1a8601
shiney new code option comment
2019-02-12 12:23:25 +00:00
David Beitey
04a10c87dc
Ensure docs show nav on small-screen devices
...
Fixes #3527
2019-02-12 12:50:15 +10:00
David Beitey
4514c0cab3
Docs: clarify quoting in version specs note
...
Previously it was confusing as to what `" "` meant exactly -- I read it
as a whitespace character was needed somewhere when it's referring to
the double quote characters.
2019-02-11 17:14:49 +10: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
Frank Anderson
bdf1470317
Create 3499.docs.rst
2019-02-08 14:45:59 -08:00
Frank Anderson
d0e35135a0
Update index.rst
...
Fix for #3499
2019-02-08 14:35:00 -08: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
Artemiy
786cc6ef2f
add test for counting pre option and fix it's duplicate
2019-01-24 21:29:35 +03: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