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

Prep release 5.0.8 #7718

Merged
merged 1 commit into from
May 26, 2024
Merged

Prep release 5.0.8 #7718

merged 1 commit into from
May 26, 2024

Conversation

bblommers
Copy link
Collaborator

@bblommers bblommers commented May 25, 2024

Reverts ##7713 and #7715 - now that there is a new Docker release, the latest requests-module no longer breaks. (docker/docker-py#3256)

A few days ago the aws terraform provider was updated from 5.50.0 to 5.51.0. This broke our Terraform tests for ACM and Route53. More specifically, a call to ChangeResourceRecordSets suddenly no longer worked.

The underlying problem is that Terraform used to make a POST request to /2013-04-01/hostedzone/<id>/rrset/, but with the 5.51.0 release would make a request to /2013-04-01/hostedzone/<id>/rrset (without trailing slash).

It's safe to assume that AWS allows both versions, so this PR also changes our logic to also allow both versions of this particular URL.

(A first iteration made all leading slashes optional, to make it a more general solution - but that broke URL interception for the Backup-service)

@bblommers bblommers added this to the 5.0.8 milestone May 25, 2024
Copy link

codecov bot commented May 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.33%. Comparing base (79a1003) to head (17a75df).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7718   +/-   ##
=======================================
  Coverage   94.33%   94.33%           
=======================================
  Files        1092     1092           
  Lines       93033    93036    +3     
=======================================
+ Hits        87762    87768    +6     
+ Misses       5271     5268    -3     
Flag Coverage Δ
servertests 29.53% <100.00%> (+<0.01%) ⬆️
unittests 94.30% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@bblommers bblommers added the moto-core PR's that touch the core functionality. This will trigger additional tests. label May 25, 2024
@bblommers bblommers added moto-core PR's that touch the core functionality. This will trigger additional tests. and removed moto-core PR's that touch the core functionality. This will trigger additional tests. labels May 26, 2024
@bblommers bblommers merged commit 83154c6 into getmoto:master May 26, 2024
77 checks passed
@bblommers bblommers deleted the prep/5.0.8 branch May 26, 2024 20:28
Copy link
Contributor

This is now part of moto >= 5.0.8.dev23

jfmainville pushed a commit to jfmainville/moto that referenced this pull request Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moto-core PR's that touch the core functionality. This will trigger additional tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant