1. 07 3月, 2016 1 次提交
  2. 04 3月, 2016 2 次提交
  3. 17 2月, 2016 1 次提交
  4. 03 1月, 2016 1 次提交
  5. 05 11月, 2015 1 次提交
  6. 26 9月, 2015 1 次提交
  7. 25 9月, 2015 1 次提交
    • E
      Add checks against requirements-file-dwelling hashes for most kinds of packages. Close #1175. · 1e41f018
      Erik Rose 提交于
      * Add --require-hashes option. This is handy in deployment scripts to force application authors to hash their requirements. It is also a convenient way to get pip to show computed hashes for a virgin, unhashed requirements file. Eventually, additions to `pip freeze` should fill a superset of this use case.
        * In --require-hashes mode, at least one hash is required to match for each requirement.
        * Option-based requirements (--sha256=...) turn on --require-hashes mode implicitly.
        * Internet-derived URL-based hashes are "necessary but not sufficient": they do not satisfy --require-hashes mode when they match, but they are still used to guard against transmission errors.
        * Other URL-based requirements (#md5=...) are treated just like flag-based ones, except they don't turn on --require-hashes.
      * Complain informatively, with the most devastating errors first so you don't chase your tail all day only to run up against a brick wall at the end. This also means we don't complain that a hash is missing, only for the user to find, after fixing it, that we have no idea how to even compute a hash for that type of requirement.
        * Complain about unpinned requirements when hash-checking mode is on, lest they cause the user surprise later.
        * Complain about missing hashes.
        * Complain about requirement types we don't know how to hash (like VCS ones and local dirs).
      * Have InstallRequirement keep its original Link around (original_link) so we can differentiate between URL hashes from requirements files and ones downloaded from the (untrustworthy) internet.
      * Remove test_download_hashes, which is obsolete. Similar coverage is provided in test_utils.TestHashes and the various hash cases in test_req.py.
      1e41f018
  8. 21 3月, 2015 1 次提交
  9. 20 3月, 2015 1 次提交
  10. 19 3月, 2015 2 次提交
  11. 11 3月, 2015 1 次提交
  12. 05 2月, 2015 2 次提交
  13. 16 12月, 2014 1 次提交
  14. 16 10月, 2014 1 次提交
  15. 09 10月, 2014 1 次提交
  16. 10 9月, 2014 1 次提交
  17. 01 7月, 2014 1 次提交
  18. 27 3月, 2014 1 次提交
  19. 01 3月, 2014 1 次提交
  20. 25 2月, 2014 1 次提交
    • D
      Turn on everything in flake8 · 95035fc5
      Donald Stufft 提交于
      flake8 ignores some errors by default, these ignored by defaults
      change sometimes. This will make things stabler by selecting
      everything.
      95035fc5
  21. 29 1月, 2014 1 次提交
  22. 07 1月, 2014 1 次提交
  23. 27 8月, 2013 2 次提交
  24. 22 8月, 2013 2 次提交
    • D
      08247973
    • D
      Refactor tests.lib · 9894c8ba
      Donald Stufft 提交于
      * Move virtualenv creation out of TestPipEnvironment
      * Remove global state and force explicit use of TestPipEnvironment
        instances
      * Remove "backup" virtualenv copying and instead create new
        virtual environments each time.
      * Remove the monkeypatched "PyPICache" functionality
      * Remove things that were not being used anymore and were dead
        weight
      * Remove sitecustomize support which was primarily used to
        monkeypatch the "PyPICache" but was used in one or two other
        tests.
      9894c8ba
  25. 21 8月, 2013 1 次提交
  26. 17 8月, 2013 1 次提交
  27. 30 5月, 2013 3 次提交
  28. 16 12月, 2012 1 次提交
  29. 24 9月, 2012 1 次提交
  30. 10 7月, 2012 1 次提交
  31. 09 7月, 2012 1 次提交