Skip to content

fix(ci): restore CDN deployment on Python 3.12 (SDK-725) - #637

Merged
Mercy811 merged 1 commit into
v8.xfrom
codex/fix-cdn-python-dependencies
Nov 12, 2026
Merged

Mercy811 merged 1 commit into
v8.xfrom
codex/fix-cdn-python-dependencies

Conversation

@Mercy811

@Mercy811 Mercy811 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Restore CDN release preparation on Python 3.12. The 8.21.11 release retry successfully published to npm, then crashed while importing boto3 before uploading any CDN assets. The old boto3 1.14.63 pin resolves botocore 1.17.63 and urllib3 1.25.11, whose vendored six import fails on Python 3.12.

Use boto3 1.44.2 and run the deployment script's --help startup check immediately after installation, before npm publishing. This catches dependency import failures early without making AWS requests.

Fixes SDK-725

Validation

  • Fresh Python 3.12.12 environment with boto3 1.14.63 reproduces ModuleNotFoundError: No module named 'urllib3.packages.six.moves'.
  • Fresh Python 3.12.12 environment with boto3 1.44.2: python scripts/deploy_s3.py --help passes; resolves botocore 1.44.2 and urllib3 2.8.0.
  • uv pip check and git diff --check pass.

Scope and risk

The AWS Python SDK update affects release tooling. Live S3 uploads, IAM permissions, and CDN delivery have not been verified by these local checks. The startup check verifies imports and CLI initialization only. The existing SDK bundles and deployment script are unchanged.

This PR does not recover the already published 8.21.11 CDN artifacts. That remains an operational follow-up; rerunning semantic-release after its release commit/tag already exists should not be assumed to retry the missed upload.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: No SDK API changes.

@linear-code

linear-code Bot commented Nov 12, 2026

Copy link
Copy Markdown

SDK-725

@Mercy811
Mercy811 marked this pull request as ready for review November 12, 2026 22:38
@Mercy811
Mercy811 requested a review from a team as a code owner November 12, 2026 22:38
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T22:39:08.117689Z cf0cd39 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Mercy811
Mercy811 merged commit 98b1b11 into v8.x Nov 12, 2026
4 checks passed
@Mercy811
Mercy811 deleted the codex/fix-cdn-python-dependencies branch November 12, 2026 22:41
github-actions Bot pushed a commit that referenced this pull request Nov 12, 2026
## [8.21.12](v8.21.11...v8.21.12) (2026-11-12)

### Bug Fixes

* **ci:** restore CDN deployment on Python 3.12 ([#637](#637)) ([98b1b11](98b1b11))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants