Commit Graph

6168 Commits

Author SHA1 Message Date
Nick Coghlan 2d9356141f
Replace outdated PEP 426 references
PEP 426 was withdrawn, so point to the relevant
accepted PEPs where appropriate.
2018-05-31 21:21:02 +10:00
Pradyun Gedam a86e149593
Make it black. 2018-05-31 11:44:15 +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
Benoit Pierre e611c85a73 minor cleanup (#5426) 2018-05-30 23:01:49 +05:30
Philip Molloy 8d3f5e7b76 Improve dependency links log message (#4936) 2018-05-30 23:01:14 +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 e671005a52
Merge pull request #5312 from pradyunsg/fix/windows-pip-blocker-message
Move Windows protection check to specific commands
2018-05-30 18:52:22 +05:30
Pradyun Gedam 1f56ddd624
Update the setup.py file
- Remove outdated testing dependencies
- Update mailing list URL
- Group similar arguments together
- Use sys.version_info instead of sys.version for executable names
- Update keywords to mention wheel as well
2018-05-30 16:36:20 +05:30
Pradyun Gedam 2a061c2d5e
Restrict the Windows name check to only "pip[major[.minor]].exe" names 2018-05-30 16:01:37 +05:30
Pradyun Gedam 299d5be89d
📰 2018-05-30 15:57:48 +05:30
Pradyun Gedam 8cfed25602
Use python -m for pip modifying test 2018-05-30 15:57:48 +05:30
Pradyun Gedam 369061b535
Move Windows protection check to specific commands 2018-05-30 15:57:06 +05:30
Pradyun Gedam b8eb704079
Merge pull request #5451 from pradyunsg/misc/repurpose-pip-models
Repurpose the pip._internal.models namespace
2018-05-30 03:33:00 +05:30
Pradyun Gedam 88e17b4aed
Update the import for PyPI Index model 2018-05-30 01:44:51 +05:30
Pradyun Gedam c19f991893
Adopt Build Stages 2018-05-30 00:44:34 +05:30
Pradyun Gedam 1b07ea3725
Rework Travis CI configuration
- Use "group" terminology
- Remove tox factors
- Infer TOXENV from Travis environment (removes need to specify it)
2018-05-30 00:44:21 +05:30
Pradyun Gedam e630e0c903
Travis: Move non-installation commands to a separate file 2018-05-27 18:12:41 +05:30
Pradyun Gedam 187062ad62
Merge pull request #5422 from pradyunsg/dev-ops/issue-templates
Ask for use-cases in Feature Request Issues
2018-05-27 16:59:04 +05:30
Pradyun Gedam 715c6633cd
Reword the feature request template comments 2018-05-27 15:15:27 +05:30
Hugo 61b011293b Run functional tests for install in separate jobs (#5436)
Speeds up the end-to-end running time for Travis tests.

* Adds a new jobs to test_install* separately (using -k "[not] test_install")
* More generic cache ignore
* Move slower Python 3.5 tests before 3.4
* Factor tox envs
2018-05-26 16:46:12 +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
Pradyun Gedam 6fdcf23931
Improve handling of PEP 518 build requirements
Merge pull request #5286 from benoit-pierre/improve_pep518_build_requirements_handling
2018-05-19 15:33:41 +05:30
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 92e6e19e7a minor cleanup 2018-05-18 23:45:55 +02:00
Benoit Pierre 77f6ac676a forward verbose flag to build dependencies installs 2018-05-18 23:45:55 +02:00
Benoit Pierre 1ac5f09911 tweak output when installing PEP 518 build dependencies
Suppress warnings about out-of-PATH script installs.
2018-05-18 23:45:55 +02:00
Benoit Pierre 7b4790d0ca cleanup PEP 518 implementation
- remove unused `BuildEnvironment` parameter: `no_clean`
- move helper to install build requirement to the `BuildEnvironment` class
- simplify a little the 2 different code paths (with and without build isolation)
2018-05-18 23:45:55 +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
Pradyun Gedam 21b97e49ab
Merge pull request #5419 from tomfbiz/3905_Pip_version_check_cache_dir
Keep only one selfcheck.json file
2018-05-18 15:29:14 +05:30
Pradyun Gedam 589b81c415
Mention "real world" 2018-05-18 09:29:24 +05:30
Tom Freudenheim daae935450 Merge branch 'master' into 3905_Pip_version_check_cache_dir 2018-05-17 21:59:25 -04:00
Donald Stufft 6020855208
Merge pull request #5423 from dstufft/drop-3.3
Drop support for Python 3.3
2018-05-17 14:24:57 -04:00
Tom Freudenheim 56418c0451 removed py 3.3 (copied from PR #5423) 2018-05-17 13:42:31 -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
Pradyun Gedam 2c019f986b
Ask for use-cases in Feature Request Issues 2018-05-17 14:48:37 +05:30
Tom Freudenheim cfa65e68a4 fix lint errors 2018-05-16 22:03:33 -04:00
Tom Freudenheim 724989baa7 add news 2018-05-16 18:15:22 -04:00
Tom Freudenheim 631c080cc8 use options to get cache path 2018-05-16 17:55:34 -04:00
Tom Freudenheim cd7c25dece removed VirtualenvSelfCheckState per stufft 2018-05-16 15:44:24 -04:00