diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-08-23 10:55:51 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-08-23 11:03:55 +0300 |
commit | 6494b885fc509f8bb4bee9de2fdc877f7076801d (patch) | |
tree | 2b9d54da4fa291d5a3663bccf00dc8e79d403cb2 /contrib/python | |
parent | 86410a8833e6d17a11a23534d2ce2948f1c11193 (diff) | |
download | ydb-6494b885fc509f8bb4bee9de2fdc877f7076801d.tar.gz |
Intermediate changes
Diffstat (limited to 'contrib/python')
8 files changed, 17 insertions, 5 deletions
diff --git a/contrib/python/hypothesis/py3/.dist-info/METADATA b/contrib/python/hypothesis/py3/.dist-info/METADATA index 9a38b4132f..1e09939db8 100644 --- a/contrib/python/hypothesis/py3/.dist-info/METADATA +++ b/contrib/python/hypothesis/py3/.dist-info/METADATA @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hypothesis -Version: 6.110.0 +Version: 6.110.1 Summary: A library for property-based testing Home-page: https://hypothesis.works Author: David R. MacIver and Zac Hatfield-Dodds diff --git a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/types.py b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/types.py index d5fef48aad..85051cfdbe 100644 --- a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/types.py +++ b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/types.py @@ -120,7 +120,11 @@ try: except AttributeError: # pragma: no cover pass # Is missing for `python<3.10` try: - TypeGuardTypes += (typing_extensions.TypeGuard,) + TypeGuardTypes += (typing.TypeIs,) # type: ignore +except AttributeError: # pragma: no cover + pass # Is missing for `python<3.13` +try: + TypeGuardTypes += (typing_extensions.TypeGuard, typing_extensions.TypeIs) except AttributeError: # pragma: no cover pass # `typing_extensions` might not be installed @@ -1067,7 +1071,7 @@ def resolve_Callable(thing): if get_origin(return_type) in TypeGuardTypes: raise InvalidArgument( "Hypothesis cannot yet construct a strategy for callables which " - f"are PEP-647 TypeGuards (got {return_type!r}). " + f"are PEP-647 TypeGuards or PEP-742 TypeIs (got {return_type!r}). " "Consider using an explicit strategy, or opening an issue." ) diff --git a/contrib/python/hypothesis/py3/hypothesis/version.py b/contrib/python/hypothesis/py3/hypothesis/version.py index 007af37ae6..e02ca3db87 100644 --- a/contrib/python/hypothesis/py3/hypothesis/version.py +++ b/contrib/python/hypothesis/py3/hypothesis/version.py @@ -8,5 +8,5 @@ # v. 2.0. If a copy of the MPL was not distributed with this file, You can # obtain one at https://mozilla.org/MPL/2.0/. -__version_info__ = (6, 110, 0) +__version_info__ = (6, 110, 1) __version__ = ".".join(map(str, __version_info__)) diff --git a/contrib/python/hypothesis/py3/ya.make b/contrib/python/hypothesis/py3/ya.make index 7e33dc4497..44835a36ca 100644 --- a/contrib/python/hypothesis/py3/ya.make +++ b/contrib/python/hypothesis/py3/ya.make @@ -2,7 +2,7 @@ PY3_LIBRARY() -VERSION(6.110.0) +VERSION(6.110.1) LICENSE(MPL-2.0) diff --git a/contrib/python/matplotlib/py2/extern/agg24-svn/ya.make b/contrib/python/matplotlib/py2/extern/agg24-svn/ya.make index b8e286b07c..c2ae9ed70f 100644 --- a/contrib/python/matplotlib/py2/extern/agg24-svn/ya.make +++ b/contrib/python/matplotlib/py2/extern/agg24-svn/ya.make @@ -1,5 +1,7 @@ LIBRARY() +VERSION(2.2.5) + LICENSE(PSF-2.0) ADDINCL( diff --git a/contrib/python/matplotlib/py2/extern/ttconv/ya.make b/contrib/python/matplotlib/py2/extern/ttconv/ya.make index 847ab2038d..c36ec960b9 100644 --- a/contrib/python/matplotlib/py2/extern/ttconv/ya.make +++ b/contrib/python/matplotlib/py2/extern/ttconv/ya.make @@ -1,5 +1,7 @@ PY23_LIBRARY() +VERSION(2.2.5) + LICENSE(PSF-2.0) NO_WSHADOW() diff --git a/contrib/python/matplotlib/py2/matplotlib/tri/ya.make b/contrib/python/matplotlib/py2/matplotlib/tri/ya.make index ca8a632471..fb0545dd9f 100644 --- a/contrib/python/matplotlib/py2/matplotlib/tri/ya.make +++ b/contrib/python/matplotlib/py2/matplotlib/tri/ya.make @@ -1,5 +1,7 @@ PY2_LIBRARY() +VERSION(2.2.5) + LICENSE(PSF-2.0) NO_COMPILER_WARNINGS() diff --git a/contrib/python/matplotlib/py2/src/ya.make b/contrib/python/matplotlib/py2/src/ya.make index 544aba3996..486bc04e49 100644 --- a/contrib/python/matplotlib/py2/src/ya.make +++ b/contrib/python/matplotlib/py2/src/ya.make @@ -1,5 +1,7 @@ PY2_LIBRARY() +VERSION(2.2.5) + LICENSE(PSF-2.0) NO_COMPILER_WARNINGS() |