Skip to content

Commit

Permalink
switch back to regular enum
Browse files Browse the repository at this point in the history
  • Loading branch information
aignas committed Dec 11, 2023
1 parent 581c9a0 commit f1d187c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/pip_install/tools/wheel_installer/wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import re
from collections import defaultdict, namedtuple
from dataclasses import dataclass
from enum import StrEnum
from enum import Enum
from pathlib import Path
from typing import Dict, List, Optional, Set, Tuple

Expand All @@ -27,7 +27,7 @@
from pip._vendor.packaging.utils import canonicalize_name


class OS(StrEnum):
class OS(Enum):
linux = "linux"
osx = "osx"
windows = "windows"
Expand All @@ -50,7 +50,7 @@ def from_tag(tag: str) -> "OS":
raise ValueError(f"unknown tag: {tag}")


class Arch(StrEnum):
class Arch(Enum):
x86_64 = "x86_64"
x86_32 = "x86_32"
aarch64 = "aarch64"
Expand Down

0 comments on commit f1d187c

Please sign in to comment.