Files
superset2/tests/unit_tests/utils/s3_tests.py
Hugh A Miles II b6b40457b9 fix(export): import boto3 lazily so app startup never requires it
superset/utils/s3.py imported boto3 at module level, and the dashboard API
imports the export task (which imports this module) at startup. Since boto3 is
not a base dependency, production images without it crashed on boot, failing
deploy health checks. Move the import into the client factory (matching
db_engine_specs/aws_iam.py); boto3 is only needed when an export actually runs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 08:35:41 -04:00

2.5 KiB