mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
build(deps): bump requirements (#3495)
* chore(deps): bump requirements * style: format after black bump
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
ansi2html==1.6.0
|
||||
flake8==4.0.1
|
||||
flake8-quotes==3.3.1
|
||||
hypothesis==6.24.0
|
||||
hypothesis==6.30.1
|
||||
markdown-include==0.6.0
|
||||
mdx-truly-sane-lists==1.2
|
||||
mkdocs==1.2.3
|
||||
mkdocs-exclude==1.0.2
|
||||
mkdocs-material==7.3.4
|
||||
mkdocs-material==8.0.5
|
||||
sqlalchemy
|
||||
orjson
|
||||
ujson
|
||||
|
||||
@@ -24,7 +24,6 @@ if TYPE_CHECKING:
|
||||
def __call__(self, schema: Dict[str, Any], model_class: Type[BaseModel]) -> None:
|
||||
pass
|
||||
|
||||
|
||||
else:
|
||||
SchemaExtraCallable = Callable[..., None]
|
||||
|
||||
|
||||
@@ -51,7 +51,6 @@ if TYPE_CHECKING:
|
||||
query: Optional[str]
|
||||
fragment: Optional[str]
|
||||
|
||||
|
||||
else:
|
||||
email_validator = None
|
||||
|
||||
|
||||
@@ -57,13 +57,11 @@ if sys.version_info < (3, 7):
|
||||
def evaluate_forwardref(type_: ForwardRef, globalns: Any, localns: Any) -> Any:
|
||||
return type_._eval_type(globalns, localns)
|
||||
|
||||
|
||||
elif sys.version_info < (3, 9):
|
||||
|
||||
def evaluate_forwardref(type_: ForwardRef, globalns: Any, localns: Any) -> Any:
|
||||
return type_._evaluate(globalns, localns)
|
||||
|
||||
|
||||
else:
|
||||
|
||||
def evaluate_forwardref(type_: ForwardRef, globalns: Any, localns: Any) -> Any:
|
||||
@@ -109,7 +107,6 @@ if sys.version_info < (3, 8):
|
||||
return cast(Type[Any], Annotated) # mypy complains about _SpecialForm in py3.6
|
||||
return getattr(t, '__origin__', None)
|
||||
|
||||
|
||||
else:
|
||||
from typing import get_origin as _typing_get_origin
|
||||
|
||||
@@ -140,7 +137,6 @@ if sys.version_info < (3, 7): # noqa: C901 (ignore complexity)
|
||||
return t.__args__ + t.__metadata__
|
||||
return getattr(t, '__args__', ())
|
||||
|
||||
|
||||
elif sys.version_info < (3, 8): # noqa: C901
|
||||
from typing import _GenericAlias
|
||||
|
||||
@@ -159,7 +155,6 @@ elif sys.version_info < (3, 8): # noqa: C901
|
||||
return res
|
||||
return getattr(t, '__args__', ())
|
||||
|
||||
|
||||
else:
|
||||
from typing import get_args as _typing_get_args
|
||||
|
||||
@@ -290,7 +285,6 @@ if sys.version_info < (3, 8): # noqa: C901 (ignore complexity)
|
||||
def is_none_type(type_: Any) -> bool:
|
||||
return type_ in NONE_TYPES
|
||||
|
||||
|
||||
else:
|
||||
|
||||
def is_none_type(type_: Any) -> bool:
|
||||
@@ -361,7 +355,6 @@ if sys.version_info >= (3, 7):
|
||||
def literal_values(type_: Type[Any]) -> Tuple[Any, ...]:
|
||||
return get_args(type_)
|
||||
|
||||
|
||||
else:
|
||||
|
||||
def is_literal_type(type_: Type[Any]) -> bool:
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
# requirements for compilation and from setup.py so dependabot prompts us to test with latest version of these packages
|
||||
|
||||
Cython==0.29.24;sys_platform!='win32'
|
||||
Cython==0.29.25;sys_platform!='win32'
|
||||
devtools==0.8.0
|
||||
email-validator==1.1.3
|
||||
dataclasses==0.6; python_version < '3.7'
|
||||
typing-extensions==3.10.0.2
|
||||
python-dotenv==0.19.1
|
||||
typing-extensions==4.0.1
|
||||
python-dotenv==0.19.2
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
black==21.9b0
|
||||
black==21.12b0
|
||||
flake8==4.0.1
|
||||
flake8-quotes==3.3.1
|
||||
hypothesis==6.24.0
|
||||
isort==5.9.3
|
||||
hypothesis==6.30.1
|
||||
isort==5.10.1
|
||||
mypy==0.910
|
||||
types-toml==0.10.1
|
||||
pycodestyle==2.8.0
|
||||
pyflakes==2.4.0
|
||||
twine==3.4.2
|
||||
twine==3.7.0
|
||||
@@ -1,5 +1,5 @@
|
||||
coverage==6.0.2
|
||||
hypothesis==6.24.0
|
||||
coverage==6.2
|
||||
hypothesis==6.30.1
|
||||
# pin importlib-metadata as upper versions need typing-extensions to work if on python < 3.8
|
||||
importlib-metadata==3.1.0;python_version<"3.8"
|
||||
mypy==0.910
|
||||
|
||||
Reference in New Issue
Block a user