From cca432d589bed83cc4a28858d6aa0ca9ab26ca16 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Mon, 7 Oct 2024 16:48:00 -0700 Subject: [PATCH 1/3] Add support for Python 3.13 (#4296) --- .changes/next-release/enhancement-Python-91279.json | 5 +++++ .github/workflows/run-crt-test.yml | 4 +++- .github/workflows/run-tests.yml | 4 +++- setup.py | 1 + tox.ini | 2 +- 5 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 .changes/next-release/enhancement-Python-91279.json diff --git a/.changes/next-release/enhancement-Python-91279.json b/.changes/next-release/enhancement-Python-91279.json new file mode 100644 index 0000000000..faba0db4ae --- /dev/null +++ b/.changes/next-release/enhancement-Python-91279.json @@ -0,0 +1,5 @@ +{ + "type": "enhancement", + "category": "Python", + "description": "Added provisional Python 3.13 support to Boto3" +} diff --git a/.github/workflows/run-crt-test.yml b/.github/workflows/run-crt-test.yml index 50caf35aa4..0a3f6a426f 100644 --- a/.github/workflows/run-crt-test.yml +++ b/.github/workflows/run-crt-test.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13-dev'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] os: [ubuntu-latest, macOS-latest, windows-latest] # Python 3.8 and 3.9 do not run on m1 hardware which is now standard for # macOS-latest. @@ -32,6 +32,8 @@ jobs: uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 with: python-version: '${{ matrix.python-version }}' + cache: 'pip' + allow-prereleases: true - name: Install dependencies and CRT run: | python scripts/ci/install --extras crt diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6954844237..36fcef95cd 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] os: [ubuntu-latest, macOS-latest, windows-latest] # Python 3.8 and 3.9 do not run on m1 hardware which is now standard for # macOS-latest. @@ -33,6 +33,8 @@ jobs: uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + allow-prereleases: true - name: Install dependencies run: | python scripts/ci/install diff --git a/setup.py b/setup.py index d57620ea68..a8d93c6444 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,7 @@ def get_version(): 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', ], project_urls={ 'Documentation': 'https://boto3.amazonaws.com/v1/documentation/api/latest/index.html', diff --git a/tox.ini b/tox.ini index 691511dbe3..05f21ac74d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38,py39,py310,py311,py312 +envlist = py38,py39,py310,py311,py312,py313 # Comment to build sdist and install into virtualenv # This is helpful to test installation but takes extra time From 321f031e1f8936534c66b970fd309aeda6976b25 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 8 Oct 2024 18:05:54 +0000 Subject: [PATCH 2/3] Add changelog entries from botocore --- .changes/next-release/api-change-elasticache-70903.json | 5 +++++ .changes/next-release/api-change-memorydb-62538.json | 5 +++++ .changes/next-release/enhancement-Python-365.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-elasticache-70903.json create mode 100644 .changes/next-release/api-change-memorydb-62538.json create mode 100644 .changes/next-release/enhancement-Python-365.json diff --git a/.changes/next-release/api-change-elasticache-70903.json b/.changes/next-release/api-change-elasticache-70903.json new file mode 100644 index 0000000000..9197e34947 --- /dev/null +++ b/.changes/next-release/api-change-elasticache-70903.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elasticache``", + "description": "[``botocore``] AWS ElastiCache SDK now supports using APIs with newly launched Valkey engine. Please refer to updated AWS ElastiCache public documentation for detailed information on API usage." +} diff --git a/.changes/next-release/api-change-memorydb-62538.json b/.changes/next-release/api-change-memorydb-62538.json new file mode 100644 index 0000000000..dcfd1bcb41 --- /dev/null +++ b/.changes/next-release/api-change-memorydb-62538.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``memorydb``", + "description": "[``botocore``] Amazon MemoryDB SDK now supports all APIs for newly launched Valkey engine. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage." +} diff --git a/.changes/next-release/enhancement-Python-365.json b/.changes/next-release/enhancement-Python-365.json new file mode 100644 index 0000000000..aebd9fefb9 --- /dev/null +++ b/.changes/next-release/enhancement-Python-365.json @@ -0,0 +1,5 @@ +{ + "type": "enhancement", + "category": "Python", + "description": "[``botocore``] Added provisional Python 3.13 support to Botocore" +} From 7a7570cd2f6e99c529392b90eb4964b0a7113bce Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 8 Oct 2024 18:06:18 +0000 Subject: [PATCH 3/3] Bumping version to 1.35.36 --- .changes/1.35.36.json | 22 +++++++++++++++++++ .../api-change-elasticache-70903.json | 5 ----- .../api-change-memorydb-62538.json | 5 ----- .../next-release/enhancement-Python-365.json | 5 ----- .../enhancement-Python-91279.json | 5 ----- CHANGELOG.rst | 9 ++++++++ boto3/__init__.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 34 insertions(+), 23 deletions(-) create mode 100644 .changes/1.35.36.json delete mode 100644 .changes/next-release/api-change-elasticache-70903.json delete mode 100644 .changes/next-release/api-change-memorydb-62538.json delete mode 100644 .changes/next-release/enhancement-Python-365.json delete mode 100644 .changes/next-release/enhancement-Python-91279.json diff --git a/.changes/1.35.36.json b/.changes/1.35.36.json new file mode 100644 index 0000000000..ab0dfd7d6a --- /dev/null +++ b/.changes/1.35.36.json @@ -0,0 +1,22 @@ +[ + { + "category": "``elasticache``", + "description": "[``botocore``] AWS ElastiCache SDK now supports using APIs with newly launched Valkey engine. Please refer to updated AWS ElastiCache public documentation for detailed information on API usage.", + "type": "api-change" + }, + { + "category": "``memorydb``", + "description": "[``botocore``] Amazon MemoryDB SDK now supports all APIs for newly launched Valkey engine. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage.", + "type": "api-change" + }, + { + "category": "Python", + "description": "[``botocore``] Added provisional Python 3.13 support to Botocore", + "type": "enhancement" + }, + { + "category": "Python", + "description": "Added provisional Python 3.13 support to Boto3", + "type": "enhancement" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-elasticache-70903.json b/.changes/next-release/api-change-elasticache-70903.json deleted file mode 100644 index 9197e34947..0000000000 --- a/.changes/next-release/api-change-elasticache-70903.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elasticache``", - "description": "[``botocore``] AWS ElastiCache SDK now supports using APIs with newly launched Valkey engine. Please refer to updated AWS ElastiCache public documentation for detailed information on API usage." -} diff --git a/.changes/next-release/api-change-memorydb-62538.json b/.changes/next-release/api-change-memorydb-62538.json deleted file mode 100644 index dcfd1bcb41..0000000000 --- a/.changes/next-release/api-change-memorydb-62538.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``memorydb``", - "description": "[``botocore``] Amazon MemoryDB SDK now supports all APIs for newly launched Valkey engine. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage." -} diff --git a/.changes/next-release/enhancement-Python-365.json b/.changes/next-release/enhancement-Python-365.json deleted file mode 100644 index aebd9fefb9..0000000000 --- a/.changes/next-release/enhancement-Python-365.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "enhancement", - "category": "Python", - "description": "[``botocore``] Added provisional Python 3.13 support to Botocore" -} diff --git a/.changes/next-release/enhancement-Python-91279.json b/.changes/next-release/enhancement-Python-91279.json deleted file mode 100644 index faba0db4ae..0000000000 --- a/.changes/next-release/enhancement-Python-91279.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "enhancement", - "category": "Python", - "description": "Added provisional Python 3.13 support to Boto3" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f94843ef1e..9f3f0d853b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.35.36 +======= + +* api-change:``elasticache``: [``botocore``] AWS ElastiCache SDK now supports using APIs with newly launched Valkey engine. Please refer to updated AWS ElastiCache public documentation for detailed information on API usage. +* api-change:``memorydb``: [``botocore``] Amazon MemoryDB SDK now supports all APIs for newly launched Valkey engine. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage. +* enhancement:Python: [``botocore``] Added provisional Python 3.13 support to Botocore +* enhancement:Python: Added provisional Python 3.13 support to Boto3 + + 1.35.35 ======= diff --git a/boto3/__init__.py b/boto3/__init__.py index da748bd05c..520f4d9755 100644 --- a/boto3/__init__.py +++ b/boto3/__init__.py @@ -17,7 +17,7 @@ from boto3.session import Session __author__ = 'Amazon Web Services' -__version__ = '1.35.35' +__version__ = '1.35.36' # The default Boto3 session; autoloaded when needed. diff --git a/setup.cfg b/setup.cfg index 7e99ad4277..40a2537472 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore>=1.35.35,<1.36.0 + botocore>=1.35.36,<1.36.0 jmespath>=0.7.1,<2.0.0 s3transfer>=0.10.0,<0.11.0 diff --git a/setup.py b/setup.py index a8d93c6444..7596d79b64 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ requires = [ - 'botocore>=1.35.35,<1.36.0', + 'botocore>=1.35.36,<1.36.0', 'jmespath>=0.7.1,<2.0.0', 's3transfer>=0.10.0,<0.11.0', ]