From bc7d935c77a9ecc73fb5ef0493b5f517ef8618f9 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Wed, 14 Jun 2023 22:01:49 +0530 Subject: remove sentry --- main.py | 9 ------- poetry.lock | 82 +------------------------------------------------------- pyproject.toml | 1 - requirements.txt | 3 --- 4 files changed, 1 insertion(+), 94 deletions(-) diff --git a/main.py b/main.py index 9eede1d..7ee08d7 100644 --- a/main.py +++ b/main.py @@ -675,15 +675,6 @@ class CompanySelector: if __name__ == "__main__": - import sentry_sdk - sentry_sdk.init( - dsn="https://c5822e9079a54ef2b28d4e93a11ebc86@o126149.ingest.sentry.io/4505211315617792", - - # Set traces_sample_rate to 1.0 to capture 100% - # of transactions for performance monitoring. - # We recommend adjusting this value in production. - traces_sample_rate=1.0 - ) root = tk.Tk() wd = os.getcwd() try: diff --git a/poetry.lock b/poetry.lock index e4c2d0e..790947c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -6,14 +6,6 @@ category = "main" optional = false python-versions = "*" -[[package]] -name = "certifi" -version = "2023.5.7" -description = "Python package for providing Mozilla's CA Bundle." -category = "main" -optional = false -python-versions = ">=3.6" - [[package]] name = "contourpy" version = "1.0.7" @@ -326,48 +318,6 @@ category = "main" optional = false python-versions = "*" -[[package]] -name = "sentry-sdk" -version = "1.23.1" -description = "Python client for Sentry (https://sentry.io)" -category = "main" -optional = false -python-versions = "*" - -[package.dependencies] -certifi = "*" -urllib3 = [ - {version = "<2.0.0", markers = "python_version < \"3.6\""}, - {version = ">=1.26.11", markers = "python_version >= \"3.6\""}, -] - -[package.extras] -aiohttp = ["aiohttp (>=3.5)"] -arq = ["arq (>=0.23)"] -beam = ["apache-beam (>=2.12)"] -bottle = ["bottle (>=0.12.13)"] -celery = ["celery (>=3)"] -chalice = ["chalice (>=1.16.0)"] -django = ["django (>=1.8)"] -falcon = ["falcon (>=1.4)"] -fastapi = ["fastapi (>=0.79.0)"] -flask = ["flask (>=0.11)", "blinker (>=1.1)", "markupsafe"] -grpcio = ["grpcio (>=1.21.1)"] -httpx = ["httpx (>=0.16.0)"] -huey = ["huey (>=2)"] -loguru = ["loguru (>=0.5)"] -opentelemetry = ["opentelemetry-distro (>=0.35b0)"] -pure_eval = ["pure-eval", "executing", "asttokens"] -pymongo = ["pymongo (>=3.1)"] -pyspark = ["pyspark (>=2.4.4)"] -quart = ["quart (>=0.16.1)", "blinker (>=1.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]] name = "setuptools-scm" version = "7.1.0" @@ -436,33 +386,6 @@ category = "main" optional = false python-versions = ">=2" -[[package]] -name = "urllib3" -version = "1.26.16" -description = "HTTP library with thread-safe connection pooling, file post, and more." -category = "main" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" - -[package.extras] -brotli = ["brotlicffi (>=0.8.0)", "brotli (>=1.0.9)", "brotlipy (>=0.6.0)"] -secure = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "certifi", "urllib3-secure-extra", "ipaddress"] -socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] - -[[package]] -name = "urllib3" -version = "2.0.2" -description = "HTTP library with thread-safe connection pooling, file post, and more." -category = "main" -optional = false -python-versions = ">=3.7" - -[package.extras] -brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] -secure = ["certifi", "cryptography (>=1.9)", "idna (>=2.0.0)", "pyopenssl (>=17.1.0)", "urllib3-secure-extra"] -socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] -zstd = ["zstandard (>=0.18.0)"] - [[package]] name = "xlrd" version = "2.0.1" @@ -491,11 +414,10 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "flake8 (<5)", "pytest-co [metadata] lock-version = "1.1" python-versions = ">=3.9,<3.12" -content-hash = "0bcbda92c45a862555db3d01e4bf05981bed03235a3e0cb5eb58cc58da74c57d" +content-hash = "bb73791d3fc56b693c6eafd450a88d0e2c51666dc53b440f97d09fe321af593c" [metadata.files] altgraph = [] -certifi = [] contourpy = [] cycler = [] darkdetect = [] @@ -520,7 +442,6 @@ python-dateutil = [] python-docx = [] pytz = [] pywin32-ctypes = [] -sentry-sdk = [] setuptools-scm = [] six = [] sv-ttk = [] @@ -528,6 +449,5 @@ tomli = [] ttkwidgets = [] typing-extensions = [] tzdata = [] -urllib3 = [] xlrd = [] zipp = [] diff --git a/pyproject.toml b/pyproject.toml index f19224e..dee74dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,6 @@ matplotlib = "^3.7.1" pyinstaller = "^5.11.0" sv-ttk = "^2.4.5" ttkwidgets = "^0.13.0" -sentry-sdk = "^1.23.1" darkdetect = "^0.8.0" python-docx = "^0.8.11" platformdirs = "^3.5.1" diff --git a/requirements.txt b/requirements.txt index f091674..07d854c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ altgraph==0.17.3; python_version >= "3.7" and python_version < "3.12" and sys_platform == "darwin" -certifi==2023.5.7; python_version >= "3.6" contourpy==1.0.7; python_version >= "3.8" cycler==0.11.0; python_version >= "3.8" darkdetect==0.8.0; python_version >= "3.6" @@ -24,7 +23,6 @@ python-dateutil==2.8.2; python_version >= "3.8" and python_full_version < "3.0.0 python-docx==0.8.11 pytz==2023.3; python_version >= "3.8" pywin32-ctypes==0.2.0; python_version >= "3.7" and python_version < "3.12" and sys_platform == "win32" -sentry-sdk==1.23.1 setuptools-scm==7.1.0; python_version >= "3.8" six==1.16.0; python_version >= "3.8" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.8" sv-ttk==2.4.5; python_version >= "3.4" @@ -32,6 +30,5 @@ tomli==2.0.1; python_version < "3.11" and python_version >= "3.8" ttkwidgets==0.13.0; python_version >= "3.6" typing-extensions==4.5.0; python_version >= "3.8" tzdata==2023.3; python_version >= "3.8" -urllib3==1.26.16; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.6.0") xlrd==2.0.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.6.0") zipp==3.15.0; python_version < "3.10" and python_version >= "3.8" -- cgit v1.2.3