moomindani opened a new pull request, #63622: URL: https://github.com/apache/airflow/pull/63622
Add `bucket_namespace` parameter to `S3Hook.create_bucket()` and `S3CreateBucketOperator` to support the new [S3 account-regional namespaces](https://aws.amazon.com/blogs/aws/introducing-account-regional-namespaces-for-amazon-s3-general-purpose-buckets/) feature announced on March 12, 2026. This allows users to create S3 buckets in their account-regional namespace by setting `bucket_namespace="account-regional"`, which passes the `BucketNamespace` parameter to the boto3 `create_bucket` API. Note: Requires `botocore>=1.42.0` at runtime for the `BucketNamespace` parameter to be recognized. The minimum version pin is not bumped in this PR due to aiobotocore compatibility constraints. closes: #63621 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (claude-opus-4-6) Generated-by: Claude Code (claude-opus-4-6) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
