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

StrEnum not working with older python versions #125

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Conversation

jorblancoa
Copy link
Collaborator

@jorblancoa jorblancoa commented Feb 14, 2024

Context

The StrEnum type was introduced in python 3.11, so it was failing with previous python versions in the github actions.

Scope

In this PR, StrEnum is replaced by inheriting not only from enum but also from str.

Review

  • PR description is complete
  • Coding style (imports, function length, New functions, classes or files) are good
  • Unit/Scientific test added
  • Updated Readme, in-code, developer documentation

@jorblancoa jorblancoa marked this pull request as ready for review February 15, 2024 16:50
@bbpbuildbot

This comment has been minimized.

@bbpbuildbot
Copy link

@ferdonline ferdonline self-requested a review February 15, 2024 18:27
@jorblancoa jorblancoa merged commit 1d49ad5 into main Feb 16, 2024
4 checks passed
@jorblancoa jorblancoa deleted the jblanco/str_enum branch February 16, 2024 12:53
WeinaJi pushed a commit that referenced this pull request Oct 14, 2024
## Context
The StrEnum type was introduced in python 3.11, so it was failing with
previous python versions in the github actions.

## Scope
In this PR, StrEnum is replaced by inheriting not only from enum but
also from str.

## Review
* [x] PR description is complete
* [x] Coding style (imports, function length, New functions, classes or
files) are good
* [ ] Unit/Scientific test added
* [ ] Updated Readme, in-code, developer documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants