summaryrefslogtreecommitdiffstats
path: root/library/python
Commit message (Collapse)AuthorAgeFilesLines
* Intermediate changesrobot-piglet5 days1-1/+1
| | | | commit_hash:2bc5ec4168daac56ff2c51bcd7a7db66389846fa
* feat python: always compile Python libs with -O3antoshkka6 days1-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Intermediate changesrobot-piglet2026-05-081-3/+15
| | | | commit_hash:9b6bd8ea4bc3ae7df2576daf77c181b20f7cd869
* YQL-20347: Fix memory leakatarasov52026-04-251-0/+5
| | | | | Описание проблемы в тикете commit_hash:9738f25866ad42e1e6f24191fdbc64feac814c2b
* Intermediate changesrobot-piglet2026-03-317-6/+35
| | | | commit_hash:c6aef447a589e761372dc7008458b23a60c4d3f6
* feat pytest: clean up CONFTEST_LOAD_POLICY_LOCAL implementationantonyzhilin2026-03-183-90/+96
| | | | | | | | | * Add docs for `CONFTEST_LOAD_POLICY_LOCAL` and `CONFTEST_LOAD_POLICY_LEGACY_GLOBAL` * Use `ya_` prefixes for custom fields of `LoadedModule` to differentiate from fields used by pytest * Clean up `LoadedModule.__init__` parameters * Move resfs modules lookup from `main.py` to `collection.py` to gather module name lookup and loading in the same place * Turn `collection.py` into a plugin instead of using a class plugin. As a benefit, it is now displayed as `library.python.pytest.plugins.collection` in the plugin list (previously it was displayed as `<unnamed plugin>`) commit_hash:be61134f075fbc9b645cc98635ab33fe7bf8a979
* revert piglet config changepefavel2026-03-17129-7296/+0
| | | | commit_hash:d068d68a89226c414a3d5a1f8ad102579bdd233b
* feat pytest: partially enable behavior of CONFTEST_LOAD_POLICY_LOCAL for ↵antonyzhilin2026-03-1717-116/+315
| | | | | | | | | | all tests 1. `module_node.path` (py3) or `fspath` (py2) are now always in the form `yatest.common.source_path("path/from/repo/root/to/my_test.py")` instead of the previous `partial.path.to.my_test.py` 2. `module_node.nodeid` is now always in the form `path/from/repo/root/to/my_test.py` instead of the previous `partial.path.to.my_test.py` 3. `module_node.name` was also changed to `path/from/repo/root/to/my_test.py`. But it is not recommended to specialize on that, it may change again shortly in the future 4. Refactorings, simplifications and unifications in `library/python/pytest` commit_hash:8a5b4951208a034f94231b2f799eb0c32a6d787d
* add fastapi to piglet configpefavel2026-03-16129-0/+7296
| | | | commit_hash:6962a6b28ec3ee5fdc2392a2415810aaa54943c4
* Prefer CA bundle set by SSL_CERT_FILE and SSL_CERT_DIR (common part)Konstantin Khlebnikov2026-03-111-1/+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
* ya tool black release 8robot-contrib2026-03-078-8/+0
| | | | | #| || **<a href="https://nda.ya.ru/t/NmXL8DSH7W8pjd" target="_blank">![](https://nda.ya.ru/t/mAiQIjHx7Mm3JC =30x) Echo tests</a>** || |# commit_hash:595f1e5ce2f0b1215088b7c8d2b79f07955f9a4b
* Intermediate changesrobot-piglet2026-03-041-0/+8
| | | | commit_hash:1142ce0bfe5545534e53ac5fac0138589e0b3ba1
* Intermediate changesrobot-piglet2026-03-033-4/+10
| | | | commit_hash:85afa7bf1a79b5728ecd004afa11afa9a603f9ea
* Intermediate changesrobot-piglet2026-02-211-2/+23
| | | | commit_hash:54f16047733a82cb580800a174cf6bebdac05da4
* Intermediate changesrobot-piglet2026-02-136-276/+307
| | | | commit_hash:f40994de9751876806429cb82f3385b5f16ce360
* Intermediate changesrobot-piglet2026-02-111-1/+4
| | | | commit_hash:d1b180b0a97a82b27a4a3a3f34920201378305cc
* clean runtime_py3kuzmich3212026-02-111-1/+0
| | | | commit_hash:bdfd716428773db22fff8db291a2ca33d8616d95
* Intermediate changesrobot-piglet2026-02-101-1/+1
| | | | commit_hash:2725fafa3be68b26e07b4b481adf3038cc57102a
* rm legacy code in runtime_py3kuzmich3212026-02-101-18/+0
| | | | commit_hash:2302b8301d7162e3aad97f392fa39762683aca72
* Prefer guidance file when searching for repo root in ext-pyalevitskii2026-02-091-2/+9
| | | | commit_hash:9c636406274e7aaae314e8d32be5863fdd2944fd
* Intermediate changesrobot-piglet2026-02-066-3/+36
| | | | commit_hash:525c32eb93ddaea7b409248280f0871fb5fd788d
* Intermediate changesrobot-piglet2026-02-0524-119/+568
| | | | commit_hash:e6d634bd59f23a5fa99d8c54932926f775dab895
* Import Python 3.13.11shadchin2026-02-032-4/+8
| | | | commit_hash:bbb53cefb159aa3e7afaa475fd19d5a03b66945f
* Fix `USE_PYTHON3_PREV` v.2shadchin2026-01-231-2/+12
| | | | commit_hash:580fc5bd507b881b93b57abb14e0a304ca179973
* Intermediate changesrobot-piglet2026-01-201-2/+3
| | | | commit_hash:12759d118d90f430331dabf5fad297a49675c1e0
* Rework our machinery for `importlib.resources`shadchin2026-01-205-113/+141
| | | | commit_hash:952ba013b771d9c6cb949cf43125956ad5cdfd58
* Intermediate changesrobot-piglet2026-01-181-1/+1
| | | | commit_hash:6a89800e4562dacdbc61dae4b6cc31c80bb54c76
* Get rid of `BuiltinSubmoduleImporter`shadchin2026-01-141-12/+1
| | | | | Для современных Python 3 нет никакой разницы между `BuiltinImporter` и `BuiltinSubmoduleImporter` (наша переопределённая копия `BuiltinImporter`), мы только добавляем лишнюю сложность, потому предлагаю удалить `BuiltinSubmoduleImporter` как больше не нужную сущность. commit_hash:93663cc0cedd41d931a92c407b9966d580d42dd7
* Intermediate changesrobot-piglet2026-01-131-1/+1
| | | | commit_hash:4caca7aaa95345680775ddf576c6642d73ebee70
* Intermediate changesrobot-piglet2026-01-121-2/+1
| | | | commit_hash:0d0db5f4afe315e074dd0d198640f329040ec66f
* Revert commit 71bcb97f83341485fc750081e39962f617df3bd6, Fix `USE_PYTHON3_PREV`shadchin2026-01-061-6/+2
| | | | commit_hash:281666e0f5dfbc918fcd50e9d9e7b7125cfea6cd
* Support route static from binary in aiohttpshadchin2026-01-051-19/+111
| | | | commit_hash:3fd15af6d92c77e1aaf327bd7f34742551ebf3b6
* Fix `USE_PYTHON3_PREV`shadchin2026-01-041-2/+6
| | | | commit_hash:71bcb97f83341485fc750081e39962f617df3bd6
* Intermediate changesrobot-piglet2025-12-151-1/+0
| | | | commit_hash:4f1410c20f0f4b20508536048fa8bdca96fc404b
* Intermediate changesrobot-piglet2025-12-113-3/+24
| | | | commit_hash:cdbde42da0108f2cdced18af7de26fda46c8cce9
* Intermediate changesrobot-piglet2025-12-031-2/+56
| | | | commit_hash:66bd18a3c1623dcc936f3730fc39699bd39c018c
* Run tests in parallel within nodebulatman2025-11-171-9/+22
| | | | | Support `PARALLEL_TESTS_WITHIN_NODE(X)` for pytest commit_hash:b515a9f8f27172b546f92415835a8d6c9070d073
* Intermediate changesrobot-piglet2025-11-052-2/+10
| | | | commit_hash:27c113073be129386081bdae5a54d7b3d5cd6221
* Migrate compile_cuda to py3 & use py2cc tools instead of scriptnechda2025-10-272-0/+4
| | | | commit_hash:3dfdf668eac73d56b978a7204a9de9976b59d763
* import python/sanitizers interfaceswarmer2025-09-245-0/+32
| | | | commit_hash:072d78454b56aed802cb4aacd39defc584cabb41
* Revert commit rXXXXXX, DEPENDS on linter wrappers to get them exported to ↵alevitskii2025-09-048-352/+0
| | | | | | opensource commit_hash:4c9d3598f6dbd402cf89dd53dd8f1656063853dd
* DEPENDS on linter wrappers to get them exported to opensourcealevitskii2025-09-048-0/+352
| | | | | DEPENDS on linter wrappers to get them exported to oss commit_hash:286fa6981744f667a509749a33afcc3421903842
* Intermediate changesrobot-piglet2025-09-021-1/+3
| | | | commit_hash:3226aa9d9f0af82e14a84916ce0f450ded26504f
* Drop LINTER param from styling macroses and cleanup depsalevitskii2025-09-0226-1546/+0
| | | | | Drop LINTER param from styling macroses commit_hash:00dd2e2ee103e509cff38f520d4779974abe39a7
* Intermediate changesrobot-piglet2025-09-013-1/+45
| | | | commit_hash:1623077a586fe91fb5d853b4efee5d1e623189cb
* Intermediate changesrobot-piglet2025-08-2818-0/+1200
| | | | commit_hash:d5b1af16dbe9030537a04c27eb410c88c2f496cd
* Intermediate changesrobot-piglet2025-08-283-2/+8
| | | | commit_hash:7cb1b858db9e1e66d33dcb3808a3ad884bd1c5b5
* add DUSE_PYTHON3_PREV supportkuzmich3212025-08-044-10/+38
| | | | commit_hash:b2e89d949d9560889cc979429e8fa79494368f76
* fix test env detectionromanoved2025-07-011-0/+2
| | | | commit_hash:9a3b0959e51504f973770436f503dec16a0dc214
* Make forbiddenfruit work with --muslthegeorg2025-07-011-0/+5
| | | | | When (our) python is linked statically, these symbols should be explicitly _exported_ in order to be present in ctypes. commit_hash:098f04397aa01afdb41df7c47996dd542859c925