Skip to content

Commit

Permalink
Fix unit tests under Python 3.13 (#2316) (#2318)
Browse files Browse the repository at this point in the history
This is a backport of PR #2316 as merged into main (2f7676f).
SUMMARY
If running Python 3.13 you need at least botocore 1.29.13.  While this isn't really something we generally want to track and display as a "requirement" for the collection, the unit tests break under Python 3.13 unless we're have 1.29.13
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
tests/unit
ADDITIONAL INFORMATION

Reviewed-by: Mark Chappell
  • Loading branch information
patchback[bot] authored Oct 2, 2024
1 parent cd5f194 commit 707dd43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Specifically run tests against the oldest versions that we support
botocore==1.29.0
botocore==1.29.0; python_version < '3.13'
botocore==1.29.0; python_version >= '3.13'
boto3==1.26.0

# AWS CLI has `botocore==` dependencies, provide the one that matches botocore
Expand Down

0 comments on commit 707dd43

Please sign in to comment.