Skip to content

Commit

Permalink
chore(aws_lambda): bump minimum supported version (#12178)
Browse files Browse the repository at this point in the history
`aws_lambda<6.105.0` requires imports that were removed in ddtrace v3.0.
This PR documents a new minimum supported version for aws_lambda and
updates tests.

Blocked by: DataDog/datadog-lambda-python#557

## Checklist
- [ ] PR author has checked that all the criteria below are met
- The PR description includes an overview of the change
- The PR description articulates the motivation for the change
- The change includes tests OR the PR description describes a testing
strategy
- The PR description notes risks associated with the change, if any
- Newly-added code is easy to change
- The change follows the [library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
- The change includes or references documentation updates if necessary
- Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))

## Reviewer Checklist
- [ ] Reviewer has checked that all the criteria below are met 
- Title is accurate
- All changes are related to the pull request's stated goal
- Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- Testing strategy adequately addresses listed risks
- Newly-added code is easy to change
- Release note makes sense to a user of the library
- If necessary, author has acknowledged and discussed the performance
implications of this PR as reported in the benchmarks PR comment
- Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)
  • Loading branch information
mabdinur authored Jan 31, 2025
1 parent 4ebedf0 commit 1779b19
Show file tree
Hide file tree
Showing 20 changed files with 474 additions and 204 deletions.
47 changes: 47 additions & 0 deletions .riot/requirements/1460efe.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1460efe.in
#
attrs==25.1.0
boto3==1.36.10
botocore==1.36.10
bytecode==0.16.1
certifi==2024.12.14
charset-normalizer==3.4.1
coverage[toml]==7.6.10
datadog==0.51.0
datadog-lambda==6.105.0
ddtrace==2.20.0
deprecated==1.2.18
envier==0.5.2
exceptiongroup==1.2.2
hypothesis==6.45.0
idna==3.10
importlib-metadata==8.5.0
iniconfig==2.0.0
jmespath==1.0.1
mock==5.1.0
opentelemetry-api==1.29.0
opentracing==2.4.0
packaging==24.2
pluggy==1.5.0
protobuf==5.29.3
pytest==8.3.4
pytest-asyncio==0.21.1
pytest-cov==6.0.0
pytest-mock==3.14.0
pytest-randomly==3.16.0
python-dateutil==2.9.0.post0
requests==2.32.3
s3transfer==0.11.2
six==1.17.0
sortedcontainers==2.4.0
tomli==2.2.1
typing-extensions==4.12.2
ujson==5.10.0
urllib3==2.3.0
wrapt==1.17.2
xmltodict==0.14.2
zipp==3.21.0
6 changes: 3 additions & 3 deletions .riot/requirements/16af7e0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ cattrs==23.2.3
certifi==2024.7.4
charset-normalizer==3.3.2
coverage[toml]==7.5.4
datadog==0.49.1
datadog-lambda==6.96.0
datadog==0.51.0
datadog-lambda==6.105.0
ddsketch==3.0.1
ddtrace==2.9.2
ddtrace==2.20.0
deprecated==1.2.14
envier==0.5.2
exceptiongroup==1.2.1
Expand Down
45 changes: 45 additions & 0 deletions .riot/requirements/1965d6b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1965d6b.in
#
attrs==25.1.0
boto3==1.36.10
botocore==1.36.10
bytecode==0.16.1
certifi==2024.12.14
charset-normalizer==3.4.1
coverage[toml]==7.6.10
datadog==0.51.0
datadog-lambda==6.105.0
ddtrace==2.20.0
deprecated==1.2.18
envier==0.5.2
hypothesis==6.45.0
idna==3.10
importlib-metadata==8.5.0
iniconfig==2.0.0
jmespath==1.0.1
mock==5.1.0
opentelemetry-api==1.29.0
opentracing==2.4.0
packaging==24.2
pluggy==1.5.0
protobuf==5.29.3
pytest==8.3.4
pytest-asyncio==0.21.1
pytest-cov==6.0.0
pytest-mock==3.14.0
pytest-randomly==3.16.0
python-dateutil==2.9.0.post0
requests==2.32.3
s3transfer==0.11.2
six==1.17.0
sortedcontainers==2.4.0
typing-extensions==4.12.2
ujson==5.10.0
urllib3==2.3.0
wrapt==1.17.2
xmltodict==0.14.2
zipp==3.21.0
49 changes: 0 additions & 49 deletions .riot/requirements/1aaf6f6.txt

This file was deleted.

