summaryrefslogtreecommitdiffstats
path: root/contrib/python
diff options
context:
space:
mode:
authorYDBot <[email protected]>2026-06-23 05:58:57 +0000
committerYDBot <[email protected]>2026-06-23 05:58:57 +0000
commit10209aaabb55eb38ef450b2b2deacf3dca4265f9 (patch)
tree29d3ab0d49365782bdd642cc17de043b625b0d74 /contrib/python
parentbf100b1d177f9edd171863a46d5bb3af0dda84d6 (diff)
parent88cc6851667be0d0c2ed6fe92f4daad438352b6b (diff)
Merge pull request #44245 from ydb-platform/merge-rightlib-260623-0121
Diffstat (limited to 'contrib/python')
-rw-r--r--contrib/python/Flask-Cors/py3/.dist-info/METADATA2
-rw-r--r--contrib/python/Flask-Cors/py3/LICENSE7
-rw-r--r--contrib/python/Flask-Cors/py3/flask_cors/__init__.py8
-rw-r--r--contrib/python/Flask-Cors/py3/flask_cors/version.py1
-rw-r--r--contrib/python/Flask-Cors/py3/ya.make3
5 files changed, 16 insertions, 5 deletions
diff --git a/contrib/python/Flask-Cors/py3/.dist-info/METADATA b/contrib/python/Flask-Cors/py3/.dist-info/METADATA
index 44bd26425bb..513e909c173 100644
--- a/contrib/python/Flask-Cors/py3/.dist-info/METADATA
+++ b/contrib/python/Flask-Cors/py3/.dist-info/METADATA
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: flask-cors
-Version: 6.0.2
+Version: 6.0.3
Summary: A Flask extension simplifying CORS support
Author-email: Cory Dolphin <[email protected]>
License-Expression: MIT
diff --git a/contrib/python/Flask-Cors/py3/LICENSE b/contrib/python/Flask-Cors/py3/LICENSE
new file mode 100644
index 00000000000..8c3a1532a84
--- /dev/null
+++ b/contrib/python/Flask-Cors/py3/LICENSE
@@ -0,0 +1,7 @@
+Copyright (C) 2025 Cory Dolphin
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/contrib/python/Flask-Cors/py3/flask_cors/__init__.py b/contrib/python/Flask-Cors/py3/flask_cors/__init__.py
index 732d401fe81..ba0472df100 100644
--- a/contrib/python/Flask-Cors/py3/flask_cors/__init__.py
+++ b/contrib/python/Flask-Cors/py3/flask_cors/__init__.py
@@ -1,6 +1,12 @@
+from importlib.metadata import PackageNotFoundError, version
+
from .decorator import cross_origin
from .extension import CORS
-from .version import __version__
+
+try:
+ __version__ = version("flask-cors")
+except PackageNotFoundError: # pragma: no cover - package is not installed
+ __version__ = "unknown"
__all__ = ["CORS", "__version__", "cross_origin"]
diff --git a/contrib/python/Flask-Cors/py3/flask_cors/version.py b/contrib/python/Flask-Cors/py3/flask_cors/version.py
deleted file mode 100644
index 7f229cf1898..00000000000
--- a/contrib/python/Flask-Cors/py3/flask_cors/version.py
+++ /dev/null
@@ -1 +0,0 @@
-__version__ = "6.0.2"
diff --git a/contrib/python/Flask-Cors/py3/ya.make b/contrib/python/Flask-Cors/py3/ya.make
index 8a948f6e31d..4c888cf5fde 100644
--- a/contrib/python/Flask-Cors/py3/ya.make
+++ b/contrib/python/Flask-Cors/py3/ya.make
@@ -2,7 +2,7 @@
PY3_LIBRARY()
-VERSION(6.0.2)
+VERSION(6.0.3)
LICENSE(MIT)
@@ -19,7 +19,6 @@ PY_SRCS(
flask_cors/core.py
flask_cors/decorator.py
flask_cors/extension.py
- flask_cors/version.py
)
RESOURCE_FILES(