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

2485 commits

Author SHA1 Message Date
Pradyun Gedam 611fc6069b
Update references to collector.py 2019-10-19 22:24:53 +05:30
Pradyun Gedam 2db6f428bf
Update imports to {index -> index.package_finder} 2019-10-19 22:24:01 +05:30
Pradyun Gedam 66e9b44f15
Import req_file more directly 2019-10-19 22:22:11 +05:30
Pradyun Gedam c18e912b2a
Import InstallationCandidate more directly 2019-10-19 22:22:11 +05:30
Pradyun Gedam bcad1b1cb5
Add new option: pip wheel --save-wheel-names (#6377) 2019-10-19 11:03:15 +05:30
Pradyun Gedam 053346f3b0
Merge pull request #7187 from chrahunt/refactor/move-get-file-content
Remove pip._internal.download
2019-10-18 06:47:07 +05:30
Christopher Hunt 24c9daaaa9
Merge pull request #6857 from abs51295/fix-pip-freeze
Canonicalize FrozenRequirement name for correct comparison
2019-10-17 20:08:23 -04:00
Pradyun Gedam 2e9f89ef8f
Fix PEP 517 builds for packages without setup.py (#6606) 2019-10-17 22:18:03 +05:30
Christopher Hunt 7c755a571d
Merge pull request #7216 from NeilBotelho/debug-ca-info
Display CA information in pip debug
2019-10-17 04:29:41 -04:00
Neil Botelho 144611ca1e Show cert config value first
Move the cert config show_value statement to before the
REQUESTS_CA_BUNDLE statement. Removed lines used for testing.
2019-10-17 12:31:49 +05:30
Chris Hunt 5c5c6eca83 Rename test file to align with moved functions 2019-10-16 21:29:06 -04:00
Chris Hunt 6eb83c6d3a Move remaining functions in download to operations.prepare
The only user of this module is operations.prepare.RequirementPreparer.
Moving the functionality to the single using module means that
refactoring will be easier (since all the mess is in one place). This
also removes a mis-named module from the top-level of the repository.
2019-10-16 21:29:06 -04:00
Pradyun Gedam 33d7d65da1
Update test to verify that full URL is not printed 2019-10-16 12:26:10 +05:30
Christopher Hunt bc7948e200
Merge pull request #7193 from vharsh/skip_svn_test
Skip running svn tests when svn isn't installed
2019-10-15 19:14:29 -04:00
Harsh Vardhan 0e6ac42c93 Add need_svn decorator for tests which require svn
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
2019-10-15 17:22:16 +05:30
Neil Botelho e2a6fea7fa Add CA cert info to debug, and corresponding tests
Added CA cert information to debug.py
Made the corresponding changes to tests/functional/test_debug.py
2019-10-15 14:54:34 +05:30
Xavier Fernandez 8df9329396 Add release target 2019-10-14 14:23:00 +02:00
Harsh Vardhan 4f1b88375a Skip running svn tests when svn isn't installed
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
2019-10-14 14:32:32 +05:30
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
Sebastian Jordan 28f3dcc641 Add missing newline characters in pep517_setup_and_pyproject test data 2019-10-12 12:19:52 +02:00
Sebastian Jordan e3089c5bff Merge remote-tracking branch 'origin/master' into issue-6222 2019-10-11 19:23:45 +02:00
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
Sebastian Jordan 6a2d2dbb81 Merge branch 'master' of https://github.com/pypa/pip into issue-6222 2019-10-03 08:36:19 +02: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
Pradyun Gedam ff041cc5b0
Merge branch 'master' into master 2019-09-30 21:33:34 +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