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

2461 commits

Author SHA1 Message Date
Chris Hunt
b8fb97a815 Remove unused RequirementSet.require_hashes 2019-10-13 13:19:49 -04:00
Chris Hunt
bbc29f0c6c Pass require_hashes directly to Resolver
This removes some of the dependence of the Resolver on our specific
RequirementSet implementation.
2019-10-13 13:19:49 -04:00
Pradyun Gedam
1c3f31ce14
Merge pull request #7072 from TonyBeswick/master
Fix pip freeze not showing correct entry for mercurial packages that use subdirectories.
2019-10-12 18:23:20 +05:30
Christopher Hunt
f3f396fd79
Merge pull request #7102 from mayeut/manylinux2014
Add manylinux2014 support
2019-10-10 18:07:51 -04:00
Pachwenko
f84d9c810b
update global install option test 2019-10-10 07:56:38 -05:00
Pradyun Gedam
af3062af41 Remove the deprecated pip config --venv option (#7163) 2019-10-09 23:28:00 +02:00
mayeut
62d84a5aae
Add manylinux2014 support
Per PEP 599:
https://www.python.org/dev/peps/pep-0599/
2019-10-09 22:09:28 +02:00
TonyBeswick
bcbaee7aa5
Merge branch 'master' into master 2019-10-08 18:39:08 +13:00
tbeswick
c6906f1a38 - Abstracted out common get_subdirectory() code in Git and Mercurial, adding get_repo_root_dir() for the vcs specific code.
- Reverted behaviour of `Git.controls_location()` and `Mercurial.controls_location()` to call the vcs command if the base `VersionControl.controls_location()` doesn't detect the vcs directory.
- Added `log_failed_cmd` argument `VcsSupport.run_command()` to allow vcs commands to be tried without logging errors if they aren't present.
- Corrected indentation.
- Removed `expect_stderr=True` in `test_freeze_mercurial_clone_srcdir` as its not required.
2019-10-08 18:15:22 +13:00
Pradyun Gedam
37bc629551
Rename tests.lib.path.Path.{abspath -> resolve()} 2019-10-07 18:01:06 +05:30
Pradyun Gedam
732da2dae0
Remove tests.lib.path.Path.__sub__ (#7151) 2019-10-07 17:52:19 +05:30
Pradyun Gedam
3ff9061c4e
Fix a copy-paste error 2019-10-07 15:12:33 +05:30
Pradyun Gedam
7d72b3e034
Update uses of path subtraction to os.path.relpath 2019-10-07 12:38:22 +05:30
Pradyun Gedam
959969840b
Remove subtraction from tests.lib.path.Path 2019-10-07 12:25:38 +05:30
Chris Hunt
f805f328d4 Align interface of tests.lib.path.Path.mkdir with pathlib.Path.mkdir. 2019-10-06 21:55:10 -04:00
Christopher Hunt
5a997b7509
Merge pull request #7065 from chrahunt/pr-5955
Explicit support for hg+file
2019-10-06 09:39:42 -04:00
Pradyun Gedam
e6f69fadd8
Fix crash when sys.stdin is None (#7118) 2019-10-02 13:47:46 +05:30
Emil Burzo
5089b84c56 rewrite tests using pytest.mark.parametrize 2019-10-02 08:51:32 +03:00
Emil Burzo
004103c0f5 fix code quality issues 2019-10-02 08:33:41 +03:00
Emil Burzo
6f7c304167 add tests 2019-10-02 08:25:56 +03:00
Pradyun Gedam
64262aacee
Use the repr of version strings in wheels. 2019-10-01 11:45:07 +05:30
Pradyun Gedam
b20fd061c4
Allow errors in YAML test outputs 2019-10-01 11:24:21 +05:30
Pradyun Gedam
617c94e57b
Show output in YAML test failures 2019-10-01 11:21:21 +05:30
Christopher Hunt
b0ea6059fe
Merge pull request #7112 from JohnPaton/rename-outdated-check
Move _internal.utils.outdated to _internal.self_outdated_check
2019-09-30 06:25:49 -04:00
John Paton
ea4ac30674 rename test file 2019-09-30 11:35:57 +02:00
John Paton
6b57c1f5df Move outdated outside utils and rename (pypa/pip#6532) 2019-09-30 09:56:44 +02:00
Pradyun Gedam
e9d79db6c4
Move tests for utils.subprocess to dedicated file 2019-09-30 11:42:08 +05:30
Pradyun Gedam
2bb8ee6ae3
Sort imports for the greater good 2019-09-28 18:16:34 +05:30
Pradyun Gedam
3a77de3c7d
Split tests for different functionality 2019-09-28 18:16:34 +05:30
Pradyun Gedam
e670f90219
Generate temporary file in a fixture 2019-09-28 18:16:34 +05:30
Pradyun Gedam
f3c1519160
Improve name and docstring 2019-09-28 18:15:13 +05:30
Pradyun Gedam
03392873ec
Refactor metadata directory handling (#7087) 2019-09-28 17:34:43 +05:30
Pradyun Gedam
ad33ecef74
Move PipSession to network.session (#7089) 2019-09-28 11:55:15 +05:30
Albert Tugushev
e41c5f868c Address review comments
Fix typos.

Co-Authored-By: Christopher Hunt <chrahunt@gmail.com>
2019-09-28 01:07:48 +03:00
Albert Tugushev
1a3b84060d Add functional tests for 'yanked' files 2019-09-28 01:07:48 +03:00
Chris Hunt
3328e811d1 Normalize style 2019-09-27 01:03:47 -04:00
Chris Hunt
cf7ebdbbc2 Move PipSession to network.session 2019-09-27 01:02:52 -04:00
Pradyun Gedam
b01f301c75
Update get_dist to directly use metadata_directory 2019-09-27 10:32:25 +05:30
Chris Hunt
6ce7217a53 Move PipSession helper functions to network.session
This new module is a catch-all for PipSession helpers.
2019-09-27 00:55:06 -04:00
Christopher Hunt
ea923d96a9
Merge pull request #6313 from wilsonfv/master
Fix #3907 tar file placed outside of target location
2019-09-26 19:30:53 -04:00
Christopher Hunt
3b7d2eee5e
Merge pull request #7061 from chrahunt/refactor/move-code-out-of-init
Move code out of pip._internal.__init__
2019-09-26 13:36:35 -04:00
Pradyun Gedam
b926290a50
Merge pull request #7078 from pradyunsg/revamp-linting-processes
Revamp linting processes
2019-09-25 20:57:36 +05:30
Pradyun Gedam
b447f438df
Move path_to_url() to utils/urls.py (#7075) 2019-09-25 10:00:33 +05:30
Chris Hunt
8c94b70354 Address review comments 2019-09-24 22:43:06 -04:00
Wilson Mo
08a0eeb90c Fix #3907 tar file placed outside of target location 2019-09-24 22:25:18 -04:00
Chris Hunt
3e98ee8464 Use from ... import ... style 2019-09-24 21:36:16 -04:00
Christopher Hunt
9611394a5b
Merge pull request #7062 from chrahunt/refactor/network-modules
Move SafeFileCache to network.cache
2019-09-24 21:03:18 -04:00
Pradyun Gedam
ea68afab93
Enable isort in pre-commit 2019-09-24 18:03:22 +05:30
Pradyun Gedam
6f8c29aa77
Enable end-of-file-fixer 2019-09-24 18:03:22 +05:30
Pradyun Gedam
40a0f189b9
Enable check-builtin-literals 2019-09-24 18:03:22 +05:30