diff options
author | shadchin <shadchin@yandex-team.com> | 2025-01-16 07:49:05 +0300 |
---|---|---|
committer | shadchin <shadchin@yandex-team.com> | 2025-01-16 08:07:52 +0300 |
commit | 177095c777786654a57b2edba247e9ff3dc098d0 (patch) | |
tree | 5c831e09b5240457f5d496e2cf7b89b1e7b9a6d5 /library/python/runtime_py3/sitecustomize.pyx | |
parent | f18e22b0bf82b06a01768562df223082b86c6d01 (diff) | |
download | ydb-177095c777786654a57b2edba247e9ff3dc098d0.tar.gz |
Fix for Python 3.13
commit_hash:2a9f4a61b44a7e34d430d8615b5c9d2d120fa7d9
Diffstat (limited to 'library/python/runtime_py3/sitecustomize.pyx')
-rw-r--r-- | library/python/runtime_py3/sitecustomize.pyx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/library/python/runtime_py3/sitecustomize.pyx b/library/python/runtime_py3/sitecustomize.pyx index 0f15ff13a1..9171a56174 100644 --- a/library/python/runtime_py3/sitecustomize.pyx +++ b/library/python/runtime_py3/sitecustomize.pyx @@ -3,7 +3,6 @@ import io import os import re import sys -import warnings from importlib.metadata import ( Distribution, @@ -14,11 +13,6 @@ from importlib.resources.abc import Traversable import __res -with warnings.catch_warnings(action="ignore", category=DeprecationWarning): - from importlib.abc import ResourceReader - -ResourceReader.register(__res._ResfsResourceReader) - METADATA_NAME = re.compile("^Name: (.*)$", re.MULTILINE) |