Skip to content

revert StrEnum for Python compatibility #11684

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 1 commit into from
Oct 14, 2024
Merged

revert StrEnum for Python compatibility #11684

merged 1 commit into from
Oct 14, 2024

Conversation

bentsku
Copy link
Contributor

@bentsku bentsku commented Oct 14, 2024

Motivation

This PR reverts switching ServicePrincipal base class from str to StrEnum, as this is not available before 3.11, and this is in the import path of the CLI.

ImportError: cannot import name 'StrEnum' from 'enum'

Changes

  • revert StrEnum change

@bentsku bentsku added the semver: patch Non-breaking changes which can be included in patch releases label Oct 14, 2024
@bentsku bentsku requested review from alexrashed and dfangl October 14, 2024 07:30
@bentsku bentsku self-assigned this Oct 14, 2024
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 for jumping on this! 💯

Copy link

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   1h 38m 48s ⏱️ - 2m 35s
3 493 tests ±0  3 079 ✅ ±0  414 💤 ±0  0 ❌ ±0 
3 495 runs  ±0  3 079 ✅ ±0  416 💤 ±0  0 ❌ ±0 

Results for commit 170f6f1. ± Comparison against base commit fdd9efb.

@bentsku bentsku merged commit 1948d06 into master Oct 14, 2024
37 checks passed
@bentsku bentsku deleted the revert-str-enum branch October 14, 2024 08:30
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.

2 participants