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

Fix deprecated pyyaml usage in cloudformation legacy test #8716

Merged
merged 1 commit into from Jul 18, 2023

Conversation

dfangl
Copy link
Member

@dfangl dfangl commented Jul 18, 2023

Motivation

The upgrade to pyyaml>6 due to the Cython upgrade deprecated yaml.load without a loader specified.

Changes

  • Replace yaml.load with yaml.safe_load, which automatically uses the SafeLoader loader.

@dfangl dfangl added this to the 2.2 milestone Jul 18, 2023
@dfangl dfangl added the semver: patch Non-breaking changes which can be included in patch releases label Jul 18, 2023
@dfangl dfangl changed the title Fix deprecated pyyaml usage in cloudformatoin legacy test Fix deprecated pyyaml usage in cloudformation legacy test Jul 18, 2023
@github-actions
Copy link

LocalStack Community integration with Pro

       2 files         2 suites   1h 24m 27s ⏱️
2 244 tests 1 902 ✔️ 342 💤 0
2 245 runs  1 902 ✔️ 343 💤 0

Results for commit 783d593.

@dfangl dfangl merged commit c414eba into master Jul 18, 2023
26 of 28 checks passed
@dfangl dfangl deleted the fix_cloudformation_yaml_usage branch July 18, 2023 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

None yet

3 participants