From 3ef09143c6a8669fe948e0fe3c82d2fc832499ec Mon Sep 17 00:00:00 2001 From: Timmy Date: Thu, 25 Apr 2024 15:11:04 +0800 Subject: [PATCH] fix: update sentry sdk (#2639) --- saas/poetry.lock | 26 ++++++-------------------- saas/requirements.txt | 2 +- saas/requirements_dev.txt | 2 +- 3 files changed, 8 insertions(+), 22 deletions(-) diff --git a/saas/poetry.lock b/saas/poetry.lock index e438f85db..a294a2c9f 100644 --- a/saas/poetry.lock +++ b/saas/poetry.lock @@ -1768,7 +1768,7 @@ python-versions = ">=3.5" [[package]] name = "sentry-sdk" -version = "1.44.1" +version = "1.5.6" description = "Python client for Sentry (https://sentry.io)" category = "main" optional = false @@ -1776,38 +1776,24 @@ python-versions = "*" [package.dependencies] certifi = "*" -urllib3 = {version = ">=1.26.11", markers = "python_version >= \"3.6\""} +urllib3 = ">=1.10.0" [package.extras] aiohttp = ["aiohttp (>=3.5)"] -arq = ["arq (>=0.23)"] -asyncpg = ["asyncpg (>=0.23)"] beam = ["apache-beam (>=2.12)"] bottle = ["bottle (>=0.12.13)"] celery = ["celery (>=3)"] -celery-redbeat = ["celery-redbeat (>=2)"] chalice = ["chalice (>=1.16.0)"] -clickhouse-driver = ["clickhouse-driver (>=0.2.0)"] django = ["django (>=1.8)"] falcon = ["falcon (>=1.4)"] -fastapi = ["fastapi (>=0.79.0)"] -flask = ["blinker (>=1.1)", "flask (>=0.11)", "markupsafe"] -grpcio = ["grpcio (>=1.21.1)"] +flask = ["blinker (>=1.1)", "flask (>=0.11)"] httpx = ["httpx (>=0.16.0)"] -huey = ["huey (>=2)"] -loguru = ["loguru (>=0.5)"] -openai = ["openai (>=1.0.0)", "tiktoken (>=0.3.0)"] -opentelemetry = ["opentelemetry-distro (>=0.35b0)"] -opentelemetry-experimental = ["opentelemetry-distro (>=0.40b0,<1.0.0)", "opentelemetry-instrumentation-aiohttp-client (>=0.40b0,<1.0.0)", "opentelemetry-instrumentation-django (>=0.40b0,<1.0.0)", "opentelemetry-instrumentation-fastapi (>=0.40b0,<1.0.0)", "opentelemetry-instrumentation-flask (>=0.40b0,<1.0.0)", "opentelemetry-instrumentation-requests (>=0.40b0,<1.0.0)", "opentelemetry-instrumentation-sqlite3 (>=0.40b0,<1.0.0)", "opentelemetry-instrumentation-urllib (>=0.40b0,<1.0.0)"] -pure-eval = ["asttokens", "executing", "pure-eval"] -pymongo = ["pymongo (>=3.1)"] +pure_eval = ["asttokens", "executing", "pure-eval"] pyspark = ["pyspark (>=2.4.4)"] quart = ["blinker (>=1.1)", "quart (>=0.16.1)"] rq = ["rq (>=0.6)"] sanic = ["sanic (>=0.8)"] sqlalchemy = ["sqlalchemy (>=1.2)"] -starlette = ["starlette (>=0.19.1)"] -starlite = ["starlite (>=1.48)"] tornado = ["tornado (>=5)"] [[package]] @@ -3216,8 +3202,8 @@ requests = [ {file = "ruamel.yaml.clib-0.2.6.tar.gz", hash = "sha256:4ff604ce439abb20794f05613c374759ce10e3595d1867764dd1ae675b85acbd"}, ] sentry-sdk = [ - {file = "sentry-sdk-1.44.1.tar.gz", hash = "sha256:24e6a53eeabffd2f95d952aa35ca52f0f4201d17f820ac9d3ff7244c665aaf68"}, - {file = "sentry_sdk-1.44.1-py2.py3-none-any.whl", hash = "sha256:5f75eb91d8ab6037c754a87b8501cc581b2827e923682f593bed3539ce5b3999"}, + {file = "sentry-sdk-1.5.6.tar.gz", hash = "sha256:ac2a50128409d57655279817aedcb7800cace1f76b266f3dd62055d5afd6e098"}, + {file = "sentry_sdk-1.5.6-py2.py3-none-any.whl", hash = "sha256:1ab34e3851a34aeb3d1af1a0f77cec73978c4e9698e5210d050e4932953cb241"}, ] six = [ {file = "six-1.15.0-py2.py3-none-any.whl", hash = "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced"}, diff --git a/saas/requirements.txt b/saas/requirements.txt index 910a9ba4f..cdca4959d 100644 --- a/saas/requirements.txt +++ b/saas/requirements.txt @@ -105,7 +105,7 @@ redis==4.3.6; python_version >= "3.6" requests==2.27.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.6.0") ruamel.yaml.clib==0.2.6; platform_python_implementation == "CPython" and python_version < "3.10" and python_version >= "3.6" ruamel.yaml==0.17.10; python_version >= "3.6" -sentry-sdk==1.44.1 +sentry-sdk==1.5.6 six==1.15.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.3.0") smmap==5.0.0; python_version >= "3.6" sqlparse==0.4.4; python_version >= "3.5" diff --git a/saas/requirements_dev.txt b/saas/requirements_dev.txt index 99c8e7312..c68066f91 100644 --- a/saas/requirements_dev.txt +++ b/saas/requirements_dev.txt @@ -137,7 +137,7 @@ regex==2021.8.3; python_full_version >= "3.6.2" requests==2.27.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.6.0") ruamel.yaml.clib==0.2.6; platform_python_implementation == "CPython" and python_version < "3.10" and python_version >= "3.6" ruamel.yaml==0.17.10; python_version >= "3.6" -sentry-sdk==1.44.1 +sentry-sdk==1.5.6 six==1.15.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.3.0") smmap==5.0.0; python_version >= "3.6" sqlparse==0.4.4; python_version >= "3.5"