Skip to content

Commit

Permalink
Fix unit tests under Python 3.13 (#2316)
Browse files Browse the repository at this point in the history
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: Alina Buzachis
  • Loading branch information
tremble authored and braydencw1 committed Oct 3, 2024
1 parent 88aac88 commit 9ce2560
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 9ce2560

Please sign in to comment.