Skip to content

Commit

Permalink
Add urllib3 as dependency (#11069)
Browse files Browse the repository at this point in the history
* add urllib3 as dependency, remove try/catch

* sync deps

* sync licenses

(cherry picked from commit 3ef0562)
  • Loading branch information
fanny-jiang committed Jan 7, 2022
1 parent f4907de commit e8f8eed
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions LICENSE-3rdparty.csv
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ tuf,PyPI,Apache-2.0,https://www.updateframework.com
tuf,PyPI,MIT,https://www.updateframework.com
typing,PyPI,PSF,"Guido van Rossum, Jukka Lehtosalo, Łukasz Langa, Ivan Levkivskyi"
uptime,PyPI,BSD-2-Clause,Koen Crolla
urllib3,PyPI,MIT,Andrey Petrov
vertica-python,PyPI,Apache-2.0,"Justin Berka, Alex Kim, Siting Ren"
win-inet-pton,PyPI,Unlicense,Ryan Vennell
wrapt,PyPI,BSD-3-Clause,Graham Dumpleton
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ tuf==0.17.0; python_version < "3.0"
tuf==0.19.0; python_version > "3.0"
typing==3.7.4.1; python_version < "3.0"
uptime==3.0.1
urllib3==1.26.8
vertica-python==0.10.1
win-inet-pton==1.1.0; sys_platform == "win32" and python_version < "3.0"
wrapt==1.12.1
2 changes: 1 addition & 1 deletion http_check/datadog_checks/http_check/adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import urllib3
from requests.adapters import HTTPAdapter
from urllib3.exceptions import SecurityWarning
from urllib3.packages.ssl_match_hostname import match_hostname
from urllib3.util import ssl_
from urllib3.util.ssl_match_hostname import match_hostname


class WeakCiphersHTTPSConnection(urllib3.connection.VerifiedHTTPSConnection):
Expand Down
1 change: 1 addition & 0 deletions http_check/requirements.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cryptography==3.3.2; python_version < '3.0'
cryptography==3.4.8; python_version > "3.0"
requests_ntlm==1.1.0
urllib3==1.26.8

0 comments on commit e8f8eed

Please sign in to comment.