chore: upgrade urllib3 to 2.6.0+ and update dependencies #292
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade urllib3 to version 2.6.0 or greater across all Lambda functions to address security vulnerabilities and ensure compatibility.
Changes
Dependency Updates (all 7 Lambda functions)
Test Code Migration (moto 5.x breaking changes)
Updated test files to use unified
mock_awsdecorator instead of individual mocks (mock_s3,mock_wafv2,mock_dynamodb, etc.):source/access_handler/test/conftest.pysource/custom_resource/test/conftest.pysource/helper/test/conftest.pysource/helper/test/test_stack_requirements.pysource/ip_retention_handler/test/conftest.pysource/log_parser/test/conftest.pyAffected Lambda Functions
Testing
✅ All 100 unit tests pass across all Lambda functions:
Transitive Dependency Compatibility
All parent packages support urllib3 2.6.0+:
requests 2.32.5→ urllib3 <3,>=1.21.1 ✓boto3 1.42.16→ botocore → urllib3 !=2.2.0,<3,>=1.25.4 ✓moto 5.1.18→ responses 0.25.3 → urllib3 <3.0,>=1.25.10 ✓Checklist