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

Upgrade pythonfinder to 2.0.0 which brings in pydantic #5677

Merged
merged 4 commits into from
May 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/5677.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade ``pythonfinder==2.0.0`` which also brings in ``pydantic==1.10.7``.
2 changes: 1 addition & 1 deletion pipenv/vendor/click/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from .utils import PacifyFlushWrapper

if t.TYPE_CHECKING:
import typing_extensions as te
import pipenv.vendor.typing_extensions as te
from .shell_completion import CompletionItem

F = t.TypeVar("F", bound=t.Callable[..., t.Any])
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/click/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from threading import local

if t.TYPE_CHECKING:
import typing_extensions as te
import pipenv.vendor.typing_extensions as te
from .core import Context

_local = local()
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/click/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from .exceptions import UsageError

if t.TYPE_CHECKING:
import typing_extensions as te
import pipenv.vendor.typing_extensions as te
from .core import Argument as CoreArgument
from .core import Context
from .core import Option as CoreOption
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/click/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from .utils import safecall

if t.TYPE_CHECKING:
import typing_extensions as te
import pipenv.vendor.typing_extensions as te
from .core import Context
from .core import Parameter
from .shell_completion import CompletionItem
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/click/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from .globals import resolve_color_default

if t.TYPE_CHECKING:
import typing_extensions as te
import pipenv.vendor.typing_extensions as te

F = t.TypeVar("F", bound=t.Callable[..., t.Any])

Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/markupsafe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import typing as t

if t.TYPE_CHECKING:
import typing_extensions as te
import pipenv.vendor.typing_extensions as te

class HasHTML(te.Protocol):
def __html__(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License
The MIT License (MIT)

Copyright (c) 2016 Steve Dower
Copyright (c) 2017, 2018, 2019, 2020, 2021 Samuel Colvin and other contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
131 changes: 131 additions & 0 deletions pipenv/vendor/pydantic/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
# flake8: noqa
from . import dataclasses
from .annotated_types import create_model_from_namedtuple, create_model_from_typeddict
from .class_validators import root_validator, validator
from .config import BaseConfig, ConfigDict, Extra
from .decorator import validate_arguments
from .env_settings import BaseSettings
from .error_wrappers import ValidationError
from .errors import *
from .fields import Field, PrivateAttr, Required
from .main import *
from .networks import *
from .parse import Protocol
from .tools import *
from .types import *
from .version import VERSION, compiled

__version__ = VERSION

# WARNING __all__ from .errors is not included here, it will be removed as an export here in v2
# please use "from pydantic.errors import ..." instead
__all__ = [
# annotated types utils
'create_model_from_namedtuple',
'create_model_from_typeddict',
# dataclasses
'dataclasses',
# class_validators
'root_validator',
'validator',
# config
'BaseConfig',
'ConfigDict',
'Extra',
# decorator
'validate_arguments',
# env_settings
'BaseSettings',
# error_wrappers
'ValidationError',
# fields
'Field',
'Required',
# main
'BaseModel',
'create_model',
'validate_model',
# network
'AnyUrl',
'AnyHttpUrl',
'FileUrl',
'HttpUrl',
'stricturl',
'EmailStr',
'NameEmail',
'IPvAnyAddress',
'IPvAnyInterface',
'IPvAnyNetwork',
'PostgresDsn',
'CockroachDsn',
'AmqpDsn',
'RedisDsn',
'MongoDsn',
'KafkaDsn',
'validate_email',
# parse
'Protocol',
# tools
'parse_file_as',
'parse_obj_as',
'parse_raw_as',
'schema_of',
'schema_json_of',
# types
'NoneStr',
'NoneBytes',
'StrBytes',
'NoneStrBytes',
'StrictStr',
'ConstrainedBytes',
'conbytes',
'ConstrainedList',
'conlist',
'ConstrainedSet',
'conset',
'ConstrainedFrozenSet',
'confrozenset',
'ConstrainedStr',
'constr',
'PyObject',
'ConstrainedInt',
'conint',
'PositiveInt',
'NegativeInt',
'NonNegativeInt',
'NonPositiveInt',
'ConstrainedFloat',
'confloat',
'PositiveFloat',
'NegativeFloat',
'NonNegativeFloat',
'NonPositiveFloat',
'FiniteFloat',
'ConstrainedDecimal',
'condecimal',
'ConstrainedDate',
'condate',
'UUID1',
'UUID3',
'UUID4',
'UUID5',
'FilePath',
'DirectoryPath',
'Json',
'JsonWrapper',
'SecretField',
'SecretStr',
'SecretBytes',
'StrictBool',
'StrictBytes',
'StrictInt',
'StrictFloat',
'PaymentCardNumber',
'PrivateAttr',
'ByteSize',
'PastDate',
'FutureDate',
# version
'compiled',
'VERSION',
]
Loading