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

Bump botocore dependency specification #1202

Merged
merged 2 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changes
-------

2.15.0 (2024-09-10)
^^^^^^^^^^^^^^^^^^^
* bump botocore dependency specification

2.14.0 (2024-08-28)
^^^^^^^^^^^^^^^^^^^
* bump botocore dependency specification
Expand Down
2 changes: 1 addition & 1 deletion aiobotocore/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.14.0'
__version__ = '2.15.0'
9 changes: 9 additions & 0 deletions aiobotocore/endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,13 @@ async def _do_get_response(self, request, operation_model, context):
history_recorder.record('HTTP_RESPONSE', http_response_record_dict)

protocol = operation_model.metadata['protocol']
customized_response_dict = {}
await self._event_emitter.emit(
f"before-parse.{service_id}.{operation_model.name}",
operation_model=operation_model,
response_dict=response_dict,
customized_response_dict=customized_response_dict,
)
parser = self._response_parser_factory.create_parser(protocol)

if asyncio.iscoroutinefunction(parser.parse):
Expand All @@ -216,6 +223,8 @@ async def _do_get_response(self, request, operation_model, context):
response_dict, operation_model.output_shape
)

parsed_response.update(customized_response_dict)

if http_response.status_code >= 300:
await self._add_modeled_error_fields(
response_dict,
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ classifiers = [
dynamic = ["version", "readme"]

dependencies = [
"botocore >=1.35.0, <1.35.8", # NOTE: When updating, always keep `project.optional-dependencies` aligned
"botocore >=1.35.16, <1.35.17", # NOTE: When updating, always keep `project.optional-dependencies` aligned
"aiohttp >=3.9.2, <4.0.0",
"wrapt >=1.10.10, <2.0.0",
"aioitertools >=0.5.1, <1.0.0",
]

[project.optional-dependencies]
awscli = [
"awscli >=1.34.0, <1.34.8",
"awscli >=1.34.16, <1.34.17",
]
boto3 = [
"boto3 >=1.35.0, <1.35.8",
"boto3 >=1.35.16, <1.35.17",
]

[project.urls]
Expand Down
3 changes: 1 addition & 2 deletions tests/test_patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,7 @@
},
Endpoint._get_response: {'bbf10e6e07147d50e09d7205bf0883bd673a8bf3'},
Endpoint._do_get_response: {
'5afcfe76196406903afb24e05e3dd0feeac1a23d',
'4a1cab721ecf2777419ba070c38db77ae3b6df1e',
'abad88892d61b22f2a6decffba2e40d070ba9f38',
},
Endpoint._needs_retry: {'f718e2ff874763a677648fe6f87cc65e4cec2792'},
Endpoint._send: {'644c7e5bb88fecaa0b2a204411f8c7e69cc90bf1'},
Expand Down