Skip to content

Commit 3f6c8c8

Browse files
committed
Merge branch 'rightlib' into merge-libs-250224-0050
2 parents 20441f2 + 98c1269 commit 3f6c8c8

File tree

82 files changed

+349
-489
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+349
-489
lines changed

contrib/libs/double-conversion/.yandex_meta/override.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
pkgs: attrs: with pkgs; with attrs; rec {
2-
version = "3.3.0";
2+
version = "3.3.1";
33

44
src = fetchFromGitHub {
55
owner = "google";
66
repo = "double-conversion";
77
rev = "v${version}";
8-
hash = "sha256-DkMoHHoHwV4p40IINEqEPzKsCa0LHrJAFw2Yftw7zHo=";
8+
hash = "sha256-M80H+azCzQYa4/gBLWv5GNNhEuHsH7LbJ/ajwmACnrM=";
99
};
1010

1111
patches = [];

contrib/libs/double-conversion/README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
Double Conversion
2+
========
13
https://github.com/google/double-conversion
24

5+
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/google/double-conversion/badge)](https://securityscorecards.dev/viewer/?uri=github.com/google/double-conversion)
6+
37
This project (double-conversion) provides binary-decimal and decimal-binary
48
routines for IEEE doubles.
59

@@ -15,7 +19,7 @@ There is extensive documentation in `double-conversion/string-to-double.h` and
1519
Building
1620
========
1721

18-
This library can be built with [scons][0] or [cmake][1].
22+
This library can be built with [scons][0], [cmake][1] or [bazel][2].
1923
The checked-in Makefile simply forwards to scons, and provides a
2024
shortcut to run all tests:
2125

@@ -51,5 +55,23 @@ Use `-DBUILD_TESTING=ON` to build the test executable.
5155
make
5256
test/cctest/cctest
5357

58+
Bazel
59+
---
60+
61+
The simplest way to adopt this library is through the [Bazel Central Registry](https://registry.bazel.build/modules/double-conversion).
62+
63+
To build the library from the latest repository, run:
64+
65+
```
66+
bazel build //:double-conversion
67+
```
68+
69+
To run the unit test, run:
70+
71+
```
72+
bazel test //:cctest
73+
```
74+
5475
[0]: http://www.scons.org/
5576
[1]: https://cmake.org/
77+
[2]: https://bazel.build/

contrib/libs/double-conversion/ya.make

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ LICENSE(BSD-3-Clause)
66

77
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
88

9-
VERSION(3.3.0)
9+
VERSION(3.3.1)
1010

11-
ORIGINAL_SOURCE(https://github.com/google/double-conversion/archive/v3.3.0.tar.gz)
11+
ORIGINAL_SOURCE(https://github.com/google/double-conversion/archive/v3.3.1.tar.gz)
1212

1313
ADDINCL(
1414
GLOBAL contrib/libs/double-conversion

contrib/python/types-protobuf/.dist-info/METADATA

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Metadata-Version: 2.1
1+
Metadata-Version: 2.2
22
Name: types-protobuf
3-
Version: 5.29.1.20241207
3+
Version: 5.29.1.20250208
44
Summary: Typing stubs for protobuf
55
Home-page: https://github.com/python/typeshed
66
License: Apache-2.0
@@ -11,9 +11,17 @@ Project-URL: Chat, https://gitter.im/python/typing
1111
Classifier: License :: OSI Approved :: Apache Software License
1212
Classifier: Programming Language :: Python :: 3
1313
Classifier: Typing :: Stubs Only
14-
Requires-Python: >=3.8
14+
Requires-Python: >=3.9
1515
Description-Content-Type: text/markdown
1616
License-File: LICENSE
17+
Dynamic: classifier
18+
Dynamic: description
19+
Dynamic: description-content-type
20+
Dynamic: home-page
21+
Dynamic: license
22+
Dynamic: project-url
23+
Dynamic: requires-python
24+
Dynamic: summary
1725

1826
## Typing stubs for protobuf
1927

@@ -42,8 +50,8 @@ for more details. The source for this package can be found in the
4250
directory.
4351

4452
This package was tested with
45-
mypy 1.13.0,
53+
mypy 1.15.0,
4654
pyright 1.1.389,
4755
and pytype 2024.10.11.
4856
It was generated from typeshed commit
49-
[`0e9c9e1362959512a880abbf1275471b0d76924f`](https://github.com/python/typeshed/commit/0e9c9e1362959512a880abbf1275471b0d76924f).
57+
[`73ebb9dfd7dfce93c5becde4dcdd51d5626853b8`](https://github.com/python/typeshed/commit/73ebb9dfd7dfce93c5becde4dcdd51d5626853b8).

contrib/python/types-protobuf/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ for more details. The source for this package can be found in the
2525
directory.
2626

2727
This package was tested with
28-
mypy 1.13.0,
28+
mypy 1.15.0,
2929
pyright 1.1.389,
3030
and pytype 2024.10.11.
3131
It was generated from typeshed commit
32-
[`0e9c9e1362959512a880abbf1275471b0d76924f`](https://github.com/python/typeshed/commit/0e9c9e1362959512a880abbf1275471b0d76924f).
32+
[`73ebb9dfd7dfce93c5becde4dcdd51d5626853b8`](https://github.com/python/typeshed/commit/73ebb9dfd7dfce93c5becde4dcdd51d5626853b8).
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
class GeneratedProtocolMessageType(type):
22
def __new__(cls, name, bases, dictionary): ...
3-
def __init__(self, /, name, bases, dictionary) -> None: ...
43

54
def ParseMessage(descriptor, byte_str): ...
65
def MakeClass(descriptor): ...

contrib/python/types-protobuf/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(5.29.1.20241207)
5+
VERSION(5.29.1.20250208)
66

77
LICENSE(Apache-2.0)
88

library/python/symbols/python/ut/py2/ya.make

Lines changed: 0 additions & 8 deletions
This file was deleted.

library/python/symbols/python/ut/py3/ya.make

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
PY23_LIBRARY()
2-
3-
4-
TEST_SRCS(test_ctypes.py)
1+
PY23_TEST()
52

63
PEERDIR(
74
library/python/symbols/python
85
)
96

10-
END()
11-
12-
RECURSE_FOR_TESTS(
13-
py2
14-
py3
7+
TEST_SRCS(
8+
test_ctypes.py
159
)
10+
11+
END()

yt/yt/client/api/config.h

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ DEFINE_ENUM(EConnectionType,
2929

3030
////////////////////////////////////////////////////////////////////////////////
3131

32-
class TTableMountCacheConfig
32+
struct TTableMountCacheConfig
3333
: public NTabletClient::TTableMountCacheConfig
3434
{
35-
public:
3635
int OnErrorRetryCount;
3736
TDuration OnErrorSlackPeriod;
3837

@@ -45,10 +44,9 @@ DEFINE_REFCOUNTED_TYPE(TTableMountCacheConfig)
4544

4645
////////////////////////////////////////////////////////////////////////////////
4746

48-
class TConnectionConfig
47+
struct TConnectionConfig
4948
: public virtual NYTree::TYsonStruct
5049
{
51-
public:
5250
EConnectionType ConnectionType;
5351
std::optional<std::string> ClusterName;
5452
TTableMountCacheConfigPtr TableMountCache;
@@ -63,10 +61,9 @@ DEFINE_REFCOUNTED_TYPE(TConnectionConfig)
6361

6462
////////////////////////////////////////////////////////////////////////////////
6563

66-
class TConnectionDynamicConfig
64+
struct TConnectionDynamicConfig
6765
: public virtual NYTree::TYsonStruct
6866
{
69-
public:
7067
NTabletClient::TTableMountCacheDynamicConfigPtr TableMountCache;
7168

7269
TExponentialBackoffOptions TabletWriteBackoff;
@@ -80,10 +77,9 @@ DEFINE_REFCOUNTED_TYPE(TConnectionDynamicConfig)
8077

8178
////////////////////////////////////////////////////////////////////////////////
8279

83-
class TPersistentQueuePollerConfig
80+
struct TPersistentQueuePollerConfig
8481
: public virtual NYTree::TYsonStruct
8582
{
86-
public:
8783
//! Try to keep at most this many prefetched rows in memory. This limit is approximate.
8884
i64 MaxPrefetchRowCount;
8985

@@ -124,10 +120,9 @@ DEFINE_REFCOUNTED_TYPE(TPersistentQueuePollerConfig)
124120

125121
////////////////////////////////////////////////////////////////////////////////
126122

127-
class TFileReaderConfig
123+
struct TFileReaderConfig
128124
: public virtual NChunkClient::TMultiChunkReaderConfig
129125
{
130-
public:
131126
REGISTER_YSON_STRUCT(TFileReaderConfig);
132127

133128
static void Register(TRegistrar)
@@ -138,11 +133,10 @@ DEFINE_REFCOUNTED_TYPE(TFileReaderConfig)
138133

139134
////////////////////////////////////////////////////////////////////////////////
140135

141-
class TFileWriterConfig
136+
struct TFileWriterConfig
142137
: public NChunkClient::TMultiChunkWriterConfig
143138
, public NFileClient::TFileChunkWriterConfig
144139
{
145-
public:
146140
REGISTER_YSON_STRUCT(TFileWriterConfig);
147141

148142
static void Register(TRegistrar)
@@ -153,11 +147,10 @@ DEFINE_REFCOUNTED_TYPE(TFileWriterConfig)
153147

154148
////////////////////////////////////////////////////////////////////////////////
155149

156-
class TJournalReaderConfig
150+
struct TJournalReaderConfig
157151
: public NJournalClient::TChunkReaderConfig
158152
, public TWorkloadConfig
159153
{
160-
public:
161154
REGISTER_YSON_STRUCT(TJournalReaderConfig);
162155

163156
static void Register(TRegistrar)
@@ -168,10 +161,9 @@ DEFINE_REFCOUNTED_TYPE(TJournalReaderConfig)
168161

169162
////////////////////////////////////////////////////////////////////////////////
170163

171-
class TJournalChunkWriterConfig
164+
struct TJournalChunkWriterConfig
172165
: public virtual TWorkloadConfig
173166
{
174-
public:
175167
int MaxBatchRowCount;
176168
i64 MaxBatchDataSize;
177169
TDuration MaxBatchDelay;
@@ -205,10 +197,9 @@ DEFINE_REFCOUNTED_TYPE(TJournalChunkWriterConfig)
205197

206198
////////////////////////////////////////////////////////////////////////////////
207199

208-
class TJournalWriterConfig
200+
struct TJournalWriterConfig
209201
: public TJournalChunkWriterConfig
210202
{
211-
public:
212203
int MaxChunkRowCount;
213204
i64 MaxChunkDataSize;
214205
TDuration MaxChunkSessionDuration;

yt/yt/client/api/public.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,17 @@ DECLARE_REFCOUNTED_STRUCT(IJournalWriter)
156156

157157
DECLARE_REFCOUNTED_CLASS(TPersistentQueuePoller)
158158

159-
DECLARE_REFCOUNTED_CLASS(TTableMountCacheConfig)
160-
DECLARE_REFCOUNTED_CLASS(TConnectionConfig)
161-
DECLARE_REFCOUNTED_CLASS(TConnectionDynamicConfig)
162-
DECLARE_REFCOUNTED_CLASS(TPersistentQueuePollerConfig)
159+
DECLARE_REFCOUNTED_STRUCT(TTableMountCacheConfig)
160+
DECLARE_REFCOUNTED_STRUCT(TConnectionConfig)
161+
DECLARE_REFCOUNTED_STRUCT(TConnectionDynamicConfig)
162+
DECLARE_REFCOUNTED_STRUCT(TPersistentQueuePollerConfig)
163163

164-
DECLARE_REFCOUNTED_CLASS(TFileReaderConfig)
165-
DECLARE_REFCOUNTED_CLASS(TFileWriterConfig)
166-
DECLARE_REFCOUNTED_CLASS(TJournalReaderConfig)
164+
DECLARE_REFCOUNTED_STRUCT(TFileReaderConfig)
165+
DECLARE_REFCOUNTED_STRUCT(TFileWriterConfig)
166+
DECLARE_REFCOUNTED_STRUCT(TJournalReaderConfig)
167167

168-
DECLARE_REFCOUNTED_CLASS(TJournalChunkWriterConfig)
169-
DECLARE_REFCOUNTED_CLASS(TJournalWriterConfig)
168+
DECLARE_REFCOUNTED_STRUCT(TJournalChunkWriterConfig)
169+
DECLARE_REFCOUNTED_STRUCT(TJournalWriterConfig)
170170

171171
DECLARE_REFCOUNTED_CLASS(TJournalChunkWriterOptions)
172172

yt/yt/client/api/rpc_proxy/config.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ namespace NYT::NApi::NRpcProxy {
1919

2020
////////////////////////////////////////////////////////////////////////////////
2121

22-
class TConnectionConfig
22+
struct TConnectionConfig
2323
: public NApi::TConnectionConfig
2424
{
25-
public:
2625
static TConnectionConfigPtr CreateFromClusterUrl(
2726
const std::string& clusterUrl,
2827
const std::optional<std::string>& proxyRole = {});

yt/yt/client/api/rpc_proxy/public.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ struct TConnectionOptions;
1111
DECLARE_REFCOUNTED_STRUCT(IRowStreamEncoder)
1212
DECLARE_REFCOUNTED_STRUCT(IRowStreamDecoder)
1313

14-
DECLARE_REFCOUNTED_CLASS(TConnectionConfig)
14+
DECLARE_REFCOUNTED_STRUCT(TConnectionConfig)
1515

1616
extern const TString ApiServiceName;
1717
extern const TString DiscoveryServiceName;

yt/yt/client/chaos_client/config.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ namespace NYT::NChaosClient {
1010

1111
////////////////////////////////////////////////////////////////////////////////
1212

13-
class TChaosCacheChannelConfig
13+
struct TChaosCacheChannelConfig
1414
: public NRpc::TRetryingChannelConfig
1515
, public NRpc::TBalancingChannelConfig
1616
{
17-
public:
1817
REGISTER_YSON_STRUCT(TChaosCacheChannelConfig);
1918

2019
static void Register(TRegistrar /*registrar*/)
@@ -25,11 +24,10 @@ DEFINE_REFCOUNTED_TYPE(TChaosCacheChannelConfig)
2524

2625
////////////////////////////////////////////////////////////////////////////////
2726

28-
class TReplicationCardCacheConfig
27+
struct TReplicationCardCacheConfig
2928
: public TAsyncExpiringCacheConfig
3029
, public TChaosCacheChannelConfig
3130
{
32-
public:
3331
bool EnableWatching;
3432

3533
REGISTER_YSON_STRUCT(TReplicationCardCacheConfig);
@@ -41,10 +39,9 @@ DEFINE_REFCOUNTED_TYPE(TReplicationCardCacheConfig)
4139

4240
////////////////////////////////////////////////////////////////////////////////
4341

44-
class TReplicationCardCacheDynamicConfig
42+
struct TReplicationCardCacheDynamicConfig
4543
: public virtual NYTree::TYsonStruct
4644
{
47-
public:
4845
std::optional<bool> EnableWatching;
4946

5047
REGISTER_YSON_STRUCT(TReplicationCardCacheDynamicConfig);

yt/yt/client/chaos_client/public.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ constexpr int MaxReplicasPerReplicationCard = 128;
2424
DECLARE_REFCOUNTED_STRUCT(TReplicationCard)
2525

2626
DECLARE_REFCOUNTED_STRUCT(IReplicationCardCache)
27-
DECLARE_REFCOUNTED_CLASS(TChaosCacheChannelConfig)
28-
DECLARE_REFCOUNTED_CLASS(TReplicationCardCacheConfig)
29-
DECLARE_REFCOUNTED_CLASS(TReplicationCardCacheDynamicConfig)
27+
DECLARE_REFCOUNTED_STRUCT(TChaosCacheChannelConfig)
28+
DECLARE_REFCOUNTED_STRUCT(TReplicationCardCacheConfig)
29+
DECLARE_REFCOUNTED_STRUCT(TReplicationCardCacheDynamicConfig)
3030

3131
struct TReplicationProgress;
3232
struct TReplicaHistoryItem;

0 commit comments

Comments
 (0)