1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

1735 commits

Author SHA1 Message Date
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
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
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
Tom Freudenheim
cfa65e68a4 fix lint errors 2018-05-16 22:03:33 -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
Daniel Shaulov
d67d98dd91 Add a --prefer-binary flag. (#5370)
The flag makes pip prefer an older but valid binary distributions over a newer source distributions.

Fixes #3785.
2018-05-11 11:17:32 +05:30
Jeremy Zafran
7655893601 remove usernames and passwords for index URLs using basic auth from "Looking in indexes" log messages 2018-04-27 00:41:54 -04:00
Jeremy Zafran
5bc94f3348 Move remove_auth_from_url and test from Subversion class to pip._internal.utils.misc 2018-04-27 00:41:54 -04:00
Andrés Delfino
7b1f2a06d2 Add test for PR #5293 (#5325)
* Test that trailing os.sep are ignored while searching PATH
* Simplify paths list creation
2018-04-23 21:21:43 +05:30
Jon Dufresne
c7402d9e50 Update a pypi.python.org URLs to pypi.org 2018-04-19 06:35:37 -07:00
Benoit Pierre
02b678f557 fix PEP 518 support when pip is installed in the user site
Do not use the build environment isolation during the build dependencies installation.
2018-04-16 22:58:44 +02:00
Donald Stufft
eaa2d0c846
Merge pull request #5215 from dstufft/warehouse
Switch pip to use Warehouse by default
2018-04-16 16:55:17 -04:00
Donald Stufft
b2c5c678af Skip test due to Warehouse behavior change 2018-04-16 15:59:47 -04:00
Donald Stufft
275ab7c3f5 Switch pip to use Warehouse by default 2018-04-16 15:54:11 -04:00
Benoit Pierre
cbca713046 tests: fix testsuite virtualenv support
Fix sites ordering: add user site first, before system site.
2018-04-15 10:47:56 +02:00
Benoit Pierre
d0aa80a47a tests: fix testsuite virtualenv isolation
Ensure `virtualenv.system_site_packages = True` (needed for testing
`--user`) does not result in adding the real site-packages' directory
to `sys.path`.
2018-04-15 10:47:47 +02:00
Paul Moore
2ae420e8e9 Style checker line length 2018-04-10 18:30:07 +01:00