summaryrefslogtreecommitdiffstats
path: root/contrib/tools
Commit message (Collapse)AuthorAgeFilesLines
* Update contrib/tools/cython to 3.2.5shadchin3 days112-4455/+8045
| | | | commit_hash:96300f795af12f310de4d90c2e06f6d32e448f1e
* feat python: always compile Python libs with -O3antoshkka6 days2-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many people use Python to test their C++ binaries built in Debug (that is a common case in RideTech). Debug built Python is very slow, almost noone debugs the Python interpreter itself, so this patch forces the Python to be always built with optimizations. Tests run (3 iteratons) with -O3 compiled Python (this patch): ``` real 5m20.239s user 17m51.171s sys 1m38.676s real 5m31.585s user 17m55.240s sys 1m38.903s real 5m20.914s user 17m57.854s sys 1m39.039s ``` Same tests (2 iterations) with default Python in debug (current trunk): ``` real 13m43.975s user 46m29.006s sys 2m13.313s real 13m29.301s user 46m55.216s sys 2m10.173s ``` For other service: ``` # This patch real 1m24.427s user 6m56.296s sys 0m39.936s real 1m12.953s user 7m34.245s sys 0m37.000s real 1m14.612s user 7m27.097s sys 0m36.839s # Trunk: real 1m59.555s user 13m40.203s sys 0m35.482s real 2m2.459s user 13m50.473s sys 0m34.215s real 1m59.250s user 13m34.304s sys 0m32.218s ``` And another service: ``` # This patch real 0m36.629s user 0m48.045s sys 0m2.074s # Trunk: real 1m56.316s user 2m16.525s sys 0m3.732s ``` commit_hash:9fa58184be777973e5f8c4aebc3811ca348299b6
* Update Python 3 to 3.13.13shadchin2026-05-07112-3326/+4043
| | | | commit_hash:526db1f6570443324e2690db042314848cd47d2e
* Remove `contrib/tools/python3/lib2/ya.make`shadchin2026-05-061-14/+0
| | | | | - commit_hash:77d7b7c36711268f6d5e93135cb3777b152c2f16
* Replace deprecated `Py_UNICODE` with `wchar_t` for Python 3.13 compatibilityshadchin2026-04-182-6/+1
| | | | | Since `Py_UNICODE` is just a typedef for `wchar_t` in Python 3, replace it with `wchar_t` in Cython typedefs, C++ headers, and stringlib macros. Python 2 code paths retain `Py_UNICODE` via #if guards. commit_hash:7bed62e2231a8fde3adc6317e8a41dd060895e24
* Rework `pyconfig.h`shadchin2026-04-118-53/+50
| | | | commit_hash:826de8ce55126c9f2a15bb1dcdd1227e0e069615
* Simplify `pyconfig.h` for Darwinshadchin2026-04-113-14/+2
| | | | commit_hash:167c3aa8fca30250e466b0451025d41733a35a6f
* Intermediate changesrobot-piglet2026-04-111-1/+3
| | | | commit_hash:f90d0ec84cd58ff652eedd9995c5e157be068678
* revert piglet config changepefavel2026-03-172081-715180/+0
| | | | commit_hash:d068d68a89226c414a3d5a1f8ad102579bdd233b
* add fastapi to piglet configpefavel2026-03-162081-0/+715180
| | | | commit_hash:6962a6b28ec3ee5fdc2392a2415810aaa54943c4
* Prefer CA bundle set by SSL_CERT_FILE and SSL_CERT_DIR (common part)Konstantin Khlebnikov2026-03-112-3/+5
| | | | | | | | | | | | | | | | - **library/cpp/openssl: prefer CA set by SSL_CERT_FILE and SSL_CERT_DIR** - **contrib/tools/python3: prefer CA set by SSL_CERT_FILE and SSL_CERT_DIR** - **library/python/certifi: prefer CA set by SSL_CERT_FILE and SSL_CERT_DIR** First three commits from PR #1607 to change common part separately. --- Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1635 Co-authored-by: shadchin <[email protected]> Co-authored-by: shadchin <[email protected]> commit_hash:21db0cd5fe3b4af267dcf5ec4d2753fbdd49ba1e
* Fix REPL for Macshadchin2026-03-1011-121/+662
| | | | commit_hash:16d75ec7f9fd46d5373a5abb04feb9b63939bf49
* ya tool black release 8robot-contrib2026-03-073-3/+0
| | | | | #| || **<a href="https://nda.ya.ru/t/NmXL8DSH7W8pjd" target="_blank">![](https://nda.ya.ru/t/mAiQIjHx7Mm3JC =30x) Echo tests</a>** || |# commit_hash:595f1e5ce2f0b1215088b7c8d2b79f07955f9a4b
* fix multiple definitions for opensourceelen-volodina2026-02-192-0/+14
| | | | commit_hash:20fbe6b0084f4a600e17b692b4ead1a64375e68c
* Move `lsan.supp` in `contrib/tools/python3`shadchin2026-02-084-3/+3
| | | | commit_hash:9bbc2068c32ccefe80bab13471a8e78d70b64069
* Cleanupshadchin2026-02-081-6/+0
| | | | commit_hash:5156a27dc07a49d591229bc422bd96639091dfc8
* Update Python 3 to 3.13.12shadchin2026-02-07101-796/+1833
| | | | commit_hash:71d3efea437a769b2b7910d196120bb02587046e
* Import Python 3.13.11shadchin2026-02-031135-292132/+211770
| | | | commit_hash:bbb53cefb159aa3e7afaa475fd19d5a03b66945f
* Import fix for float conversion in cythonmikhnenko2026-01-237-43/+521
| | | | commit_hash:a34a83a0f0d43f488a5f113dd228e83130b5e4b0
* Switch Python 3 on contrib/libs/blake2shadchin2026-01-2224-3247/+28
| | | | commit_hash:71d95ae6feb5796edc36f16859e57cf07a56a184
* Update cython 3.1.6 -> 3.1.8mikhnenko2026-01-2119-110/+147
| | | | commit_hash:cc49a2c8cbc2e06744f84ac67b4f405877093b6e
* Update Cython to 3.1.6mikhnenko2026-01-19207-16201/+22611
| | | | commit_hash:e7cd55ce6126129e20d80028a2ead0a0c4a943fd
* Fix `__name__` for builtin modulesshadchin2026-01-142-0/+31
| | | | | | | | | | | | | | | | | | | | | Такой же подход есть у загрузки so-расширений, но для builtin его из коробки нет, так как builtin в upstream используется только для стандартной библиотеки, а там нет подпакетов, там только модули и у них нет проблемы с именем. До патча: ```ipython In [1]: import osgeo._gdal In [2]: osgeo._gdal.__name__ Out[2]: '_gdal' # <- Потерялось имя пакета, должно быть `osgeo._gdal` ``` После патча: ```ipython In [1]: import osgeo._gdal In [2]: osgeo._gdal.__name__ Out[2]: 'osgeo._gdal' ``` commit_hash:fee95110a58cae8395a46598bf8f0b80e42b029a
* Fix cython+py2 opensource buildmikhnenko2026-01-13235-0/+107761
| | | | commit_hash:34f2b747956a59f880d05b05a06d99a4b778f642
* Split cython for py3 and py2mikhnenko2026-01-1389-0/+31714
| | | | commit_hash:be16297e622cad23f9548bedfb2710b51b967573
* Intermediate changesrobot-piglet2026-01-0520-133/+72
| | | | commit_hash:1a43bcb7f55bea5bd087ad537be5880e0301a09b
* Cleanup cythonshadchin2025-12-072-1051/+0
| | | | commit_hash:eb1dff8edb639cdd4cf23954cabedb9f71e92b69
* Update contrib/python/hypothesis/py3 to 6.136.2robot-contrib2025-11-152-1/+12
| | | | commit_hash:aaf72f1c1b3aa7cf161d27d86c119860b25c0b21
* Update Python 3 to 3.12.12shadchin2025-10-1414-126/+257
| | | | commit_hash:ef97148212b5398ba2ed413d6056b6b8cf935cd8
* Intermediate changesrobot-piglet2025-10-135-0/+1160
| | | | commit_hash:2616fa918b284019168fb12ab861499222d40647
* Use flang to compile Fortran codethegeorg2025-09-2563-39053/+0
| | | | commit_hash:8e14acf093a47ee5a8e95de62794abb9ea4fed1b
* Build proto library with optimize for X selected from ya.makeflarembo2025-09-131-14/+24
| | | | commit_hash:b50b1b3d3590a8b3bbf2e323e05883492f0f5f73
* Fix set `sys.abiflags` for pydebug mode (try 2)shadchin2025-09-055-20/+9
| | | | commit_hash:bb15d1d813a9eb8cd246c568566aa3a5d574b0b4
* Intermediate changesrobot-piglet2025-09-022-2/+2
| | | | commit_hash:bb87d2799dc8c932a294dc15d78e932c5c08c128
* Drop LINTER param from styling macroses and cleanup depsalevitskii2025-09-02408-186194/+0
| | | | | Drop LINTER param from styling macroses commit_hash:00dd2e2ee103e509cff38f520d4779974abe39a7
* Intermediate changesrobot-piglet2025-08-28408-0/+186194
| | | | commit_hash:d5b1af16dbe9030537a04c27eb410c88c2f496cd
* Fix set `sys.abiflags` for pydebug modeshadchin2025-08-192-2/+20
| | | | commit_hash:345dd2e17cbc1b09a5c8825b41fce0c64dd43eb9
* Intermediate changesrobot-piglet2025-08-131-2/+0
| | | | commit_hash:2a11a8176738da59e9d66885263b8e6969daaccb
* Intermediate changesrobot-piglet2025-08-121-1/+0
| | | | commit_hash:47dc3852cd914fb15828ea585e0209eb98f1f3c7
* Intermediate changesrobot-piglet2025-08-041-3/+1
| | | | commit_hash:fbfd5d919214c448e50f5988643ca556de4214ae
* Moved patch to `jupyter-core`shadchin2025-07-212-12/+1
| | | | commit_hash:18ebf710692df871dceae55c907824e5582537fd
* Update Python 3 to 3.12.11shadchin2025-06-1823-3529/+4404
| | | | commit_hash:0054a0810a95d3f1aa3d36410976d43e03ff7e86
* Update Python 3 to 3.12.10shadchin2025-06-1393-19979/+15825
| | | | commit_hash:dd2398e159fe1d72ea6b12da52fccc933a41a785
* Eliminate UIDs difference with and w/o coveragespreis2025-06-101-1/+1
| | | | | | | | This includes - No coverage or other dependencies on profile runtime for prebuilt programs (make no sence) - Fix for `-nodefaultlibs` setting when NO_CLANG_COVERAGE() set on module - No coverage or profile runtime for enum_parser. While this may be profiled in theory impact on UIDs change for generation results (due to) outweighs ephemeral profiling opportunity. commit_hash:e79656a9fa1c40162e5d104d7d696f7fab27cda8
* Update Cython to 3.0.12shadchin2025-05-2320-71/+117
| | | | commit_hash:96359824bab02082b58bc1c40c68f9462e3ffc3a
* Update Cython to 3.0.11shadchin2025-05-2229-282/+452
| | | | commit_hash:ad41766fcde35c98b754b17abb8523d40312b2a6
* Fix reimport for Cythonshadchin2025-05-208-67/+24
| | | | commit_hash:42f70df990e2d7ee884e3992b246bc66e8374beb
* Update Cython to 3.0.10.nik-bes2025-05-19274-10380/+33362
| | | | commit_hash:b43c96b868cd36d636192fd2c6024d9f0d2fb6f8
* Intermediate changesrobot-piglet2025-05-071-1/+1
| | | | commit_hash:8e91f1bc83ec2f7c5c04762b6c4a7343ab3506f2
* Subinterpretor compatible __res module (2nd attempt)snermolaev2025-04-294-2/+19
| | | | | | | Cython is not yet subinterpreter compatible. There are no ETA when cython is going to support subinterpreters. This PR removes cython from hermetic python imoprt hooks in order to make them subinterpretr-compatible. commit_hash:427b6f9db6afa6695659ee147621e1ccb391d3cb