diff --git a/.ddev/config.toml b/.ddev/config.toml index 3fd388414d027..67bd83a8cc688 100644 --- a/.ddev/config.toml +++ b/.ddev/config.toml @@ -97,6 +97,8 @@ pymongo = ['Apache-2.0'] requests-kerberos = ['ISC'] # https://github.com/requests/requests-ntlm/blob/master/LICENSE requests-ntlm = ['ISC'] +# https://gitlab.com/thelabnyc/requests-unixsocket2/-/blob/master/LICENSE +requests-unixsocket2 = ['Apache-2.0'] # https://github.com/rethinkdb/rethinkdb-python/blob/master/LICENSE rethinkdb = ['Apache-2.0'] # https://github.com/simplejson/simplejson/blob/master/LICENSE.txt diff --git a/LICENSE-3rdparty.csv b/LICENSE-3rdparty.csv index 1b156b231b6ca..b817ccc4a071a 100644 --- a/LICENSE-3rdparty.csv +++ b/LICENSE-3rdparty.csv @@ -91,7 +91,7 @@ requests-ntlm,PyPI,ISC,Copyright (c) 2013 Ben Toews requests-oauthlib,PyPI,BSD-3-Clause,Copyright (c) 2014 Kenneth Reitz. requests-oauthlib,PyPI,ISC,Copyright (c) 2014 Kenneth Reitz. requests-toolbelt,PyPI,Apache-2.0,"Copyright 2014 Ian Cordasco, Cory Benfield" -requests-unixsocket,PyPI,Apache-2.0,Copyright 2014 Marc Abramowitz +requests-unixsocket2,PyPI,Apache-2.0,Copyright (c) 2024 - 2024 thelab rethinkdb,PyPI,Apache-2.0,Copyright 2018 RethinkDB. scandir,PyPI,BSD-3-Clause,"Copyright (c) 2012, Ben Hoyt" securesystemslib,PyPI,MIT,Copyright (c) 2016 Santiago Torres diff --git a/agent_requirements.in b/agent_requirements.in index 524555a30ffbf..3a0a78c1dba29 100644 --- a/agent_requirements.in +++ b/agent_requirements.in @@ -93,9 +93,10 @@ requests-ntlm==1.2.0; python_version > '3.0' requests-oauthlib==1.3.1; python_version < '3.0' requests-oauthlib==2.0.0; python_version > '3.0' requests-toolbelt==1.0.0 -requests-unixsocket==0.3.0 +requests-unixsocket==0.3.0; python_version < '3.0' +requests-unixsocket2==0.4.0; python_version > '3.0' requests==2.27.1; python_version < '3.0' -requests==2.31.0; python_version > '3.0' +requests==2.32.3; python_version > '3.0' rethinkdb==2.4.9 scandir==1.10.0; python_version < '3.5' securesystemslib[crypto,pynacl]==0.28.0; python_version > '3.0' diff --git a/datadog_checks_base/changelog.d/17702.fixed b/datadog_checks_base/changelog.d/17702.fixed new file mode 100644 index 0000000000000..0aa5a09ae7cde --- /dev/null +++ b/datadog_checks_base/changelog.d/17702.fixed @@ -0,0 +1 @@ +Bump the `requests` version to 2.32.3 on Python 3 diff --git a/datadog_checks_base/pyproject.toml b/datadog_checks_base/pyproject.toml index 9fa9c4e29b499..153fb6e284425 100644 --- a/datadog_checks_base/pyproject.toml +++ b/datadog_checks_base/pyproject.toml @@ -62,9 +62,10 @@ deps = [ "pyyaml==5.4.1; python_version < '3.0'", "pyyaml==6.0.1; python_version > '3.0'", "requests-toolbelt==1.0.0", - "requests-unixsocket==0.3.0", + "requests-unixsocket==0.3.0; python_version < '3.0'", + "requests-unixsocket2==0.4.0; python_version > '3.0'", "requests==2.27.1; python_version < '3.0'", - "requests==2.31.0; python_version > '3.0'", + "requests==2.32.3; python_version > '3.0'", "simplejson==3.19.2", "six==1.16.0", "typing==3.10.0.0; python_version < '3.0'", diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/licenses.py b/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/licenses.py index 4a26eac91472a..4d8ce5dded891 100644 --- a/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/licenses.py +++ b/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/licenses.py @@ -62,6 +62,8 @@ 'requests-kerberos': ['ISC'], # https://github.com/requests/requests-ntlm/blob/master/LICENSE 'requests-ntlm': ['ISC'], + # https://gitlab.com/thelabnyc/requests-unixsocket2/-/blob/master/LICENSE + 'requests-unixsocket2': ['Apache-2.0'], # https://github.com/rethinkdb/rethinkdb-python/blob/master/LICENSE 'rethinkdb': ['Apache-2.0'], # https://github.com/simplejson/simplejson/blob/master/LICENSE.txt