Skip to content

Update boto3 version constraint to support latest versions (1.38.x) #5363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 15, 2025

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jun 15, 2025

Summary

Updates the Remotion Lambda Python SDK to support the latest boto3 versions by relaxing the version constraint from <1.35.0 to <1.39.0. This allows users to utilize boto3 1.38.x (latest: 1.38.36) without being forced to downgrade.

Changes

  • requirements.txt: Updated boto3 constraint from boto3<1.35.0,>=1.34.23 to boto3<1.39.0,>=1.34.23
  • .gitignore: Added Python virtual environment directories (test-env/, remotion-env-lint/) to prevent accidental commits

Rationale

The current constraint restricted users to boto3 versions before 1.35.0, but the latest stable version is 1.38.36. This creates friction for users who want to use recent AWS SDK features or have other dependencies requiring newer boto3 versions.

Compatibility

Safe upgrade - This change is low-risk because:

  • The RemotionClient only uses basic boto3 functionality (boto3.client('lambda') and client exceptions)
  • boto3's Lambda client API is stable and maintains backward compatibility across these versions
  • All existing exception handling (ResourceNotFoundException, InvalidRequestContentException, etc.) remains compatible
  • No code changes were required

Testing

  • All existing unit tests pass (3/3 tests)
  • boto3 import and Lambda client creation verified
  • RemotionClient instantiation and functionality confirmed
  • Exception handling compatibility validated
  • Version constraint allows both current (1.34.x) and latest (1.38.x) versions

Impact

This change enables users to:

  • Use the latest boto3 features and security improvements
  • Avoid version conflicts with other AWS SDK dependencies
  • Stay current with AWS best practices

No breaking changes or user action required.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copy link

vercel bot commented Jun 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bugs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 15, 2025 7:05am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
remotion ⬜️ Skipped (Inspect) Jun 15, 2025 7:05am

@vercel vercel bot temporarily deployed to Preview – remotion June 15, 2025 06:35 Inactive
@Copilot Copilot AI changed the title [WIP] Update boto3 dependency to support latest version in remotion lambda Python SDK Update boto3 version constraint to support latest versions (1.38.x) Jun 15, 2025
@Copilot Copilot AI requested a review from JonnyBurger June 15, 2025 06:36
Copilot finished work on behalf of JonnyBurger June 15, 2025 06:36
@JonnyBurger
Copy link
Member

@copilot You added over 1000 files, please remove them from the PR

@vercel vercel bot temporarily deployed to Preview – remotion June 15, 2025 06:49 Inactive
Copy link
Contributor Author

Copilot AI commented Jun 15, 2025

@copilot You added over 1000 files, please remove them from the PR

Removed all 1,014 accidentally committed files from the Python virtual environment directory. The PR now contains only the intended changes: boto3 version constraint update and .gitignore additions. Fixed in commit 894add1.

Copilot finished work on behalf of JonnyBurger June 15, 2025 06:50
@JonnyBurger JonnyBurger marked this pull request as ready for review June 15, 2025 06:52
@JonnyBurger JonnyBurger linked an issue Jun 15, 2025 that may be closed by this pull request
@JonnyBurger JonnyBurger merged commit 07c5d9f into main Jun 15, 2025
13 of 14 checks passed
@JonnyBurger JonnyBurger deleted the copilot/fix-6e15f6de-534e-426a-91d6-a4e755bcf48d branch June 15, 2025 07:28
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.

remotion lambda Python sdk boto3 update
2 participants