1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/pip
Erik Rose 910b82c59d --require-hashes no longer implies --no-deps.
For dependencies that are properly pinned and hashed (not really dependencies at all, if you like, since they're explicit, root-level requirements), we install them as normal. For ones that are not pinned and hashes, we raise the errors typical of any unhashed requirement in --require-hashes mode.

Since the stanza under "if not ignore_dependencies" doesn't actually add anything if it's already in the RequirementSet, not much has to be done in the way of code: the unhashed deps don't have any hashes, so we complain about them as per usual.

Also...
* Revise wording of HashUnpinned errors. They can be raised even if no hash is specified, so the previous wording was misleading.
* Make wording of HashMissing less awkward.
2015-09-25 19:07:20 -04:00
..
_vendor Update setuptools version 2015-08-20 16:34:38 -04:00
commands Switch from --sha256 etc. to a single option: --hash. 2015-09-24 22:16:00 -04:00
compat Merge pull request #2743 from Carreau/importlib 2015-06-23 19:13:31 -04:00
models Use __all__ instead of # noqa 2014-12-17 22:49:10 -05:00
operations Replace wheel cache cache_dir with an object. 2015-04-23 10:03:50 +12:00
req --require-hashes no longer implies --no-deps. 2015-09-25 19:07:20 -04:00
utils Add checks against requirements-file-dwelling hashes for most kinds of packages. Close #1175. 2015-09-24 22:16:00 -04:00
vcs Hide setup.py output unless using -v 2015-05-20 21:27:12 -04:00
__init__.py Deprecate and Noop the PEP 438 functionality due to PEP 470 2015-09-02 23:47:05 -04:00
__main__.py Handle updates to flake8 2015-02-11 10:23:57 -05:00
basecommand.py Add pip download command and deprecate pip install --download. 2015-09-13 17:41:00 -04:00
baseparser.py Issue #2867: Accept --no/only-binary via pip.conf 2015-06-10 10:25:15 +12:00
cmdoptions.py Remove the -H spelling for --hashes. 2015-09-25 15:32:33 -04:00
download.py Pass PEP 8 checks. 2015-09-24 22:16:00 -04:00
exceptions.py --require-hashes no longer implies --no-deps. 2015-09-25 19:07:20 -04:00
index.py Adopt comments and ordering from @pykler's implementation. 2015-09-09 20:23:39 -07:00
locations.py Remove unused __get_username function 2015-09-11 17:45:57 +02:00
pep425tags.py get only first part of SOABI for ABI tag 2015-06-18 11:20:52 -07:00
status_codes.py Switch to using the stdlib logger instead of pip.log 2014-09-10 09:36:09 -04:00
wheel.py Raise an exception on invalid script entry points 2015-09-09 23:09:01 +02:00