forked from loafle/openapi-generator-original
python: remove aenum in favor of stdlib's enum (#16691)
The aenum dependency didn't provide any specific improvements over the stdlib's enum module. aenum also doesn't provide typing information at the moment. This removes one dependency and will help for completing the typing of the generated client.
This commit is contained in:
@@ -13,10 +13,11 @@
|
||||
""" # noqa: E501
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
import json
|
||||
import pprint
|
||||
import re # noqa: F401
|
||||
from aenum import Enum, no_arg
|
||||
from enum import Enum
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ python = "^3.7"
|
||||
urllib3 = ">= 1.25.3"
|
||||
python-dateutil = ">=2.8.2"
|
||||
pydantic = ">=2"
|
||||
aenum = ">=3.1.11"
|
||||
typing-extensions = ">=4.7.1"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
|
||||
@@ -2,5 +2,4 @@ python_dateutil >= 2.5.3
|
||||
setuptools >= 21.0.0
|
||||
urllib3 >= 1.25.3, < 2.1.0
|
||||
pydantic >= 2
|
||||
aenum >= 3.1.11
|
||||
typing-extensions >= 4.7.1
|
||||
|
||||
@@ -28,7 +28,6 @@ REQUIRES = [
|
||||
"urllib3 >= 1.25.3, < 2.1.0",
|
||||
"python-dateutil",
|
||||
"pydantic >= 2",
|
||||
"aenum",
|
||||
"typing-extensions >= 4.7.1",
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user