[client] Update requests; add certifi, urllib3; stub chardet, idna

- Include fix in net.py; it was passing a int instead of a str for an http
  header.
- Roll requests from 2.9.1 to 2.21.0
- Unpackage urllib3 from requests.
- Roll urllib3 from packaged version at 1.13.1 to 1.24.1
- Add certifi 2018.11.29
- Add stubs for idna and chardet, the bot doesn't need these. This enables
  removing the local modification to requests.

Bug: 916644
Change-Id: I1aa1fb6fdf5d35e0d1c4805e4bdcebfe614e4ebd
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-py/+/1531099
Reviewed-by: Jao-ke Chin-Lee <jchinlee@chromium.org>
Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org>
Cr-Mirrored-From: https://chromium.googlesource.com/infra/luci/luci-py
Cr-Mirrored-Commit: 690b8ae29be2ca3b4782fa6ad0e7f2454443c38d
81 files changed
tree: a124e007092a5c8deec6c8caa09e68951a8052c2
  1. .gitignore
  2. LICENSE
  3. LUCI_CONTEXT.md
  4. OWNERS
  5. PRESUBMIT.py
  6. README.md
  7. README.py
  8. WATCHLISTS
  9. auth.py
  10. cipd.py
  11. example/
  12. isolate.py
  13. isolate_format.py
  14. isolate_storage.py
  15. isolated_format.py
  16. isolateserver.py
  17. libs/
  18. local_caching.py
  19. proto/
  20. run_isolated.py
  21. swarming.py
  22. tests/
  23. third_party/
  24. tools/
  25. trace_inputs.py
  26. utils/
README.md

LUCI Python Client

This is the Python Client code for LUCI. It's part of the main python repo, and is also mirrored into a standalone client-py repo.

To contribute changes you need to clone the main python repo and then use git cl upload. The client-py repo mirror (which appears in Chromium's third_party directory) cannot be contributed to directly.

License

This project is licensed under Apache v2.0 license. See LICENSE for details.