Skip to content
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

Install boto3 CRT extra feature always #328

Merged
merged 1 commit into from
May 9, 2024

Conversation

crowecawcaw
Copy link
Contributor

What was the problem/requirement? (What/Why)

When I added boto3 CRT support, I installed different versions of boto3 depending on of the underlying CRT libraries were available for the current version of Python. This prevent some unit tests from running in non-CRT enabled Python versions (namely 3.12). Also boto3 already handles CRT-Python compatibility, so we don't need to and shouldn't try to manage it ourselves.

What was the solution? (How)

Remove the Python version filters on the CRT extra feature. Let boto3 handle compatibility and fallbacks.

What is the impact of this change?

Package builds in Python 3.12.

How was this change tested?

Using Python 3.12, I ran the unit tests, installed the package, and uploaded some job attachments using the CLI. Tests pass and uploads work as expected (though slower because they aren't using CRT under the hood).

Was this change documented?

No need.

Is this a breaking change?

No

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@crowecawcaw crowecawcaw requested a review from a team as a code owner May 9, 2024 14:29
Signed-off-by: Stephen Crowe <crowest@amazon.com>
@crowecawcaw crowecawcaw merged commit dffc71e into aws-deadline:mainline May 9, 2024
15 checks passed
leongdl added a commit to leongdl/deadline-cloud that referenced this pull request May 27, 2024
This reverts commit dffc71e.

Revert "feat: use AWS CRT for faster transfers (aws-deadline#319)"
This reverts commit 52da0ea.
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.

3 participants