Skip to content

Conversation

hssyoo
Copy link
Contributor

@hssyoo hssyoo commented Oct 14, 2025

Add support for Python 3.14. Mostly chores:

  • Add 3.14 to GH actions testing matrix
  • Update README.md, setup.py, and tox.ini

It also replaces % with %% when adding AWS CLI command parameters to the arg parser. The latest versions of argparse added a check to raise exceptions when invalid formatted strings are passed to the help docs: python/cpython#124899. Some command parameters will fail this check because they have % characters in them, eg from aws s3api list-objects help:

NOTE:
     When using the URL encoding type, non-ASCII characters that are
     used in an object's key name will be percent-encoded according to
     UTF-8 code values. For example, the object test_file(3).png will
     appear as test_file%283%29.png .

argparse sees % and thinks it's a formatted string that needs to be expanded. And then it throws an exception when it fails to do so. We escape it with %% so it's interpreted as a literal %.

Verified that the bulit reference guide does not contain double %:
image

@codecov-commenter
Copy link

codecov-commenter commented Oct 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.33%. Comparing base (68039fa) to head (8d5dca8).
⚠️ Report is 330 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9790      +/-   ##
===========================================
- Coverage    93.40%   93.33%   -0.07%     
===========================================
  Files          211      209       -2     
  Lines        17012    16807     -205     
===========================================
- Hits         15890    15687     -203     
+ Misses        1122     1120       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hssyoo hssyoo merged commit 44e4467 into aws:develop Oct 15, 2025
48 checks passed
@hssyoo hssyoo deleted the py-3.14 branch October 15, 2025 15:04
aws-sdk-python-automation added a commit that referenced this pull request Oct 15, 2025
* release-1.42.53:
  Bumping version to 1.42.53
  Update changelog based on model updates
  Add support for Python 3.14 (#9790)
@chenrui333
Copy link

chenrui333 commented Oct 18, 2025

@chenrui333
Copy link

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.

4 participants