Skip to content

Commit

Permalink
Upgrade requests to 2.32.3 and adds a license validation override…
Browse files Browse the repository at this point in the history
… to ddev (#17702)

* Upgrade `requests` to `2.32.3`

* Add changelog entry

* Bump the `requests-unixsocket` version to requests-unixsocket2==0.4.0

in order to get the following fix: msabramo/requests-unixsocket#72

* update license

* changelog

* Apply suggestions from code review

Co-authored-by: Steven Yuen <[email protected]>

* Regenerate LICENSE-3rdparty.csv

* conflicts

* sync license

* changelog

---------

Co-authored-by: steveny91 <[email protected]>
  • Loading branch information
L3n41c and steveny91 authored Jun 7, 2024
1 parent 633fc17 commit e1e61e5
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .ddev/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ 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
# For of the original. The license on PyPI is incorrect. Issue filed here:
# https://gitlab.com/thelabnyc/requests-unixsocket2/-/issues/4
requests-unixsocket2 = ['ISC']
# https://github.com/rethinkdb/rethinkdb-python/blob/master/LICENSE
rethinkdb = ['Apache-2.0']
# https://github.com/simplejson/simplejson/blob/master/LICENSE.txt
Expand Down
1 change: 1 addition & 0 deletions LICENSE-3rdparty.csv
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ 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,ISC,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
Expand Down
5 changes: 3 additions & 2 deletions agent_requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions datadog_checks_base/changelog.d/17702.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump the `requests` version to 2.32.3 on Python 3
5 changes: 3 additions & 2 deletions datadog_checks_base/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'",
Expand Down
1 change: 1 addition & 0 deletions datadog_checks_dev/changelog.d/17702.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add license override for requests-unixsocket2
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@
'requests-kerberos': ['ISC'],
# https://github.com/requests/requests-ntlm/blob/master/LICENSE
'requests-ntlm': ['ISC'],
# https://gitlab.com/thelabnyc/requests-unixsocket2/-/blob/master/LICENSE
# For of the original. The license on PyPI is incorrect. Issue filed here:
# https://gitlab.com/thelabnyc/requests-unixsocket2/-/issues/4
'requests-unixsocket2': ['ISC'],
# https://github.com/rethinkdb/rethinkdb-python/blob/master/LICENSE
'rethinkdb': ['Apache-2.0'],
# https://github.com/simplejson/simplejson/blob/master/LICENSE.txt
Expand Down

0 comments on commit e1e61e5

Please sign in to comment.