Pradyun Gedam
be13cf95d2
Merge pull request #7258 from takluyver/use-user-site-int
...
Allow for use_user_site being set to an integer
2019-10-27 19:15:04 +05:30
Thomas Kluyver
f92efc022b
Test that setting user in the config file works
2019-10-27 10:09:15 +00:00
Christopher Hunt
be01170ba5
Merge pull request #7245 from chrahunt/refactor/simplify-req-file-parsing-2
...
Simplify requirement file parsing
2019-10-25 19:51:04 +08:00
Pradyun Gedam
c729a84b48
Merge pull request #7002 from takluyver/install-user-fallback
...
Default to --user install in certain conditions
2019-10-22 08:44:06 +05:30
Thomas Kluyver
c4d92bbb4e
Use pytest parametrize for decide_user_install tests
2019-10-21 08:52:44 +01:00
Thomas Kluyver
fbc0588c01
Add unit tests of decide_user_install()
2019-10-20 21:48:18 +01:00
Chris Hunt
a5d53eab0a
Simplify skip_requirements_regex option handling
...
Decouples `process_lines` from our CLI options.
2019-10-20 13:33:15 -04:00
Pradyun Gedam
8dbf8461fc
Clean up wheel.move_wheel_files ( #7176 )
2019-10-20 13:26:48 +05:30
Pradyun Gedam
9ab9040d75
Remove RequirementSet.require_hashes ( #7068 )
2019-10-20 13:23:40 +05:30
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
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
Sebastian Jordan
28f3dcc641
Add missing newline characters in pep517_setup_and_pyproject test data
2019-10-12 12:19:52 +02:00
Chris Hunt
913f856739
Cleanup arguments, add docstring
2019-10-11 22:24:50 -04:00
Chris Hunt
39572ddd12
Don't pass InstallRequirement to install_unpacked_wheel
...
We are only using this value for logging. Passing a string reduces
coupling between InstallRequirement and this function.
2019-10-11 21:58:58 -04:00
Chris Hunt
4682f3cb9b
Pass scheme to install_unpacked_wheel
...
This reduces the number of required arguments and helps establish a
convention for install_* functions, which should take a scheme instead
of the individual components.
2019-10-11 21:49:39 -04:00
Chris Hunt
578de7d863
Rename wheel install function
2019-10-11 21:41:47 -04: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
Thomas Kluyver
4a4f1ca1cf
Relax failing tests due to changing site-packages mtime
2019-10-09 13:54:46 +01: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