Commit Graph

1750 Commits

Author SHA1 Message Date
Pradyun Gedam 9a076e73ab
Add test for rejecting pyproject.toml with empty build-system table 2018-07-21 16:23:59 +05:30
Pradyun Gedam c18f19a6a4
Don't warn if pyproject.toml does not contain build-system.requires 2018-07-21 12:58:27 +05:30
Pradyun Gedam 0bd01d9462
Merge pull request #5336 from benoit-pierre/src_build_reqs_in_pep518
PEP 518: enable source installs for build dependencies
2018-07-20 09:36:52 +05:30
Pradyun Gedam a84dde5982
Update test to check newer logic 2018-07-15 17:15:35 +05:30
Pradyun Gedam e6e0a14b68
Merge pull request #5523 from pradyunsg/deprecations
Remove items slated for removal in pip 11.0
2018-07-15 16:57:57 +05:30
Chris Jerdonek 1f6e1e51ec Make get_url_rev() accept an url argument. 2018-07-11 00:51:38 -07:00
Chris Jerdonek 26457497b8 Add failing test. 2018-07-10 23:51:17 -07:00
Pradyun Gedam 397e835f39
Merge pull request #5587 from cjerdonek/vcs-move-obtain-to-base-class
Implement VersionControl.obtain() in the base class.
2018-07-11 02:02:34 +05:30
Chris Jerdonek d096c6b340 Add test_git__get_url_rev_args() to test a non-SVN backend.
This addresses a review comment of @pradyunsg.
2018-07-09 23:08:27 -07:00
Chris Jerdonek 701d010c02 Implement VersionControl.obtain() in the base class. 2018-07-08 22:46:25 -07:00
Pradyun Gedam e3b06f9e51
Isolate when pyproject.toml does not have build-system.requires 2018-07-09 07:48:36 +05:30
Oliver Jeeves ca5cca3426
Fix error trying to generate scripts warning when PATH not set
fixes #5558
2018-07-07 02:59:55 +05:30
Pradyun Gedam 8a565aac75
Sort imports as per newer isort 2018-06-27 12:53:31 +05:30
Pradyun Gedam c92d13e9d3
Fix new lint errors from newer flake8 2018-06-27 12:53:31 +05:30
Benoit Pierre 06fb565f0c tests: drop `package4` test data
No need for a wheel of `simple` now that build dependencies support source installs.
2018-06-26 10:40:23 +02:00
Benoit Pierre 43b8ed4945 detect fork-bombs during build dependencies installs 2018-06-26 10:40:23 +02:00
Bastian Venthur 4dee7e9ad2 Remove also compiled pyo files for wheel packages. (#5173) 2018-06-21 23:00:20 +05:30
Kexuan Sun 14fe337bcf Improve autocompletion function on file name completion (#5125) 2018-06-21 22:59:31 +05:30
Pradyun Gedam 52782f0547
Remove the "legacy" format for 'pip list' 2018-06-21 21:19:17 +05:30
Pradyun Gedam e8a56683d3
Merge pull request #5512 from pradyunsg/feature/refuse-non-compliant-pyproject
Start warning on non compliant pyproject.toml files and rejecting obviously incorrect ones
2018-06-20 15:25:04 +05:30
Pradyun Gedam 4fedc45bbb
Merge pull request #5489 from jdufresne/https
Update doc and comment URLs to https where available
2018-06-20 12:49:35 +05:30
Pradyun Gedam 2b68c7983e
Only disable isolation when build-system.requires is skipped 2018-06-19 16:27:07 +05:30
Pradyun Gedam fdd5101128
Cleanup Tests 2018-06-19 16:27:07 +05:30
Pradyun Gedam a25cb53d02
Add tests to verify refusal of non PEP 518 compliant pyproject.toml 2018-06-19 16:27:07 +05:30
Adrien Morison c16ff34296 Clearer msg for already installed deps when updating (#5319) 2018-06-19 12:16:43 +05:30
Pradyun Gedam daa3163d08
Restrict install time dependency warnings to directly-dependant packages 2018-06-15 11:29:36 +05:30
Pradyun Gedam 0983d0da6c
Update failing tests for pytest changes 2018-06-14 16:37:10 +05:30
Jon Dufresne 9c4bd6d5eb Update doc and comment URLs to https where available 2018-06-13 09:00:42 -07:00
Pradyun Gedam 54722aa7ec
Remove unused imports 2018-06-13 13:17:30 +05:30
Łukasz Langa 39817bd302 Open pyproject.toml with UTF-8 encoding in all environments 2018-06-07 11:16:47 -07:00
Pradyun Gedam 030d48a25e
Merge pull request #5427 from benoit-pierre/fix_some_tests
Fix some tests
2018-06-06 13:08:53 +05:30
Benoit Pierre 1335eba819 tests: tweak `test_pip_wheel_with_user_set_in_config` (#5428)
To reduce failures when connection to PyPI is [flaky](https://ci.appveyor.com/project/benoit-pierre/pip/build/1.0.293/job/qohehq43vuwiek1p#L164).
2018-05-31 11:42:10 +05:30
DrFeathers bc0d0d3dec Add @pytest.mark.network to a VCS unit test (#5035) 2018-05-30 23:03:13 +05:30
Pradyun Gedam b120d24e4d
Add @pytest.mark.network to a test that did not have it (#5459) 2018-05-30 22:49:43 +05:30
Pradyun Gedam 8cfed25602
Use python -m for pip modifying test 2018-05-30 15:57:48 +05:30
Pradyun Gedam 8619e3edea
Merge pull request #5368 from hroncok/pip-nowarn-upgrade
When pip was not installed by pip, don't show the upgrade warning
2018-05-22 11:27:16 +05:30
Pradyun Gedam 144b42d799
Remove username/password from log message
Merge pull request #5339 from jzafran/remove-password-from-stdout
2018-05-22 11:03:10 +05:30
Benoit Pierre f64713226e tests: fix `test_pip_wheel_fail_cause_of_previous_build_dir` 2018-05-19 12:51:27 +02:00
Benoit Pierre 72820a6100 tests: fix `test_cleanup_prevented_upon_build_dir_exception` 2018-05-19 12:51:27 +02:00
Miro Hrončok d0b77089a7 When pip was not installed by pip, don't show the upgrade warning
Fixes https://github.com/pypa/pip/issues/5346
2018-05-19 08:32:27 +02:00
Benoit Pierre ca4e2ad6ad improve handling of PEP 518 build requirements
Offload more work to the underlying pip command used to install the
build requirements, so there's no need to duplicate code to handle
environment markers/extras. This is done by setting the correct options
from the finder passed in argument to `_install_build_reqs`.
2018-05-18 23:45:55 +02:00
Benoit Pierre 04874e24fd tests: improve PEP 518 tests
- avoid hitting the index: use `common_wheels`/`script.pip_install_local`
- use `script.pip(..., use_module=True)` to simplify some tests
- improve `test_pep518_uses_build_env` parametrization
- simplify `test_pep518_with_user_pip`: we only need to check build
  requirements can be installed, so no need for testing with both
  `install` and `wheel` command
- fix `test_pip_wheel_with_pep518_build_reqs_no_isolation`: building
  pep518-3.0 without isolation should fail if the build requirements
  are not installed.
2018-05-18 23:45:55 +02:00
Benoit Pierre 3de9bdb7f2 tests: tweak `simplewheel` test distribution
- change module name to prevent conflicts with other distributions
- add a `__version__` field for version checks
2018-05-18 23:40:15 +02:00
Tom Freudenheim daae935450 Merge branch 'master' into 3905_Pip_version_check_cache_dir 2018-05-17 21:59:25 -04:00
Donald Stufft 90b3db476f Drop support for Python 3.3 2018-05-17 13:34:48 -04:00
Tom Freudenheim 60a2841f0b flake8 fix 2018-05-17 11:30:10 -04:00
Tom Freudenheim 32c3b56ebe fix lint issues 2018-05-17 11:03:21 -04:00
Tom Freudenheim 1056580303 fix test failure 2018-05-17 10:36:42 -04:00
Jeremy Zafran 96dd6de889 made test_remove_auth_from_url a parameterized test 2018-05-17 10:21:34 -04:00
Tom Freudenheim 16528ed5f1 Cleanup per PR comments 2018-05-17 09:39:26 -04:00