Skip to content

Commit 2f8f499

Browse files
committed
Intermediate changes
commit_hash:8a49e0ee63428d74bcd80fe804b8bb1b7c066a89
1 parent 0b5c70e commit 2f8f499

File tree

7 files changed

+37
-19
lines changed

7 files changed

+37
-19
lines changed

contrib/python/allure-pytest/.dist-info/METADATA

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.4
22
Name: allure-pytest
3-
Version: 2.14.1
3+
Version: 2.14.2
44
Summary: Allure pytest integration
55
Home-page: https://allurereport.org/
66
Author: Qameta Software Inc., Stanislav Seliverstov
@@ -25,7 +25,7 @@ Classifier: Programming Language :: Python :: 3.12
2525
Classifier: Programming Language :: Python :: 3.13
2626
Description-Content-Type: text/markdown
2727
Requires-Dist: pytest>=4.5.0
28-
Requires-Dist: allure-python-commons==2.14.1
28+
Requires-Dist: allure-python-commons==2.14.2
2929
Dynamic: author
3030
Dynamic: author-email
3131
Dynamic: classifier

contrib/python/allure-pytest/ya.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
PY3_LIBRARY()
44

5-
VERSION(2.14.1)
5+
VERSION(2.14.2)
66

77
LICENSE(Apache-2.0)
88

contrib/python/allure-python-commons/.dist-info/METADATA

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.4
22
Name: allure-python-commons
3-
Version: 2.14.1
3+
Version: 2.14.2
44
Summary: Contains the API for end users as well as helper functions and classes to build Allure adapters for Python test frameworks
55
Home-page: https://allurereport.org/
66
Author: Qameta Software Inc., Stanislav Seliverstov

contrib/python/allure-python-commons/ya.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
PY3_LIBRARY()
44

5-
VERSION(2.14.1)
5+
VERSION(2.14.2)
66

77
LICENSE(Apache-2.0)
88

contrib/python/typing-extensions/py3/.dist-info/METADATA

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.4
22
Name: typing_extensions
3-
Version: 4.13.0
3+
Version: 4.13.2
44
Summary: Backported and Experimental Type Hints for Python 3.8+
55
Keywords: annotations,backport,checker,checking,function,hinting,hints,type,typechecking,typehinting,typehints,typing
66
Author-email: "Guido van Rossum, Jukka Lehtosalo, Łukasz Langa, Michael Lee" <levkivskyi@gmail.com>

contrib/python/typing-extensions/py3/typing_extensions.py

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2072,7 +2072,7 @@ def _create_concatenate_alias(origin, parameters):
20722072
if parameters[-1] is ... and sys.version_info < (3, 9, 2):
20732073
# Hack: Arguments must be types, replace it with one.
20742074
parameters = (*parameters[:-1], _EllipsisDummy)
2075-
if sys.version_info >= (3, 10, 2):
2075+
if sys.version_info >= (3, 10, 3):
20762076
concatenate = _ConcatenateGenericAlias(origin, parameters,
20772077
_typevar_types=(TypeVar, ParamSpec),
20782078
_paramspec_tvars=True)
@@ -3123,7 +3123,8 @@ def method(self) -> None:
31233123
return arg
31243124

31253125

3126-
if hasattr(warnings, "deprecated"):
3126+
# Python 3.13.3+ contains a fix for the wrapped __new__
3127+
if sys.version_info >= (3, 13, 3):
31273128
deprecated = warnings.deprecated
31283129
else:
31293130
_T = typing.TypeVar("_T")
@@ -3203,7 +3204,7 @@ def __call__(self, arg: _T, /) -> _T:
32033204
original_new = arg.__new__
32043205

32053206
@functools.wraps(original_new)
3206-
def __new__(cls, *args, **kwargs):
3207+
def __new__(cls, /, *args, **kwargs):
32073208
if cls is arg:
32083209
warnings.warn(msg, category=category, stacklevel=stacklevel + 1)
32093210
if original_new is not object.__new__:
@@ -3827,14 +3828,27 @@ def __ror__(self, other):
38273828
TypeAliasType = typing.TypeAliasType
38283829
# 3.8-3.13
38293830
else:
3830-
def _is_unionable(obj):
3831-
"""Corresponds to is_unionable() in unionobject.c in CPython."""
3832-
return obj is None or isinstance(obj, (
3833-
type,
3834-
_types.GenericAlias,
3835-
_types.UnionType,
3836-
TypeAliasType,
3837-
))
3831+
if sys.version_info >= (3, 12):
3832+
# 3.12-3.14
3833+
def _is_unionable(obj):
3834+
"""Corresponds to is_unionable() in unionobject.c in CPython."""
3835+
return obj is None or isinstance(obj, (
3836+
type,
3837+
_types.GenericAlias,
3838+
_types.UnionType,
3839+
typing.TypeAliasType,
3840+
TypeAliasType,
3841+
))
3842+
else:
3843+
# 3.8-3.11
3844+
def _is_unionable(obj):
3845+
"""Corresponds to is_unionable() in unionobject.c in CPython."""
3846+
return obj is None or isinstance(obj, (
3847+
type,
3848+
_types.GenericAlias,
3849+
_types.UnionType,
3850+
TypeAliasType,
3851+
))
38383852

38393853
if sys.version_info < (3, 10):
38403854
# Copied and pasted from https://github.com/python/cpython/blob/986a4e1b6fcae7fe7a1d0a26aea446107dd58dd2/Objects/genericaliasobject.c#L568-L582,
@@ -4371,7 +4385,11 @@ def _lax_type_check(
43714385
A lax Python 3.11+ like version of typing._type_check
43724386
"""
43734387
if hasattr(typing, "_type_convert"):
4374-
if _FORWARD_REF_HAS_CLASS:
4388+
if (
4389+
sys.version_info >= (3, 10, 3)
4390+
or (3, 9, 10) < sys.version_info[:3] < (3, 10)
4391+
):
4392+
# allow_special_forms introduced later cpython/#30926 (bpo-46539)
43754393
type_ = typing._type_convert(
43764394
value,
43774395
module=module,

contrib/python/typing-extensions/py3/ya.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
PY3_LIBRARY()
44

5-
VERSION(4.13.0)
5+
VERSION(4.13.2)
66

77
LICENSE(PSF-2.0)
88

0 commit comments

Comments
 (0)