Commit Graph

6452 Commits

Author SHA1 Message Date
frostming 5090a4225f Try to fix excluding settings 2019-07-15 09:38:07 +08:00
frostming dbb24d24eb Renumber the PEEP 2019-07-15 09:30:32 +08:00
Frost Ming 28a902395b Merge pull request #3844 from immerrr/re-enable-help-for-run-command
run: re-enable --help option
2019-07-15 09:20:29 +08:00
Dan Ryan d883f554a2 Merge branch 'master' into re-enable-help-for-run-command 2019-07-14 19:29:49 -04:00
Dan Ryan 82d0321fcc Ensure we always respect --site-packages (#3836)
Ensure we always respect --site-packages
2019-07-14 19:28:57 -04:00
Dan Ryan 83ab1cf3f4 Merge branch 'master' into bugfix/3718 2019-07-14 19:28:11 -04:00
Dan Ryan 0028b2dcee Update manual (#3246)
Update manual

Co-authored-by: Brianna Laugher <brianna@laugher.id.au>
2019-07-14 19:27:50 -04:00
Frost Ming 5e69bca451 Use autogenerated contributing.md 2019-07-14 16:45:19 +08:00
Frost Ming 9ee69d4a69 add back submodule 2019-07-14 16:17:33 +08:00
Frost Ming 2f619df5f9 Merge branch master 2019-07-14 15:36:41 +08:00
immerrr 50e4a0985f run: re-enable --help option
To run a command called "--help" you need to use the usual "--" arguments
separator:

pipenv run -- --help
2019-07-14 09:28:13 +02:00
Frost Ming 3afcc38504 Merge branch master 2019-07-14 15:24:12 +08:00
Dan Ryan 5ffa946160 Don't pass clear along to ensure_project during lock
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-14 01:28:49 -04:00
Dan Ryan 9d913476d9 Remove click type and add validation for site packages
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-13 13:40:55 -04:00
Dan Ryan 3cb2b571ad Merge remote-tracking branch 'origin/master' into bugfix/3718 2019-07-13 13:32:13 -04:00
Dan Ryan 4f33dc8928 Fix modifications to site packages argument
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-13 13:31:55 -04:00
Frost Ming 47b310d33e Merge pull request #3843 from pypa/resolve-symlink
Make sure symlinks are resolved.
2019-07-13 23:28:36 +08:00
Frost Ming 472612bfac Merge branch 'master' into resolve-symlink 2019-07-13 21:15:09 +08:00
Frost Ming 9c51b34a6f Merge pull request #3670 from jayvdb/test_include_editable_packages-not-requests
Avoid using requests unnecessarily in tests
2019-07-13 21:12:45 +08:00
Frost Ming c62a2e1574 Merge branch 'master' into test_include_editable_packages-not-requests 2019-07-13 20:20:18 +08:00
Frost Ming 67452b1f54 Make sure symlinks are resolved. 2019-07-13 12:15:17 +08:00
Frost Ming 237034018a Merge pull request #3839 from docdeveloper/patch-3
Fixes formatting
2019-07-12 09:23:04 +08:00
Doc Developer d503c496b7 Fixes formatting 2019-07-11 21:28:20 +02:00
John Vandenberg 2f5150ab29 test_install_without_dev: Replace pytz with tablib
pytz exists in the build environment, which will typically
be added to the PYTHONPATH when running the tests in rpmbuild.
The alternative is to create a virtualenv containing only the
pipenv dependencies, which is cumbersome to do when devendoring.
As the pytz library here is not critical to the logic of the
test method, replace it with tablib to reduce unintentionally
errors when packaging.

Continuation of https://github.com/pypa/pipenv/issues/3644
2019-07-11 13:33:02 +07:00
John Vandenberg 9869fcfffa test_update_locks: Replace requests with jdcal
Using requests in tests fails when pipenv is de-vendored.
In this test, using any package with multiple versions
in the local pypi data will suffice to show the functionality
does work, but not with requests, or any devendored package.

Continuation of https://github.com/pypa/pipenv/issues/3644
2019-07-11 13:33:02 +07:00
John Vandenberg e4d992b84c test_uninstall.py: Replace requests with Django 2019-07-11 13:33:01 +07:00
John Vandenberg 050d9b4c78 graph tests: Replace requests with tablib 0.13.0
These tests fail when using requests in a de-vendored installation
because requests is part of the pre-installed image.

tablib has fewer constraints on its dependencies, however its
dependency tree is complicated enough to approximately test
the same functionality, and allows the graph tests to pass
even when de-vendored.
2019-07-11 13:33:01 +07:00
John Vandenberg 8d12d8f7f9 Update tests/pypi to include tablib 0.13.0 2019-07-11 13:33:00 +07:00
John Vandenberg c79b291cbb Avoid using requests unnecessarily in tests
This replaces requests with tablib in test_include_editable_packages
as in a de-vendored environment the locking fails with requests.

Continuation of https://github.com/pypa/pipenv/issues/3644
2019-07-11 13:33:00 +07:00
Dan Ryan 63375e4920 Merge remote-tracking branch 'origin/master' into bugfix/3718 2019-07-11 01:38:26 -04:00
Dan Ryan 829e41976f Ensure we always respect --site-packages
- Sometimes we fail to respect `--site-packages` when it is passed with
`--install`
- This resolves that and ensures we always pass it to `ensure_project`
- Fixes #3718

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-11 01:37:36 -04:00
Frost Ming 065ebdbe8e Merge pull request #3758 from docdeveloper/patch-2
Adds info on env variables
2019-07-10 10:44:08 +08:00
Dan Ryan 2b2cfa1ab9 Merge branch 'master' into patch-2 2019-07-09 00:55:25 -04:00
Dan Ryan d618cad3d1 Fix editable installs, switch to devpi cache and improve logging (#3810)
Fix editable installs, switch to devpi cache and improve logging
2019-07-08 10:37:43 -04:00
Doc Developer fca99b4323 Merge branch 'master' into patch-2 2019-07-08 11:45:22 +02:00
Dan Ryan a2697f8c4f Merge remote-tracking branch 'origin/master' into bugfix/3809 2019-07-07 21:24:18 -04:00
Dan Ryan 13a34d20d9 Fix pythonfinder performance
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-06 17:20:55 -04:00
Dan Ryan b105ea534b Fix test for formatting paths
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-06 14:47:39 -04:00
Dan Ryan 85d0152361 Fix windows specific sort order quirks
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-06 03:55:07 -04:00
Dan Ryan f1bfee0375 Allow better name metadata
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-06 03:40:00 -04:00
Dan Ryan e2b38d2741 Update pythonfinder
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-06 03:26:51 -04:00
Dan Ryan e559b00a90 Fix xmlrpc implementation
Signed-off-by: Dan Ryan <dan@danryan.co>

fix xmlrpc implementation

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-06 02:12:55 -04:00
Dan Ryan 1630da82c0 Pin pytest<5
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-06 01:36:43 -04:00
Dan Ryan 8abaa06c23 Remove extraneous exception added to conftest.py
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-06 01:02:16 -04:00
Dan Ryan 3cf15898c7 Remove devpi dependency
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-06 00:58:46 -04:00
Dan Ryan e57898ac58 Fix windows test failure and leaky session from xmlrpc call
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-05 23:51:10 -04:00
Dan Ryan 9c3ee2a72b Get rid of devpi
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-05 02:55:47 -04:00
Dan Ryan 5ac676711a Fix editable VCS dependency resolution
- Fixes #3809

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-05 02:06:43 -04:00
Frost Ming 4c00352105 Merge pull request #3820 from pypa/bugfix/3818
Find the python interpreter for pipenv check --system.
2019-06-28 15:53:29 +08:00
frostming 2b6eb7c437 add news 2019-06-28 13:19:10 +08:00