diff --git a/poetry.lock b/poetry.lock index 678d811..2872082 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,10 +1,9 @@ -# This file is automatically @generated by Poetry and should not be changed by hand. +# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. [[package]] name = "anyascii" version = "0.3.1" description = "Unicode to ASCII transliteration" -category = "main" optional = false python-versions = ">=3.3" files = [ @@ -16,7 +15,6 @@ files = [ name = "appdirs" version = "1.4.4" description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -category = "main" optional = false python-versions = "*" files = [ @@ -28,7 +26,6 @@ files = [ name = "asgiref" version = "3.5.2" description = "ASGI specs, helper code, and adapters" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -43,7 +40,6 @@ tests = ["mypy (>=0.800)", "pytest", "pytest-asyncio"] name = "beautifulsoup4" version = "4.11.1" description = "Screen-scraping library" -category = "main" optional = false python-versions = ">=3.6.0" files = [ @@ -62,7 +58,6 @@ lxml = ["lxml"] name = "black" version = "23.3.0" description = "The uncompromising code formatter." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -111,7 +106,6 @@ uvloop = ["uvloop (>=0.15.2)"] name = "boto3" version = "1.26.3" description = "The AWS SDK for Python" -category = "main" optional = false python-versions = ">= 3.7" files = [ @@ -131,7 +125,6 @@ crt = ["botocore[crt] (>=1.21.0,<2.0a0)"] name = "botocore" version = "1.29.3" description = "Low-level, data-driven core of boto 3." -category = "main" optional = false python-versions = ">= 3.7" files = [ @@ -151,7 +144,6 @@ crt = ["awscrt (==0.14.0)"] name = "certifi" version = "2022.9.24" description = "Python package for providing Mozilla's CA Bundle." -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -163,7 +155,6 @@ files = [ name = "cfgv" version = "3.3.1" description = "Validate configuration and produce human readable error messages." -category = "dev" optional = false python-versions = ">=3.6.1" files = [ @@ -175,7 +166,6 @@ files = [ name = "charset-normalizer" version = "2.1.1" description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -category = "main" optional = false python-versions = ">=3.6.0" files = [ @@ -190,7 +180,6 @@ unicode-backport = ["unicodedata2"] name = "click" version = "8.1.3" description = "Composable command line interface toolkit" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -205,7 +194,6 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""} name = "colorama" version = "0.4.6" description = "Cross-platform colored terminal text." -category = "dev" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" files = [ @@ -217,7 +205,6 @@ files = [ name = "cssmin" version = "0.2.0" description = "A Python port of the YUI CSS compression algorithm." -category = "main" optional = false python-versions = "*" files = [ @@ -228,7 +215,6 @@ files = [ name = "distlib" version = "0.3.6" description = "Distribution utilities" -category = "dev" optional = false python-versions = "*" files = [ @@ -240,7 +226,6 @@ files = [ name = "dj-database-url" version = "1.0.0" description = "Use Database URLs in your Django Application." -category = "main" optional = false python-versions = "*" files = [ @@ -255,7 +240,6 @@ Django = ">3.2" name = "django" version = "4.1.3" description = "A high-level Python web framework that encourages rapid development and clean, pragmatic design." -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -276,7 +260,6 @@ bcrypt = ["bcrypt"] name = "django-assets" version = "2.0" description = "Asset management for Django, to compress and merge CSS and Javascript files." -category = "main" optional = false python-versions = "*" files = [ @@ -292,7 +275,6 @@ webassets = ">=2.0" name = "django-bakery" version = "0.13.1" description = "A set of helpers for baking your Django site out as flat files" -category = "main" optional = false python-versions = "*" files = [ @@ -309,7 +291,6 @@ six = ">1.5.2" name = "django-filter" version = "22.1" description = "Django-filter is a reusable Django application for allowing users to filter querysets dynamically." -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -324,7 +305,6 @@ Django = ">=3.2" name = "django-heroku" version = "0.3.1" description = "This is a Django library for Heroku apps." -category = "main" optional = false python-versions = "*" files = [ @@ -342,7 +322,6 @@ whitenoise = "*" name = "django-modelcluster" version = "6.0" description = "Django extension to allow working with 'clusters' of models as a single unit, independently of the database" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -361,7 +340,6 @@ taggit = ["django-taggit (>=0.20)"] name = "django-permissionedforms" version = "0.1" description = "Django extension for creating forms that vary according to user permissions" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -379,7 +357,6 @@ testing = ["django-modelcluster"] name = "django-storages" version = "1.13.2" description = "Support for many storage backends in Django" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -402,7 +379,6 @@ sftp = ["paramiko (>=1.10.0)"] name = "django-taggit" version = "3.0.0" description = "django-taggit is a reusable Django application for simple tagging." -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -417,7 +393,6 @@ Django = ">=3.2" name = "django-treebeard" version = "4.5.1" description = "Efficient tree implementations for Django" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -432,7 +407,6 @@ Django = ">=2.2" name = "djangorestframework" version = "3.14.0" description = "Web APIs for Django, made easy." -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -448,7 +422,6 @@ pytz = "*" name = "draftjs-exporter" version = "2.1.7" description = "Library to convert rich text from Draft.js raw ContentState to HTML" -category = "main" optional = false python-versions = "*" files = [ @@ -465,7 +438,6 @@ testing = ["beautifulsoup4 (>=4.4.1,<5)", "coverage (>=4.1.0)", "flake8 (>=3.2.0 name = "et-xmlfile" version = "1.1.0" description = "An implementation of lxml.xmlfile for the standard library" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -477,7 +449,6 @@ files = [ name = "filelock" version = "3.8.0" description = "A platform independent file lock." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -493,7 +464,6 @@ testing = ["covdefaults (>=2.2)", "coverage (>=6.4.2)", "pytest (>=7.1.2)", "pyt name = "fs" version = "2.4.16" description = "Python's filesystem abstraction layer" -category = "main" optional = false python-versions = "*" files = [ @@ -513,7 +483,6 @@ scandir = ["scandir (>=1.5,<2.0)"] name = "gunicorn" version = "20.1.0" description = "WSGI HTTP Server for UNIX" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -534,7 +503,6 @@ tornado = ["tornado (>=0.2)"] name = "html5lib" version = "1.1" description = "HTML parser based on the WHATWG HTML specification" -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" files = [ @@ -556,7 +524,6 @@ lxml = ["lxml"] name = "identify" version = "2.5.8" description = "File identification library for Python" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -571,7 +538,6 @@ license = ["ukkonen"] name = "idna" version = "3.4" description = "Internationalized Domain Names in Applications (IDNA)" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -583,7 +549,6 @@ files = [ name = "jmespath" version = "1.0.1" description = "JSON Matching Expressions" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -595,7 +560,6 @@ files = [ name = "jsmin" version = "3.0.1" description = "JavaScript minifier." -category = "main" optional = false python-versions = "*" files = [ @@ -606,7 +570,6 @@ files = [ name = "l18n" version = "2021.3" description = "Internationalization for pytz timezones and territories" -category = "main" optional = false python-versions = "*" files = [ @@ -622,7 +585,6 @@ six = "*" name = "mypy-extensions" version = "0.4.3" description = "Experimental type system extensions for programs checked with the mypy typechecker." -category = "dev" optional = false python-versions = "*" files = [ @@ -634,7 +596,6 @@ files = [ name = "nodeenv" version = "1.7.0" description = "Node.js virtual environment builder" -category = "dev" optional = false python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*" files = [ @@ -649,7 +610,6 @@ setuptools = "*" name = "openpyxl" version = "3.0.10" description = "A Python library to read/write Excel 2010 xlsx/xlsm files" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -664,7 +624,6 @@ et-xmlfile = "*" name = "packaging" version = "23.0" description = "Core utilities for Python packages" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -676,7 +635,6 @@ files = [ name = "pathspec" version = "0.10.1" description = "Utility library for gitignore style pattern matching of file paths." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -688,7 +646,6 @@ files = [ name = "pillow" version = "9.3.0" description = "Python Imaging Library (Fork)" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -763,7 +720,6 @@ tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "pa name = "platformdirs" version = "2.5.2" description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -779,7 +735,6 @@ test = ["appdirs (==1.4.4)", "pytest (>=6)", "pytest-cov (>=2.7)", "pytest-mock name = "pre-commit" version = "3.2.2" description = "A framework for managing and maintaining multi-language pre-commit hooks." -category = "dev" optional = false python-versions = ">=3.8" files = [ @@ -798,7 +753,6 @@ virtualenv = ">=20.10.0" name = "psycopg2" version = "2.9.5" description = "psycopg2 - Python-PostgreSQL Database Adapter" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -821,7 +775,6 @@ files = [ name = "pyjade" version = "4.0.0" description = "Jade syntax template adapter for Django, Jinja2, Mako and Tornado templates" -category = "main" optional = false python-versions = "*" files = [ @@ -835,7 +788,6 @@ six = "*" name = "pynetlify" version = "0.1.1" description = "Client and library to interact with Netlify API." -category = "main" optional = false python-versions = "*" files = [ @@ -850,7 +802,6 @@ requests = "*" name = "python-dateutil" version = "2.8.2" description = "Extensions to the standard Python datetime module" -category = "main" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" files = [ @@ -865,7 +816,6 @@ six = ">=1.5" name = "pytz" version = "2022.6" description = "World timezone definitions, modern and historical" -category = "main" optional = false python-versions = "*" files = [ @@ -877,7 +827,6 @@ files = [ name = "pyyaml" version = "6.0" description = "YAML parser and emitter for Python" -category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -927,7 +876,6 @@ files = [ name = "requests" version = "2.28.1" description = "Python HTTP for Humans." -category = "main" optional = false python-versions = ">=3.7, <4" files = [ @@ -949,7 +897,6 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] name = "s3transfer" version = "0.6.0" description = "An Amazon S3 Transfer Manager" -category = "main" optional = false python-versions = ">= 3.7" files = [ @@ -963,47 +910,10 @@ botocore = ">=1.12.36,<2.0a.0" [package.extras] crt = ["botocore[crt] (>=1.20.29,<2.0a.0)"] -[[package]] -name = "sentry-sdk" -version = "1.10.1" -description = "Python client for Sentry (https://sentry.io)" -category = "main" -optional = false -python-versions = "*" -files = [ - {file = "sentry-sdk-1.10.1.tar.gz", hash = "sha256:105faf7bd7b7fa25653404619ee261527266b14103fe1389e0ce077bd23a9691"}, - {file = "sentry_sdk-1.10.1-py2.py3-none-any.whl", hash = "sha256:06c0fa9ccfdc80d7e3b5d2021978d6eb9351fa49db9b5847cf4d1f2a473414ad"}, -] - -[package.dependencies] -certifi = "*" -urllib3 = {version = ">=1.26.11", markers = "python_version >= \"3.6\""} - -[package.extras] -aiohttp = ["aiohttp (>=3.5)"] -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 = ["blinker (>=1.1)", "flask (>=0.11)"] -httpx = ["httpx (>=0.16.0)"] -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)"] -tornado = ["tornado (>=5)"] - [[package]] name = "setuptools" version = "65.5.1" description = "Easily download, build, install, upgrade, and uninstall Python packages" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1020,7 +930,6 @@ testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs ( name = "six" version = "1.16.0" description = "Python 2 and 3 compatibility utilities" -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" files = [ @@ -1032,7 +941,6 @@ files = [ name = "soupsieve" version = "2.3.2.post1" description = "A modern CSS selector implementation for Beautiful Soup." -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -1044,7 +952,6 @@ files = [ name = "sqlparse" version = "0.4.3" description = "A non-validating SQL parser." -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -1056,7 +963,6 @@ files = [ name = "telepath" version = "0.3" description = "A library for exchanging data between Python and JavaScript" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -1071,7 +977,6 @@ docs = ["mkdocs (>=1.1,<1.2)", "mkdocs-material (>=6.2,<6.3)"] name = "tomli" version = "2.0.1" description = "A lil' TOML parser" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1083,7 +988,6 @@ files = [ name = "tzdata" version = "2022.6" description = "Provider of IANA time zone data" -category = "main" optional = false python-versions = ">=2" files = [ @@ -1095,7 +999,6 @@ files = [ name = "urllib3" version = "1.26.12" 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.*, <4" files = [ @@ -1112,7 +1015,6 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] name = "virtualenv" version = "20.16.6" description = "Virtual Python Environment builder" -category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -1133,7 +1035,6 @@ testing = ["coverage (>=6.2)", "coverage-enable-subprocess (>=1)", "flaky (>=3.7 name = "wagtail" version = "4.2.2" description = "A Django content management system." -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1168,7 +1069,6 @@ testing = ["Jinja2 (>=3.0,<3.2)", "azure-mgmt-cdn (>=12.0,<13.0)", "azure-mgmt-f name = "wagtail-bakery" version = "0.7.0" description = "A set of helpers for baking your Django Wagtail site out as flat files." -category = "main" optional = false python-versions = "*" files = [ @@ -1186,7 +1086,6 @@ test = ["factory-boy (<3)", "flake8", "isort", "pytest", "pytest-cov", "pytest-d name = "webassets" version = "2.0" description = "Media asset management for Python, with glue code for various web frameworks" -category = "main" optional = false python-versions = "*" files = [ @@ -1198,7 +1097,6 @@ files = [ name = "webencodings" version = "0.5.1" description = "Character encoding aliases for legacy web content" -category = "main" optional = false python-versions = "*" files = [ @@ -1210,7 +1108,6 @@ files = [ name = "whitenoise" version = "6.2.0" description = "Radically simplified static file serving for WSGI applications" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1225,7 +1122,6 @@ brotli = ["Brotli"] name = "willow" version = "1.4.1" description = "A Python image library that sits on top of Pillow, Wand and OpenCV" -category = "main" optional = false python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*" files = [ @@ -1238,5 +1134,5 @@ testing = ["Pillow (>=6.0.0,<10.0.0)", "Wand (>=0.6,<1.0)", "mock (>=3.0,<4.0)"] [metadata] lock-version = "2.0" -python-versions = "~3.10" -content-hash = "dc69255f7db418927efa6e18a8fdfa8b2c688451f1978dd168a3cc865faa319e" +python-versions = "3.10.4" +content-hash = "33e978f140c04b95a7bf11a91b03275e32dda99d40a3dcf5cbd815b8978cbf5f" diff --git a/pycascades/settings/production.py b/pycascades/settings/production.py index 435001b..e2b51db 100644 --- a/pycascades/settings/production.py +++ b/pycascades/settings/production.py @@ -1,19 +1,10 @@ import os import django_heroku -import sentry_sdk -from sentry_sdk.integrations.django import DjangoIntegration from .base import * # noqa: F401, F403 -sentry_sdk.init( - dsn=os.getenv("SENTRY_DSN"), - integrations=[DjangoIntegration()], - traces_sample_rate=1.0, - send_default_pii=True, -) - DEBUG = False SECRET_KEY = os.getenv("SECRET_KEY", "") diff --git a/pyproject.toml b/pyproject.toml index 9d6bbec..d0e9e2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,6 @@ django-heroku = "^0.3.1" pyjade = "^4.0.0" django-assets = "^2.0" django-storages = "^1.13.2" -sentry-sdk = "^1.9.10" cssmin = "^0.2.0" jsmin = "^3.0.0" pynetlify = "^0.1.1"