45 changes: 45 additions & 0 deletions .riot/requirements/1aec773.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1aec773.in
#
attrs==25.1.0
boto3==1.36.10
botocore==1.36.10
bytecode==0.16.1
certifi==2024.12.14
charset-normalizer==3.4.1
coverage[toml]==7.6.10
datadog==0.51.0
datadog-lambda==6.105.0
ddtrace==2.20.0
deprecated==1.2.18
envier==0.5.2
hypothesis==6.45.0
idna==3.10
importlib-metadata==8.5.0
iniconfig==2.0.0
jmespath==1.0.1
mock==5.1.0
opentelemetry-api==1.29.0
opentracing==2.4.0
packaging==24.2
pluggy==1.5.0
protobuf==5.29.3
pytest==8.3.4
pytest-asyncio==0.21.1
pytest-cov==6.0.0
pytest-mock==3.14.0
pytest-randomly==3.16.0
python-dateutil==2.9.0.post0
requests==2.32.3
s3transfer==0.11.2
six==1.17.0
sortedcontainers==2.4.0
typing-extensions==4.12.2
ujson==5.10.0
urllib3==2.3.0
wrapt==1.17.2
xmltodict==0.14.2
zipp==3.21.0
46 changes: 46 additions & 0 deletions .riot/requirements/1ecfbd7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1ecfbd7.in
#
attrs==25.1.0
boto3==1.36.10
botocore==1.36.10
bytecode==0.16.1
certifi==2024.12.14
charset-normalizer==3.4.1
coverage[toml]==7.6.10
datadog==0.51.0
datadog-lambda==6.105.0
ddtrace==2.20.0
deprecated==1.2.18
envier==0.5.2
hypothesis==6.45.0
idna==3.10
importlib-metadata==8.5.0
iniconfig==2.0.0
jmespath==1.0.1
legacy-cgi==2.6.2
mock==5.1.0
opentelemetry-api==1.29.0
opentracing==2.4.0
packaging==24.2
pluggy==1.5.0
protobuf==5.29.3
pytest==8.3.4
pytest-asyncio==0.21.1
pytest-cov==6.0.0
pytest-mock==3.14.0
pytest-randomly==3.16.0
python-dateutil==2.9.0.post0
requests==2.32.3
s3transfer==0.11.2
six==1.17.0
sortedcontainers==2.4.0
typing-extensions==4.12.2
ujson==5.10.0
urllib3==2.3.0
wrapt==1.17.2
xmltodict==0.14.2
zipp==3.21.0
6 changes: 3 additions & 3 deletions .riot/requirements/1fa807e.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ cattrs==23.2.3
certifi==2024.7.4
charset-normalizer==3.3.2
coverage[toml]==7.5.4
datadog==0.49.1
datadog-lambda==6.96.0
datadog==0.51.0
datadog-lambda==6.105.0
ddsketch==3.0.1
ddtrace==2.9.2
ddtrace==2.20.0
deprecated==1.2.14
envier==0.5.2
exceptiongroup==1.2.1
Expand Down
47 changes: 47 additions & 0 deletions .riot/requirements/6824c99.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/6824c99.in
#
attrs==25.1.0
boto3==1.36.10
botocore==1.36.10
bytecode==0.16.1
certifi==2024.12.14
charset-normalizer==3.4.1
coverage[toml]==7.6.1
datadog==0.51.0
datadog-lambda==6.105.0
ddtrace==2.20.0
deprecated==1.2.18
envier==0.5.2
exceptiongroup==1.2.2
hypothesis==6.45.0
idna==3.10
importlib-metadata==8.5.0
iniconfig==2.0.0
jmespath==1.0.1
mock==5.1.0
opentelemetry-api==1.29.0
opentracing==2.4.0
packaging==24.2
pluggy==1.5.0
protobuf==5.29.3
pytest==8.3.4
pytest-asyncio==0.21.1
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.15.0
python-dateutil==2.9.0.post0
requests==2.32.3
s3transfer==0.11.2
six==1.17.0
sortedcontainers==2.4.0
tomli==2.2.1
typing-extensions==4.12.2
ujson==5.10.0
urllib3==1.26.20
wrapt==1.17.2
xmltodict==0.14.2
zipp==3.20.2
47 changes: 47 additions & 0 deletions .riot/requirements/7cf5b29.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/7cf5b29.in
#
attrs==25.1.0
boto3==1.36.10
botocore==1.36.10
bytecode==0.16.1
certifi==2024.12.14
charset-normalizer==3.4.1
coverage[toml]==7.6.10
datadog==0.51.0
datadog-lambda==6.105.0
ddtrace==2.20.0
deprecated==1.2.18
envier==0.5.2
exceptiongroup==1.2.2
hypothesis==6.45.0
idna==3.10
importlib-metadata==8.5.0
iniconfig==2.0.0
jmespath==1.0.1
mock==5.1.0
opentelemetry-api==1.29.0
opentracing==2.4.0
packaging==24.2
pluggy==1.5.0
protobuf==5.29.3
pytest==8.3.4
pytest-asyncio==0.21.1
pytest-cov==6.0.0
pytest-mock==3.14.0
pytest-randomly==3.16.0
python-dateutil==2.9.0.post0
requests==2.32.3
s3transfer==0.11.2
six==1.17.0
sortedcontainers==2.4.0
tomli==2.2.1
typing-extensions==4.12.2
ujson==5.10.0
urllib3==2.3.0
wrapt==1.17.2
xmltodict==0.14.2
zipp==3.21.0
Loading

0 comments on commit 1779b19

Please sign in to comment.