aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-09-28 20:59:11 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-09-28 21:08:29 +0300
commit1c97858dd693c8a6831d065ead236fe9ae8fd791 (patch)
treea0b3c4287993d0c8473a75b2b8d4f9e149ab0d7f
parent55c711d26048691eba675e53fb4a4ee7d7955b4a (diff)
downloadydb-1c97858dd693c8a6831d065ead236fe9ae8fd791.tar.gz
Intermediate changes
commit_hash:10679e13fc6558743430c2ef4a4bf312553fc7e8
-rw-r--r--contrib/python/hypothesis/py3/.dist-info/METADATA2
-rw-r--r--contrib/python/hypothesis/py3/hypothesis/extra/numpy.py1
-rw-r--r--contrib/python/hypothesis/py3/hypothesis/version.py2
-rw-r--r--contrib/python/hypothesis/py3/ya.make2
-rw-r--r--contrib/python/multidict/.dist-info/METADATA30
-rw-r--r--contrib/python/multidict/README.rst18
-rw-r--r--contrib/python/multidict/multidict/__init__.py2
-rw-r--r--contrib/python/multidict/multidict/_compat.py2
-rw-r--r--contrib/python/multidict/multidict/_multidict_base.py8
-rw-r--r--contrib/python/multidict/tests/test_multidict.py103
-rw-r--r--contrib/python/multidict/ya.make2
-rw-r--r--contrib/python/pyasn1-modules/py3/.dist-info/METADATA3
-rw-r--r--contrib/python/pyasn1-modules/py3/pyasn1_modules/__init__.py2
-rw-r--r--contrib/python/pyasn1-modules/py3/ya.make2
-rw-r--r--contrib/restricted/fast_float/README.md2
-rw-r--r--contrib/restricted/fast_float/ya.make4
16 files changed, 146 insertions, 39 deletions
diff --git a/contrib/python/hypothesis/py3/.dist-info/METADATA b/contrib/python/hypothesis/py3/.dist-info/METADATA
index b78a2eeab3..ba6c935a9d 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.112.0
+Version: 6.112.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/extra/numpy.py b/contrib/python/hypothesis/py3/hypothesis/extra/numpy.py
index de0940c97d..b6e75d3efa 100644
--- a/contrib/python/hypothesis/py3/hypothesis/extra/numpy.py
+++ b/contrib/python/hypothesis/py3/hypothesis/extra/numpy.py
@@ -1305,7 +1305,6 @@ def _dtype_from_args(args):
else:
# Two args: ndarray[shape, type], NDArray[*]
assert len(args) == 2
- assert args[0] is Any
dtype = _unpack_dtype(args[1])
if dtype is Any:
diff --git a/contrib/python/hypothesis/py3/hypothesis/version.py b/contrib/python/hypothesis/py3/hypothesis/version.py
index 2c69dd8977..6440a1854a 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, 112, 0)
+__version_info__ = (6, 112, 1)
__version__ = ".".join(map(str, __version_info__))
diff --git a/contrib/python/hypothesis/py3/ya.make b/contrib/python/hypothesis/py3/ya.make
index ce520eaa5f..cc05026788 100644
--- a/contrib/python/hypothesis/py3/ya.make
+++ b/contrib/python/hypothesis/py3/ya.make
@@ -2,7 +2,7 @@
PY3_LIBRARY()
-VERSION(6.112.0)
+VERSION(6.112.1)
LICENSE(MPL-2.0)
diff --git a/contrib/python/multidict/.dist-info/METADATA b/contrib/python/multidict/.dist-info/METADATA
index 9d9b4a7212..93f85177b9 100644
--- a/contrib/python/multidict/.dist-info/METADATA
+++ b/contrib/python/multidict/.dist-info/METADATA
@@ -1,14 +1,17 @@
Metadata-Version: 2.1
Name: multidict
-Version: 6.0.5
+Version: 6.1.0
Summary: multidict implementation
Home-page: https://github.com/aio-libs/multidict
Author: Andrew Svetlov
Author-email: andrew.svetlov@gmail.com
License: Apache 2
-Project-URL: Chat: Gitter, https://gitter.im/aio-libs/Lobby
+Project-URL: Chat: Matrix, https://matrix.to/#/#aio-libs:matrix.org
+Project-URL: Chat: Matrix Space, https://matrix.to/#/#aio-libs-space:matrix.org
Project-URL: CI: GitHub, https://github.com/aio-libs/multidict/actions
+Project-URL: Code of Conduct, https://github.com/aio-libs/.github/blob/master/CODE_OF_CONDUCT.md
Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/multidict
+Project-URL: Docs: Changelog, https://multidict.aio-libs.org/en/latest/changes/
Project-URL: Docs: RTD, https://multidict.aio-libs.org
Project-URL: GitHub: issues, https://github.com/aio-libs/multidict/issues
Project-URL: GitHub: repo, https://github.com/aio-libs/multidict
@@ -17,22 +20,23 @@ Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
-Requires-Python: >=3.7
+Classifier: Programming Language :: Python :: 3.13
+Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE
+Requires-Dist: typing-extensions >=4.1.0 ; python_version < "3.11"
=========
multidict
=========
-.. image:: https://github.com/aio-libs/multidict/workflows/CI/badge.svg
- :target: https://github.com/aio-libs/multidict/actions?query=workflow%3ACI
+.. image:: https://github.com/aio-libs/multidict/actions/workflows/ci-cd.yml/badge.svg
+ :target: https://github.com/aio-libs/multidict/actions
:alt: GitHub status for master branch
.. image:: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg
@@ -44,16 +48,20 @@ multidict
:alt: PyPI
.. image:: https://readthedocs.org/projects/multidict/badge/?version=latest
- :target: http://multidict.aio-libs.org/en/latest/?badge=latest
- :alt: Documentation
+ :target: https://multidict.aio-libs.org
+ :alt: Read The Docs build status badge
.. image:: https://img.shields.io/pypi/pyversions/multidict.svg
:target: https://pypi.org/project/multidict
:alt: Python versions
-.. image:: https://badges.gitter.im/Join%20Chat.svg
- :target: https://gitter.im/aio-libs/Lobby
- :alt: Chat on Gitter
+.. image:: https://img.shields.io/matrix/aio-libs:matrix.org?label=Discuss%20on%20Matrix%20at%20%23aio-libs%3Amatrix.org&logo=matrix&server_fqdn=matrix.org&style=flat
+ :target: https://matrix.to/#/%23aio-libs:matrix.org
+ :alt: Matrix Room — #aio-libs:matrix.org
+
+.. image:: https://img.shields.io/matrix/aio-libs-space:matrix.org?label=Discuss%20on%20Matrix%20at%20%23aio-libs-space%3Amatrix.org&logo=matrix&server_fqdn=matrix.org&style=flat
+ :target: https://matrix.to/#/%23aio-libs-space:matrix.org
+ :alt: Matrix Space — #aio-libs-space:matrix.org
Multidict is dict-like collection of *key-value pairs* where key
might occur more than once in the container.
diff --git a/contrib/python/multidict/README.rst b/contrib/python/multidict/README.rst
index df20596979..40d84b8585 100644
--- a/contrib/python/multidict/README.rst
+++ b/contrib/python/multidict/README.rst
@@ -2,8 +2,8 @@
multidict
=========
-.. image:: https://github.com/aio-libs/multidict/workflows/CI/badge.svg
- :target: https://github.com/aio-libs/multidict/actions?query=workflow%3ACI
+.. image:: https://github.com/aio-libs/multidict/actions/workflows/ci-cd.yml/badge.svg
+ :target: https://github.com/aio-libs/multidict/actions
:alt: GitHub status for master branch
.. image:: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg
@@ -15,16 +15,20 @@ multidict
:alt: PyPI
.. image:: https://readthedocs.org/projects/multidict/badge/?version=latest
- :target: http://multidict.aio-libs.org/en/latest/?badge=latest
- :alt: Documentation
+ :target: https://multidict.aio-libs.org
+ :alt: Read The Docs build status badge
.. image:: https://img.shields.io/pypi/pyversions/multidict.svg
:target: https://pypi.org/project/multidict
:alt: Python versions
-.. image:: https://badges.gitter.im/Join%20Chat.svg
- :target: https://gitter.im/aio-libs/Lobby
- :alt: Chat on Gitter
+.. image:: https://img.shields.io/matrix/aio-libs:matrix.org?label=Discuss%20on%20Matrix%20at%20%23aio-libs%3Amatrix.org&logo=matrix&server_fqdn=matrix.org&style=flat
+ :target: https://matrix.to/#/%23aio-libs:matrix.org
+ :alt: Matrix Room — #aio-libs:matrix.org
+
+.. image:: https://img.shields.io/matrix/aio-libs-space:matrix.org?label=Discuss%20on%20Matrix%20at%20%23aio-libs-space%3Amatrix.org&logo=matrix&server_fqdn=matrix.org&style=flat
+ :target: https://matrix.to/#/%23aio-libs-space:matrix.org
+ :alt: Matrix Space — #aio-libs-space:matrix.org
Multidict is dict-like collection of *key-value pairs* where key
might occur more than once in the container.
diff --git a/contrib/python/multidict/multidict/__init__.py b/contrib/python/multidict/multidict/__init__.py
index 23142eeafd..25ddca41e9 100644
--- a/contrib/python/multidict/multidict/__init__.py
+++ b/contrib/python/multidict/multidict/__init__.py
@@ -20,7 +20,7 @@ __all__ = (
"getversion",
)
-__version__ = "6.0.5"
+__version__ = "6.1.0"
try:
diff --git a/contrib/python/multidict/multidict/_compat.py b/contrib/python/multidict/multidict/_compat.py
index d1ff392b25..4713da2cea 100644
--- a/contrib/python/multidict/multidict/_compat.py
+++ b/contrib/python/multidict/multidict/_compat.py
@@ -9,6 +9,6 @@ USE_EXTENSIONS = not NO_EXTENSIONS and not PYPY
if USE_EXTENSIONS:
try:
- from . import _multidict # noqa
+ from . import _multidict # type: ignore[attr-defined] # noqa: F401
except ImportError:
USE_EXTENSIONS = False
diff --git a/contrib/python/multidict/multidict/_multidict_base.py b/contrib/python/multidict/multidict/_multidict_base.py
index 394466548c..de2f762a5c 100644
--- a/contrib/python/multidict/multidict/_multidict_base.py
+++ b/contrib/python/multidict/multidict/_multidict_base.py
@@ -1,5 +1,11 @@
+import sys
from collections.abc import ItemsView, Iterable, KeysView, Set, ValuesView
+if sys.version_info >= (3, 11):
+ from typing import assert_never
+else:
+ from typing_extensions import assert_never
+
def _abc_itemsview_register(view_cls):
ItemsView.register(view_cls)
@@ -46,6 +52,8 @@ def _viewbaseset_richcmp(view, other, op):
if elem not in view:
return False
return True
+ else: # pragma: no cover
+ assert_never(op)
def _viewbaseset_and(view, other):
diff --git a/contrib/python/multidict/tests/test_multidict.py b/contrib/python/multidict/tests/test_multidict.py
index 3173fe24c7..bcfa699c15 100644
--- a/contrib/python/multidict/tests/test_multidict.py
+++ b/contrib/python/multidict/tests/test_multidict.py
@@ -286,10 +286,25 @@ class BaseMultiDictTest:
assert d.keys() < {"key", "key2"}
- def test_keys_is_set_less_equal(self, cls: Type[MutableMultiMapping[str]]) -> None:
- d = cls([("key", "value1")])
+ @pytest.mark.parametrize(
+ ("contents", "expected"),
+ (
+ ([("key", "value1")], True),
+ ([("key", "value1"), ("key2", "value2")], True),
+ ([("key", "value1"), ("key2", "value2"), ("key3", "value3")], False),
+ ([("key", "value1"), ("key3", "value3")], False),
+ ),
+ )
+ def test_keys_is_set_less_equal(
+ self,
+ cls: Type[MutableMultiMapping[str]],
+ contents: List[Tuple[str, str]],
+ expected: bool,
+ ) -> None:
+ d = cls(contents)
- assert d.keys() <= {"key"}
+ result = d.keys() <= {"key", "key2"}
+ assert result is expected
def test_keys_is_set_equal(self, cls: Type[MutableMultiMapping[str]]) -> None:
d = cls([("key", "value1")])
@@ -297,23 +312,95 @@ class BaseMultiDictTest:
assert d.keys() == {"key"}
def test_keys_is_set_greater(self, cls: Type[MutableMultiMapping[str]]) -> None:
- d = cls([("key", "value1")])
+ d = cls([("key", "value1"), ("key2", "value2")])
- assert {"key", "key2"} > d.keys()
+ assert d.keys() > {"key"}
+ @pytest.mark.parametrize(
+ ("set_", "expected"),
+ (
+ ({"key"}, True),
+ ({"key", "key2"}, True),
+ ({"key", "key2", "key3"}, False),
+ ({"key3"}, False),
+ ),
+ )
def test_keys_is_set_greater_equal(
- self,
- cls: Type[MutableMultiMapping[str]],
+ self, cls: Type[MutableMultiMapping[str]], set_: Set[str], expected: bool
+ ) -> None:
+ d = cls([("key", "value1"), ("key2", "value2")])
+
+ result = d.keys() >= set_
+ assert result is expected
+
+ def test_keys_less_than_not_implemented(
+ self, cls: Type[MutableMultiMapping[str]]
+ ) -> None:
+ d = cls([("key", "value1")])
+
+ sentinel_operation_result = object()
+
+ class RightOperand:
+ def __gt__(self, other: KeysView[str]) -> object:
+ assert isinstance(other, KeysView)
+ return sentinel_operation_result
+
+ assert (d.keys() < RightOperand()) is sentinel_operation_result
+
+ def test_keys_less_than_or_equal_not_implemented(
+ self, cls: Type[MutableMultiMapping[str]]
) -> None:
d = cls([("key", "value1")])
- assert {"key"} >= d.keys()
+ sentinel_operation_result = object()
+
+ class RightOperand:
+ def __ge__(self, other: KeysView[str]) -> object:
+ assert isinstance(other, KeysView)
+ return sentinel_operation_result
+
+ assert (d.keys() <= RightOperand()) is sentinel_operation_result
+
+ def test_keys_greater_than_not_implemented(
+ self, cls: Type[MutableMultiMapping[str]]
+ ) -> None:
+ d = cls([("key", "value1")])
+
+ sentinel_operation_result = object()
+
+ class RightOperand:
+ def __lt__(self, other: KeysView[str]) -> object:
+ assert isinstance(other, KeysView)
+ return sentinel_operation_result
+
+ assert (d.keys() > RightOperand()) is sentinel_operation_result
+
+ def test_keys_greater_than_or_equal_not_implemented(
+ self, cls: Type[MutableMultiMapping[str]]
+ ) -> None:
+ d = cls([("key", "value1")])
+
+ sentinel_operation_result = object()
+
+ class RightOperand:
+ def __le__(self, other: KeysView[str]) -> object:
+ assert isinstance(other, KeysView)
+ return sentinel_operation_result
+
+ assert (d.keys() >= RightOperand()) is sentinel_operation_result
def test_keys_is_set_not_equal(self, cls: Type[MutableMultiMapping[str]]) -> None:
d = cls([("key", "value1")])
assert d.keys() != {"key2"}
+ def test_keys_not_equal_unrelated_type(
+ self, cls: Type[MutableMultiMapping[str]]
+ ) -> None:
+ d = cls([("key", "value1")])
+
+ assert d.keys() != "other"
+
def test_eq(self, cls: Type[MutableMultiMapping[str]]) -> None:
d = cls([("key", "value1")])
diff --git a/contrib/python/multidict/ya.make b/contrib/python/multidict/ya.make
index 65195b87ce..8a2950eae9 100644
--- a/contrib/python/multidict/ya.make
+++ b/contrib/python/multidict/ya.make
@@ -2,7 +2,7 @@
PY3_LIBRARY()
-VERSION(6.0.5)
+VERSION(6.1.0)
LICENSE(Apache-2.0)
diff --git a/contrib/python/pyasn1-modules/py3/.dist-info/METADATA b/contrib/python/pyasn1-modules/py3/.dist-info/METADATA
index 7216c756f7..40fc8b89b3 100644
--- a/contrib/python/pyasn1-modules/py3/.dist-info/METADATA
+++ b/contrib/python/pyasn1-modules/py3/.dist-info/METADATA
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pyasn1_modules
-Version: 0.4.0
+Version: 0.4.1
Summary: A collection of ASN.1-based protocols modules
Home-page: https://github.com/pyasn1/pyasn1-modules
Author: Ilya Etingof
@@ -28,6 +28,7 @@ Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Communications
diff --git a/contrib/python/pyasn1-modules/py3/pyasn1_modules/__init__.py b/contrib/python/pyasn1-modules/py3/pyasn1_modules/__init__.py
index 633dc1a0a2..ae0ff01d7b 100644
--- a/contrib/python/pyasn1-modules/py3/pyasn1_modules/__init__.py
+++ b/contrib/python/pyasn1-modules/py3/pyasn1_modules/__init__.py
@@ -1,2 +1,2 @@
# http://www.python.org/dev/peps/pep-0396/
-__version__ = '0.4.0'
+__version__ = '0.4.1'
diff --git a/contrib/python/pyasn1-modules/py3/ya.make b/contrib/python/pyasn1-modules/py3/ya.make
index 626837de1b..d244d3e2d2 100644
--- a/contrib/python/pyasn1-modules/py3/ya.make
+++ b/contrib/python/pyasn1-modules/py3/ya.make
@@ -2,7 +2,7 @@
PY3_LIBRARY()
-VERSION(0.4.0)
+VERSION(0.4.1)
LICENSE(BSD-2-Clause)
diff --git a/contrib/restricted/fast_float/README.md b/contrib/restricted/fast_float/README.md
index 316f813e3a..dfbb68d1af 100644
--- a/contrib/restricted/fast_float/README.md
+++ b/contrib/restricted/fast_float/README.md
@@ -435,7 +435,7 @@ the command line help.
You may directly download automatically generated single-header files:
-https://github.com/fastfloat/fast_float/releases/download/v6.1.5/fast_float.h
+https://github.com/fastfloat/fast_float/releases/download/v6.1.6/fast_float.h
## Packages
diff --git a/contrib/restricted/fast_float/ya.make b/contrib/restricted/fast_float/ya.make
index 92f9329ca0..3b3c6fa697 100644
--- a/contrib/restricted/fast_float/ya.make
+++ b/contrib/restricted/fast_float/ya.make
@@ -10,9 +10,9 @@ LICENSE(
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(6.1.5)
+VERSION(6.1.6)
-ORIGINAL_SOURCE(https://github.com/fastfloat/fast_float/archive/v6.1.5.tar.gz)
+ORIGINAL_SOURCE(https://github.com/fastfloat/fast_float/archive/v6.1.6.tar.gz)
NO_COMPILER_WARNINGS()