From 8846c98f232521caafb3232c28b1f053a3d47ee2 Mon Sep 17 00:00:00 2001
From: Victor Salles
@@ -27,7 +27,7 @@ # Requirements -* Python (3.6) +* Python (3.8.13) * Poetry * Docker * Docker-compose @@ -146,7 +146,7 @@ You can set environment variables in your OS, write on ```.env``` file or pass v | APM_SERVICE_ENVIRONMENT | ```string``` | ```''``` | Environment that APM is running on | ENVIRONMENT | ```string``` | ```production``` | Specify the environment you are going to run, it is also used for sentry | SUGGESTION_LANGUAGES | ```string``` | ```en|pt_br``` | Specify the the languages supported by environment for word and intent suggestions -| N_WORDS_TO_GENERATE | ```int``` | ```4``` | Specify the number of suggestions that will be returned for word suggestions +| N_WORDS_TO_GENERATE | ```int``` | ```4``` | Specify the number of suggestions that will be returned for word suggestions | N_SENTENCES_TO_GENERATE | ```int``` | ```10``` | Specify the number of suggestions that will be returned for intent suggestions | REDIS_TIMEOUT | ```int``` | ```3600``` | Specify a systemwide Redis keys life time | SECRET_KEY_CHECK_LEGACY_USER | ```string``` | ```None``` | Enables and specifies the token to use for the legacy user endpoint. @@ -206,4 +206,3 @@ Contributions are what make the open source community such an amazing place to b 3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) 4. Push to the Branch (`git push origin feature/AmazingFeature`) 5. Open a Pull Request - diff --git a/poetry.lock b/poetry.lock index fb2cec40..1b17a350 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,6 +1,6 @@ [[package]] name = "amqp" -version = "5.1.0" +version = "5.1.1" description = "Low-level AMQP client for Python (fork of amqplib)." category = "main" optional = false @@ -19,7 +19,7 @@ python-versions = "*" [[package]] name = "appnope" -version = "0.1.2" +version = "0.1.3" description = "Disable App Nap on macOS >= 10.9" category = "dev" optional = false @@ -33,11 +33,8 @@ category = "main" optional = false python-versions = ">=3.6" -[package.dependencies] -typing-extensions = {version = "*", markers = "python_version < \"3.8\""} - [package.extras] -tests = ["pytest", "pytest-asyncio", "mypy (>=0.800)"] +tests = ["mypy (>=0.800)", "pytest-asyncio", "pytest"] [[package]] name = "async-timeout" @@ -47,9 +44,6 @@ category = "main" optional = false python-versions = ">=3.6" -[package.dependencies] -typing-extensions = {version = ">=3.6.5", markers = "python_version < \"3.8\""} - [[package]] name = "autopep8" version = "1.6.0" @@ -89,19 +83,16 @@ python-versions = ">=3.6.2" [package.dependencies] appdirs = "*" click = ">=7.1.2" -dataclasses = {version = ">=0.6", markers = "python_version < \"3.7\""} mypy-extensions = ">=0.4.3" pathspec = ">=0.8.1,<1" regex = ">=2020.1.8" tomli = ">=0.2.6,<2.0.0" -typed-ast = {version = ">=1.4.2", markers = "python_version < \"3.8\""} -typing-extensions = {version = ">=3.7.4", markers = "python_version < \"3.8\""} [package.extras] -colorama = ["colorama (>=0.4.3)"] -d = ["aiohttp (>=3.6.0)", "aiohttp-cors (>=0.4.0)"] -python2 = ["typed-ast (>=1.4.2)"] uvloop = ["uvloop (>=0.15.2)"] +python2 = ["typed-ast (>=1.4.2)"] +d = ["aiohttp-cors (>=0.4.0)", "aiohttp (>=3.6.0)"] +colorama = ["colorama (>=0.4.3)"] [[package]] name = "bleach" @@ -148,14 +139,6 @@ urllib3 = ">=1.25.4,<1.27" [package.extras] crt = ["awscrt (==0.12.5)"] -[[package]] -name = "cached-property" -version = "1.5.2" -description = "A decorator for caching properties in classes." -category = "main" -optional = false -python-versions = "*" - [[package]] name = "celery" version = "5.1.2" @@ -175,49 +158,49 @@ pytz = ">0.0-dev" vine = ">=5.0.0,<6.0" [package.extras] -arangodb = ["pyArango (>=1.3.2)"] -auth = ["cryptography"] -azureblockblob = ["azure-storage-blob (==12.6.0)"] -brotli = ["brotli (>=1.0.0)", "brotlipy (>=0.7.0)"] -cassandra = ["cassandra-driver (<3.21.0)"] -consul = ["python-consul2"] -cosmosdbsql = ["pydocumentdb (==2.3.2)"] -couchbase = ["couchbase (>=3.0.0)"] -couchdb = ["pycouchdb"] -django = ["Django (>=1.11)"] -dynamodb = ["boto3 (>=1.9.178)"] -elasticsearch = ["elasticsearch"] -eventlet = ["eventlet (>=0.26.1)"] -gevent = ["gevent (>=1.0.0)"] -librabbitmq = ["librabbitmq (>=1.5.0)"] -memcache = ["pylibmc"] -mongodb = ["pymongo[srv] (>=3.3.0)"] -msgpack = ["msgpack"] -pymemcache = ["python-memcached"] -pyro = ["pyro4"] -pytest = ["pytest-celery"] -redis = ["redis (>=3.2.0)"] -s3 = ["boto3 (>=1.9.125)"] -slmq = ["softlayer-messaging (>=1.0.3)"] -solar = ["ephem"] -sqlalchemy = ["sqlalchemy"] -sqs = ["boto3 (>=1.9.125)", "pycurl (==7.43.0.5)"] -tblib = ["tblib (>=1.3.0)", "tblib (>=1.5.0)"] -yaml = ["PyYAML (>=3.10)"] -zookeeper = ["kazoo (>=1.3.1)"] zstd = ["zstandard"] +zookeeper = ["kazoo (>=1.3.1)"] +yaml = ["PyYAML (>=3.10)"] +tblib = ["tblib (>=1.5.0)", "tblib (>=1.3.0)"] +sqs = ["pycurl (==7.43.0.5)", "boto3 (>=1.9.125)"] +sqlalchemy = ["sqlalchemy"] +solar = ["ephem"] +slmq = ["softlayer-messaging (>=1.0.3)"] +s3 = ["boto3 (>=1.9.125)"] +redis = ["redis (>=3.2.0)"] +pytest = ["pytest-celery"] +pyro = ["pyro4"] +pymemcache = ["python-memcached"] +msgpack = ["msgpack"] +mongodb = ["pymongo[srv] (>=3.3.0)"] +memcache = ["pylibmc"] +librabbitmq = ["librabbitmq (>=1.5.0)"] +gevent = ["gevent (>=1.0.0)"] +eventlet = ["eventlet (>=0.26.1)"] +elasticsearch = ["elasticsearch"] +dynamodb = ["boto3 (>=1.9.178)"] +django = ["Django (>=1.11)"] +couchdb = ["pycouchdb"] +couchbase = ["couchbase (>=3.0.0)"] +cosmosdbsql = ["pydocumentdb (==2.3.2)"] +consul = ["python-consul2"] +cassandra = ["cassandra-driver (<3.21.0)"] +brotli = ["brotlipy (>=0.7.0)", "brotli (>=1.0.0)"] +azureblockblob = ["azure-storage-blob (==12.6.0)"] +auth = ["cryptography"] +arangodb = ["pyArango (>=1.3.2)"] [[package]] name = "certifi" -version = "2021.10.8" +version = "2022.6.15" description = "Python package for providing Mozilla's CA Bundle." category = "main" optional = false -python-versions = "*" +python-versions = ">=3.6" [[package]] name = "cffi" -version = "1.15.0" +version = "1.15.1" description = "Foreign Function Interface for Python calling C code." category = "main" optional = false @@ -290,7 +273,7 @@ six = "*" [[package]] name = "colorama" -version = "0.4.4" +version = "0.4.5" description = "Cross-platform colored terminal text." category = "main" optional = false @@ -334,7 +317,7 @@ toml = ["toml"] [[package]] name = "cryptography" -version = "36.0.2" +version = "37.0.4" description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." category = "main" optional = false @@ -349,7 +332,7 @@ docstest = ["pyenchant (>=1.6.11)", "twine (>=1.12.0)", "sphinxcontrib-spelling pep8test = ["black", "flake8", "flake8-import-order", "pep8-naming"] sdist = ["setuptools_rust (>=0.11.4)"] ssh = ["bcrypt (>=3.1.5)"] -test = ["pytest (>=6.2.0)", "pytest-cov", "pytest-subtests", "pytest-xdist", "pretend", "iso8601", "pytz", "hypothesis (>=1.11.4,!=3.79.2)"] +test = ["pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-subtests", "pytest-xdist", "pretend", "iso8601", "pytz", "hypothesis (>=1.11.4,!=3.79.2)"] [[package]] name = "cycler" @@ -359,14 +342,6 @@ category = "main" optional = false python-versions = ">=3.6" -[[package]] -name = "dataclasses" -version = "0.8" -description = "A backport of the dataclasses module for Python 3.6" -category = "main" -optional = false -python-versions = ">=3.6, <3.7" - [[package]] name = "decorator" version = "5.1.1" @@ -387,7 +362,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" wrapt = ">=1.10,<2" [package.extras] -dev = ["tox", "bump2version (<1)", "sphinx (<2)", "importlib-metadata (<3)", "importlib-resources (<4)", "configparser (<5)", "sphinxcontrib-websupport (<2)", "zipp (<2)", "PyTest (<5)", "PyTest-Cov (<2.6)", "pytest", "pytest-cov"] +dev = ["pytest-cov", "pytest", "PyTest-Cov (<2.6)", "PyTest (<5)", "zipp (<2)", "sphinxcontrib-websupport (<2)", "configparser (<5)", "importlib-resources (<4)", "importlib-metadata (<3)", "sphinx (<2)", "bump2version (<1)", "tox"] [[package]] name = "distlib" @@ -399,7 +374,7 @@ python-versions = "*" [[package]] name = "django" -version = "3.2.12" +version = "3.2.15" description = "A high-level Python Web framework that encourages rapid development and clean, pragmatic design." category = "main" optional = false @@ -411,8 +386,8 @@ pytz = "*" sqlparse = ">=0.2.2" [package.extras] -argon2 = ["argon2-cffi (>=19.1.0)"] bcrypt = ["bcrypt"] +argon2 = ["argon2-cffi (>=19.1.0)"] [[package]] name = "django-appconf" @@ -473,8 +448,8 @@ python-versions = "*" Django = ">=1.8" [package.extras] +tests = ["jinja2 (>=2.9.6)", "six (==1.12.0)", "mock (==1.0.1)", "pep8 (==1.4.6)", "pytest-pep8 (==1.0.6)", "pytest-flakes (==1.0.1)", "pytest-django", "pytest (<4.0)"] jinja2 = ["jinja2 (>=2.9.6)"] -tests = ["pytest (<4.0)", "pytest-django", "pytest-flakes (==1.0.1)", "pytest-pep8 (==1.0.6)", "pep8 (==1.4.6)", "mock (==1.0.1)", "six (==1.12.0)", "jinja2 (>=2.9.6)"] [[package]] name = "django-elasticsearch-dsl" @@ -490,7 +465,7 @@ six = "*" [[package]] name = "django-elasticsearch-dsl-drf" -version = "0.22.4" +version = "0.22.5" description = "Integrate Elasticsearch DSL with Django REST framework." category = "main" optional = false @@ -645,13 +620,13 @@ six = ">=1.15.0" uritemplate = ">=3.0.1" [package.extras] -dist = ["bump2version", "wheel"] -docs = ["djangorestframework-camel-case (>=0.2.0)", "Pillow (>=4.3.0)", "readme-renderer[md] (>=24.0)", "sphinx-rtd-theme (>=0.2.4)", "Sphinx (>=1.7.0)", "twine (>=1.12.1)"] -format = ["autoflake (>=1.4.0)", "black (>=20.8.0)", "isort (>=4.2.0)"] -heroku = ["dj-database-url (>=0.4.2)", "gunicorn (>=19.7.1)", "psycopg2 (>=2.7.3)", "whitenoise (>=3.3.1)"] -lint = ["flake8 (>=3.5.0)"] -tests = ["dj-database-url (>=0.4.2)", "django-cors-headers (>=3.0.2)", "django-filter (>=1.1.0)", "django-oauth-toolkit (>=1.3.2)", "djangorestframework-camel-case (>=1.0.3)", "djangorestframework-recursive (>=0.1.2)", "Pillow (>=4.3.0)", "pytest (>=4.6.11)", "pytest-django (>=3.10.0)", "tox (>=3.3.0)", "user-agents (>=1.1.0)"] validation = ["swagger-spec-validator (>=2.1.0)"] +tests = ["user-agents (>=1.1.0)", "tox (>=3.3.0)", "pytest-django (>=3.10.0)", "pytest (>=4.6.11)", "Pillow (>=4.3.0)", "djangorestframework-recursive (>=0.1.2)", "djangorestframework-camel-case (>=1.0.3)", "django-oauth-toolkit (>=1.3.2)", "django-filter (>=1.1.0)", "django-cors-headers (>=3.0.2)", "dj-database-url (>=0.4.2)"] +lint = ["flake8 (>=3.5.0)"] +heroku = ["whitenoise (>=3.3.1)", "psycopg2 (>=2.7.3)", "gunicorn (>=19.7.1)", "dj-database-url (>=0.4.2)"] +format = ["isort (>=4.2.0)", "black (>=20.8.0)", "autoflake (>=1.4.0)"] +docs = ["twine (>=1.12.1)", "Sphinx (>=1.7.0)", "sphinx-rtd-theme (>=0.2.4)", "readme-renderer[md] (>=24.0)", "Pillow (>=4.3.0)", "djangorestframework-camel-case (>=0.2.0)"] +dist = ["wheel", "bump2version"] [[package]] name = "elastic-apm" @@ -685,10 +660,10 @@ certifi = "*" urllib3 = ">=1.21.1,<2" [package.extras] -async = ["aiohttp (>=3,<4)"] -develop = ["requests (>=2.0.0,<3.0.0)", "coverage", "mock", "pyyaml", "pytest", "pytest-cov", "sphinx (<1.7)", "sphinx-rtd-theme", "black", "jinja2"] -docs = ["sphinx (<1.7)", "sphinx-rtd-theme"] requests = ["requests (>=2.4.0,<3.0.0)"] +docs = ["sphinx-rtd-theme", "sphinx (<1.7)"] +develop = ["jinja2", "black", "sphinx-rtd-theme", "sphinx (<1.7)", "pytest-cov", "pytest", "pyyaml", "mock", "coverage", "requests (>=2.0.0,<3.0.0)"] +async = ["aiohttp (>=3,<4)"] [[package]] name = "elasticsearch-dsl" @@ -704,7 +679,7 @@ python-dateutil = "*" six = "*" [package.extras] -develop = ["mock", "pytest (>=3.0.0)", "pytest-cov", "pytest-mock (<3.0.0)", "pytz", "coverage (<5.0.0)", "sphinx", "sphinx-rtd-theme"] +develop = ["sphinx-rtd-theme", "sphinx", "coverage (<5.0.0)", "pytz", "pytest-mock (<3.0.0)", "pytest-cov", "pytest (>=3.0.0)", "mock"] [[package]] name = "et-xmlfile" @@ -723,8 +698,8 @@ optional = false python-versions = ">=3.6" [package.extras] -docs = ["furo (>=2021.8.17b43)", "sphinx (>=4.1)", "sphinx-autodoc-typehints (>=1.12)"] -testing = ["covdefaults (>=1.2.0)", "coverage (>=4)", "pytest (>=4)", "pytest-cov", "pytest-timeout (>=1.4.2)"] +testing = ["pytest-timeout (>=1.4.2)", "pytest-cov", "pytest (>=4)", "coverage (>=4)", "covdefaults (>=1.2.0)"] +docs = ["sphinx-autodoc-typehints (>=1.12)", "sphinx (>=4.1)", "furo (>=2021.8.17b43)"] [[package]] name = "flake8" @@ -735,7 +710,6 @@ optional = false python-versions = ">=3.6" [package.dependencies] -importlib-metadata = {version = "<4.3", markers = "python_version < \"3.8\""} mccabe = ">=0.6.0,<0.7.0" pycodestyle = ">=2.8.0,<2.9.0" pyflakes = ">=2.4.0,<2.5.0" @@ -836,27 +810,11 @@ optional = false python-versions = ">=3.6" [package.dependencies] -typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""} zipp = ">=0.5" [package.extras] -docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] -testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "packaging", "pep517", "pyfakefs", "flufl.flake8", "pytest-black (>=0.3.7)", "pytest-mypy", "importlib-resources (>=1.3)"] - -[[package]] -name = "importlib-resources" -version = "5.2.3" -description = "Read resources from Python packages" -category = "main" -optional = false -python-versions = ">=3.6" - -[package.dependencies] -zipp = {version = ">=3.1.0", markers = "python_version < \"3.10\""} - -[package.extras] -docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] -testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-black (>=0.3.7)", "pytest-mypy"] +testing = ["importlib-resources (>=1.3)", "pytest-mypy", "pytest-black (>=0.3.7)", "flufl.flake8", "pyfakefs", "pep517", "packaging", "pytest-enabler (>=1.0.1)", "pytest-cov", "pytest-flake8", "pytest-checkdocs (>=2.4)", "pytest (>=4.6)"] +docs = ["rst.linker (>=1.9)", "jaraco.packaging (>=8.2)", "sphinx"] [[package]] name = "inflection" @@ -887,15 +845,15 @@ pygments = "*" traitlets = ">=4.2" [package.extras] -all = ["Sphinx (>=1.3)", "ipykernel", "ipyparallel", "ipywidgets", "nbconvert", "nbformat", "nose (>=0.10.1)", "notebook", "numpy (>=1.14)", "pygments", "qtconsole", "requests", "testpath"] -doc = ["Sphinx (>=1.3)"] -kernel = ["ipykernel"] -nbconvert = ["nbconvert"] -nbformat = ["nbformat"] -notebook = ["notebook", "ipywidgets"] -parallel = ["ipyparallel"] +test = ["numpy (>=1.14)", "ipykernel", "nbformat", "pygments", "testpath", "requests", "nose (>=0.10.1)"] qtconsole = ["qtconsole"] -test = ["nose (>=0.10.1)", "requests", "testpath", "pygments", "nbformat", "ipykernel", "numpy (>=1.14)"] +parallel = ["ipyparallel"] +notebook = ["ipywidgets", "notebook"] +nbformat = ["nbformat"] +nbconvert = ["nbconvert"] +kernel = ["ipykernel"] +doc = ["Sphinx (>=1.3)"] +all = ["testpath", "requests", "qtconsole", "pygments", "numpy (>=1.14)", "notebook", "nose (>=0.10.1)", "nbformat", "nbconvert", "ipywidgets", "ipyparallel", "ipykernel", "Sphinx (>=1.3)"] [[package]] name = "ipython-genutils" @@ -925,8 +883,8 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" parso = ">=0.7.0,<0.8.0" [package.extras] +testing = ["pytest (>=3.9.0,<5.0.0)", "docopt", "colorama", "Django (<3.1)"] qa = ["flake8 (==3.7.9)"] -testing = ["Django (<3.1)", "colorama", "docopt", "pytest (>=3.9.0,<5.0.0)"] [[package]] name = "jeepney" @@ -975,9 +933,9 @@ cryptography = ">=1.5" PyOpenSSL = ">=0.13" [package.extras] -dev = ["pytest", "tox"] -docs = ["Sphinx (>=1.0)", "sphinx-rtd-theme (>=1.0)"] -tests = ["coverage (>=4.0)", "flake8 (<4)", "isort", "mypy", "pytest-cov", "pytest-flake8 (>=0.5)", "pytest (>=2.8.0)", "types-pyopenssl", "types-pyrfc3339", "types-requests", "types-setuptools"] +tests = ["types-setuptools", "types-requests", "types-pyrfc3339", "types-pyopenssl", "pytest (>=2.8.0)", "pytest-flake8 (>=0.5)", "pytest-cov", "mypy", "isort", "flake8 (<4)", "coverage (>=4.0)"] +docs = ["sphinx-rtd-theme (>=1.0)", "Sphinx (>=1.0)"] +dev = ["tox", "pytest"] [[package]] name = "keyring" @@ -994,8 +952,8 @@ pywin32-ctypes = {version = "<0.1.0 || >0.1.0,<0.1.1 || >0.1.1", markers = "sys_ SecretStorage = {version = ">=3.2", markers = "sys_platform == \"linux\""} [package.extras] -docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)", "jaraco.tidelift (>=1.4)"] -testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-black (>=0.3.7)", "pytest-mypy"] +testing = ["pytest-mypy", "pytest-black (>=0.3.7)", "pytest-enabler (>=1.0.1)", "pytest-cov", "pytest-flake8", "pytest-checkdocs (>=2.4)", "pytest (>=6)"] +docs = ["jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "jaraco.packaging (>=8.2)", "sphinx"] [[package]] name = "kiwisolver" @@ -1015,25 +973,23 @@ python-versions = ">=3.6" [package.dependencies] amqp = ">=5.0.6,<6.0.0" -cached-property = {version = "*", markers = "python_version < \"3.8\""} -importlib-metadata = {version = ">=0.18", markers = "python_version < \"3.8\""} vine = "*" [package.extras] -azureservicebus = ["azure-servicebus (>=7.0.0)"] -azurestoragequeues = ["azure-storage-queue"] -consul = ["python-consul (>=0.6.0)"] -librabbitmq = ["librabbitmq (>=1.5.2)"] -mongodb = ["pymongo (>=3.3.0)"] -msgpack = ["msgpack"] -pyro = ["pyro4"] -qpid = ["qpid-python (>=0.26)", "qpid-tools (>=0.26)"] -redis = ["redis (>=3.3.11)"] -slmq = ["softlayer-messaging (>=1.0.3)"] -sqlalchemy = ["sqlalchemy"] -sqs = ["boto3 (>=1.4.4)", "pycurl (==7.43.0.2)", "urllib3 (<1.26)"] -yaml = ["PyYAML (>=3.10)"] zookeeper = ["kazoo (>=1.3.1)"] +yaml = ["PyYAML (>=3.10)"] +sqs = ["urllib3 (<1.26)", "pycurl (==7.43.0.2)", "boto3 (>=1.4.4)"] +sqlalchemy = ["sqlalchemy"] +slmq = ["softlayer-messaging (>=1.0.3)"] +redis = ["redis (>=3.3.11)"] +qpid = ["qpid-tools (>=0.26)", "qpid-python (>=0.26)"] +pyro = ["pyro4"] +msgpack = ["msgpack"] +mongodb = ["pymongo (>=3.3.0)"] +librabbitmq = ["librabbitmq (>=1.5.2)"] +consul = ["python-consul (>=0.6.0)"] +azurestoragequeues = ["azure-storage-queue"] +azureservicebus = ["azure-servicebus (>=7.0.0)"] [[package]] name = "markupsafe" @@ -1119,7 +1075,7 @@ python-versions = ">=3.6" [[package]] name = "openpyxl" -version = "3.0.9" +version = "3.0.10" description = "A Python library to read/write Excel 2010 xlsx/xlsm files" category = "main" optional = false @@ -1187,11 +1143,11 @@ python-versions = ">=3.6" [[package]] name = "pkginfo" -version = "1.8.2" +version = "1.8.3" description = "Query metadatdata from sdists / bdists / installed packages." category = "main" optional = false -python-versions = "*" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" [package.extras] testing = ["coverage", "nose"] @@ -1210,17 +1166,15 @@ docs = ["sphinx-autodoc-typehints (>=1.12)", "proselint (>=0.10.2)", "furo (>=20 [[package]] name = "pre-commit" -version = "2.17.0" +version = "2.20.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." category = "dev" optional = false -python-versions = ">=3.6.1" +python-versions = ">=3.7" [package.dependencies] cfgv = ">=2.0.0" identify = ">=1.0.0" -importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} -importlib-resources = {version = "<5.3", markers = "python_version < \"3.7\""} nodeenv = ">=0.11.1" pyyaml = ">=5.1" toml = "*" @@ -1228,7 +1182,7 @@ virtualenv = ">=20.0.8" [[package]] name = "prompt-toolkit" -version = "3.0.28" +version = "3.0.30" description = "Library for building powerful interactive command lines in Python" category = "main" optional = false @@ -1287,11 +1241,11 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" [[package]] name = "pygments" -version = "2.11.2" +version = "2.12.0" description = "Pygments is a syntax highlighting package written in Python." category = "main" optional = false -python-versions = ">=3.5" +python-versions = ">=3.6" [[package]] name = "pyloco" @@ -1320,16 +1274,16 @@ python-versions = ">=3.6" cryptography = ">=35.0" [package.extras] -docs = ["sphinx", "sphinx-rtd-theme"] -test = ["flaky", "pretend", "pytest (>=3.0.1)"] +test = ["pytest (>=3.0.1)", "pretend", "flaky"] +docs = ["sphinx-rtd-theme", "sphinx"] [[package]] name = "pyparsing" -version = "3.0.7" -description = "Python parsing module" +version = "3.0.9" +description = "pyparsing module - Classes and methods to define and execute parsing grammars" category = "main" optional = false -python-versions = ">=3.6" +python-versions = ">=3.6.8" [package.extras] diagrams = ["jinja2", "railroad-diagrams"] @@ -1416,7 +1370,7 @@ md = ["cmarkgfm (>=0.8.0)"] [[package]] name = "redis" -version = "4.2.0" +version = "4.3.4" description = "Python client for Redis database and key-value store" category = "main" optional = false @@ -1425,17 +1379,15 @@ python-versions = ">=3.6" [package.dependencies] async-timeout = ">=4.0.2" deprecated = ">=1.2.3" -importlib-metadata = {version = ">=1.0", markers = "python_version < \"3.8\""} packaging = ">=20.4" -typing-extensions = "*" [package.extras] +ocsp = ["requests (>=2.26.0)", "pyopenssl (==20.0.1)", "cryptography (>=36.0.1)"] hiredis = ["hiredis (>=1.0.0)"] -ocsp = ["cryptography (>=36.0.1)", "pyopenssl (==20.0.1)", "requests (>=2.26.0)"] [[package]] name = "regex" -version = "2022.3.15" +version = "2022.7.25" description = "Alternative regular expression module, to replace re." category = "main" optional = false @@ -1456,8 +1408,8 @@ idna = ">=2.5,<3" urllib3 = ">=1.21.1,<1.25.0 || >1.25.0,<1.25.1 || >1.25.1,<1.26" [package.extras] -security = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)"] -socks = ["PySocks (>=1.5.6,!=1.5.7)", "win-inet-pton"] +socks = ["win-inet-pton", "PySocks (>=1.5.6,!=1.5.7)"] +security = ["cryptography (>=1.3.4)", "pyOpenSSL (>=0.14)"] [[package]] name = "requests-mock" @@ -1536,7 +1488,7 @@ crt = ["botocore[crt] (>=1.20.29,<2.0a.0)"] [[package]] name = "secretstorage" -version = "3.3.1" +version = "3.3.2" description = "Python bindings to FreeDesktop.org Secret Service API" category = "main" optional = false @@ -1625,7 +1577,7 @@ python-versions = ">=3.6" [[package]] name = "tqdm" -version = "4.63.1" +version = "4.64.0" description = "Fast, Extensible Progress Meter" category = "main" optional = false @@ -1633,12 +1585,12 @@ python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" [package.dependencies] colorama = {version = "*", markers = "platform_system == \"Windows\""} -importlib-resources = {version = "*", markers = "python_version < \"3.7\""} [package.extras] -dev = ["py-make (>=0.1.0)", "twine", "wheel"] -notebook = ["ipywidgets (>=6)"] telegram = ["requests"] +slack = ["slack-sdk"] +notebook = ["ipywidgets (>=6)"] +dev = ["wheel", "twine", "py-make (>=0.1.0)"] [[package]] name = "traitlets" @@ -1654,7 +1606,7 @@ ipython-genutils = "*" six = "*" [package.extras] -test = ["pytest", "mock"] +test = ["mock", "pytest"] [[package]] name = "twine" @@ -1675,14 +1627,6 @@ requests-toolbelt = ">=0.8.0,<0.9.0 || >0.9.0" rfc3986 = ">=1.4.0" tqdm = ">=4.14" -[[package]] -name = "typed-ast" -version = "1.5.2" -description = "a fork of Python 2 and 3 ast modules with type comment support" -category = "main" -optional = false -python-versions = ">=3.6" - [[package]] name = "typing" version = "3.7.4.3" @@ -1691,14 +1635,6 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -[[package]] -name = "typing-extensions" -version = "4.1.1" -description = "Backported and Experimental Type Hints for Python 3.6+" -category = "main" -optional = false -python-versions = ">=3.6" - [[package]] name = "uritemplate" version = "4.1.1" @@ -1716,9 +1652,9 @@ optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4" [package.extras] -brotli = ["brotlipy (>=0.6.0)"] -secure = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "certifi", "ipaddress"] socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] +secure = ["ipaddress", "certifi", "idna (>=2.0.0)", "cryptography (>=1.3.4)", "pyOpenSSL (>=0.14)"] +brotli = ["brotlipy (>=0.6.0)"] [[package]] name = "ushlex" @@ -1747,13 +1683,11 @@ python-versions = ">=3.6" [package.dependencies] distlib = ">=0.3.1,<1" filelock = ">=3.2,<4" -importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} -importlib-resources = {version = ">=1.0", markers = "python_version < \"3.7\""} platformdirs = ">=2,<3" [package.extras] -docs = ["proselint (>=0.10.2)", "sphinx (>=3)", "sphinx-argparse (>=0.2.5)", "sphinx-rtd-theme (>=0.4.3)", "towncrier (>=21.3)"] -testing = ["coverage (>=4)", "coverage-enable-subprocess (>=1)", "flaky (>=3)", "packaging (>=20.0)", "pytest (>=4)", "pytest-env (>=0.6.2)", "pytest-freezegun (>=0.4.1)", "pytest-mock (>=2)", "pytest-randomly (>=1)", "pytest-timeout (>=1)"] +testing = ["pytest-timeout (>=1)", "pytest-randomly (>=1)", "pytest-mock (>=2)", "pytest-freezegun (>=0.4.1)", "pytest-env (>=0.6.2)", "pytest (>=4)", "packaging (>=20.0)", "flaky (>=3)", "coverage-enable-subprocess (>=1)", "coverage (>=4)"] +docs = ["towncrier (>=21.3)", "sphinx-rtd-theme (>=0.4.3)", "sphinx-argparse (>=0.2.5)", "sphinx (>=3)", "proselint (>=0.10.2)"] [[package]] name = "wcwidth" @@ -1786,7 +1720,7 @@ docs = ["sphinx-rtd-theme (>=0.5)", "Sphinx (>=3.4)"] [[package]] name = "weni-protobuffers" -version = "1.2.10" +version = "1.2.16" description = "Protocol Buffers for Weni Platform" category = "main" optional = false @@ -1809,7 +1743,7 @@ brotli = ["brotli"] [[package]] name = "wrapt" -version = "1.14.0" +version = "1.14.1" description = "Module for decorators, wrappers and monkey patching." category = "main" optional = false @@ -1824,13 +1758,13 @@ optional = false python-versions = ">=3.6" [package.extras] -docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] -testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy"] +testing = ["pytest-mypy", "pytest-black (>=0.3.7)", "func-timeout", "jaraco.itertools", "pytest-enabler (>=1.0.1)", "pytest-cov", "pytest-flake8", "pytest-checkdocs (>=2.4)", "pytest (>=4.6)"] +docs = ["rst.linker (>=1.9)", "jaraco.packaging (>=8.2)", "sphinx"] [metadata] lock-version = "1.1" -python-versions = "~=3.6.15" -content-hash = "25c839bc8231f2bd8e6528102aea0ddff4f20a5b98791f5dc7aa9eb022883189" +python-versions = "~=3.8.13" +content-hash = "414b18406578355170034e5c473d3f62e31bd00f0149de551d70ab76f5dab7ca" [metadata.files] amqp = [] @@ -1845,7 +1779,6 @@ black = [] bleach = [] boto3 = [] botocore = [] -cached-property = [] celery = [] certifi = [] cffi = [] @@ -1861,7 +1794,6 @@ coreschema = [] coverage = [] cryptography = [] cycler = [] -dataclasses = [] decorator = [] deprecated = [] distlib = [] @@ -1898,7 +1830,6 @@ gunicorn = [] identify = [] idna = [] importlib-metadata = [] -importlib-resources = [] inflection = [] ipython = [] ipython-genutils = [] @@ -1967,9 +1898,7 @@ tomli = [] tqdm = [] traitlets = [] twine = [] -typed-ast = [] typing = [] -typing-extensions = [] uritemplate = [] urllib3 = [] ushlex = [] diff --git a/pyproject.toml b/pyproject.toml index a765b803..f034a70e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ authors = ["weni.ai"] license = "MPL-2.0" [tool.poetry.dependencies] -python = "~=3.6.15" +python = "~=3.8.13" django = "~=3.2.6" djangorestframework = "~=3.12.4" django-filter = "~=2.4.0" @@ -61,7 +61,7 @@ coverage = "~=5.5" ipython = "*" black = "==21.7b0" autopep8 = "^1.6.0" -pre-commit = "2.17.0" +pre-commit = "^2.20.0" [build-system] requires = ["poetry-core>=1.0.0"] diff --git a/runtime.txt b/runtime.txt index 82347234..5b3694c1 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.6.8 \ No newline at end of file +python-3.8.13