Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dependencies.py: use Enum rather than StrEnum for DependencyKind
StrEnum is only supported in Python versions 3.11 and newer. Gentoolkit should not require >=3.11, so DependencyKind will use the regular Enum feature instead. The difference between StrEnum and Enum is that StrEnum members are strings and can generally be used in place of strings in APIs expecting string input. Non-StrEnum members are not strings, but you can get members values by accessing their value field (DependencyKind.DEPEND.value). Fixes: 78464ec Signed-off-by: John Turner <[email protected]> Closes: #46 Signed-off-by: Sam James <[email protected]>
- Loading branch information