Thanks to visit codestin.com
Credit goes to github.com

Skip to content

update ASF APIs, fix SQS serialization #9611

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

Merged
merged 3 commits into from
Nov 13, 2023
Merged

update ASF APIs, fix SQS serialization #9611

merged 3 commits into from
Nov 13, 2023

Conversation

localstack-bot
Copy link
Contributor

@localstack-bot localstack-bot commented Nov 13, 2023

Motivation

This PR started out as a regular automatically created ASF Update PR, but it contains some crucial changes in the SQS specs related to #8268 and #8267.
These recent changes in botocore have quite an impact on the generated ASF API stubs (see the first commit in this PR).
These changes need to be addressed in the SQS serializers to make sure that the responses (especially the error codes) are serialized properly.

Changes

  • Run the ASF updates (which is done automatically).
  • Update the SQS provider signatures (they renamed the shape of Integer to NullableInteger, even though within the shape itself is not nullable, the presence of the field is optional).
  • @bentsku updated the serializer (and some other direct usages of changed code) such that it works well with the newly generated ASF API stubs.

@localstack-bot localstack-bot added area: asf area: dependencies Pull requests that update a dependency file semver: patch Non-breaking changes which can be included in patch releases labels Nov 13, 2023
Copy link

github-actions bot commented Nov 13, 2023

LocalStack Community integration with Pro

       2 files  ±0         2 suites  ±0   1h 19m 9s ⏱️ + 10m 58s
2 307 tests +1  2 009 ✔️ +1  298 💤 ±0  0 ±0 
2 308 runs  +1  2 009 ✔️ +1  299 💤 ±0  0 ±0 

Results for commit 4fa3c90. ± Comparison against base commit 9dc7713.

This pull request removes 1 and adds 2 tests. Note that renamed tests count towards both.
tests.aws.services.s3.test_s3.TestS3 ‑ test_url_encoded_key
tests.aws.services.s3.test_s3.TestS3 ‑ test_url_encoded_key[False]
tests.aws.services.s3.test_s3.TestS3 ‑ test_url_encoded_key[True]

♻️ This comment has been updated with latest results.

@bentsku
Copy link
Contributor

bentsku commented Nov 13, 2023

Test run in ext validating SQS changes: 6850081041

@alexrashed alexrashed changed the title Update ASF APIs update ASF APIs, fix SQS serialization Nov 13, 2023
@alexrashed alexrashed self-assigned this Nov 13, 2023
@alexrashed alexrashed added this to the 3.0 milestone Nov 13, 2023
Copy link
Member

@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bentsku for jumping on this last piece to get the JSON protocol changes in SQS over the line! 🦸🏽

@bentsku
Copy link
Contributor

bentsku commented Nov 13, 2023

-ext tests are green! just waiting for the last one in CircleCI and we can merge.

@alexrashed
Copy link
Member

The failing tests are flakes, everything else is green (and the tests were successful in another run), so I'll move forward and merge this one.

@alexrashed alexrashed merged commit 12b84fe into master Nov 13, 2023
@alexrashed alexrashed deleted the asf-auto-updates branch November 13, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: asf area: dependencies Pull requests that update a dependency file semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants