Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Merge branch 'master' into email_interface_as_plugin

Maciej Korycinskib9c744df72c9
diff --cc .isort.cfg
index 73ec897917,c4efe71a05..0000000000
deleted file mode 100644,100644
--- a/.isort.cfg
+++ /dev/null
@@@ -1,2 -1,2 +1,0 @@@
--[settings]
- known_third_party = Adyen,PIL,babel,boto3,braintree,celery,dj_database_url,dj_email_url,django,django_cache_url,django_countries,django_filters,django_measurement,django_prices,django_prices_openexchangerates,django_prices_vatlayer,draftjs_sanitizer,faker,freezegun,geolite2,google,google_measurement_protocol,graphene,graphene_django,graphene_federation,graphql,graphql_relay,html2text,html_to_draftjs,i18naddress,jaeger_client,jwt,kombu,markdown,measurement,mptt,oauthlib,openpyxl,opentracing,petl,phonenumber_field,phonenumbers,pkg_resources,prices,promise,pybars,pytest,pythonjsonlogger,pytimeparse,pytz,razorpay,requests,sentry_sdk,storages,stripe,tqdm,versatileimagefield,weasyprint
-known_third_party = Adyen,PIL,babel,boto3,braintree,celery,dj_database_url,dj_email_url,django,django_cache_url,django_countries,django_filters,django_measurement,django_prices,django_prices_openexchangerates,django_prices_vatlayer,draftjs_sanitizer,faker,freezegun,geolite2,google,google_measurement_protocol,graphene,graphene_django,graphene_federation,graphql,graphql_relay,html_to_draftjs,i18naddress,jaeger_client,jwt,kombu,markdown,measurement,mptt,oauthlib,openpyxl,opentracing,petl,phonenumber_field,phonenumbers,pkg_resources,prices,promise,pytest,pythonjsonlogger,pytimeparse,pytz,razorpay,requests,sentry_sdk,storages,stripe,templated_email,tqdm,urllib3,versatileimagefield,weasyprint
diff --cc poetry.lock
index fb4bac45f3,ee3560b103..1c3530e025
--- a/poetry.lock
+++ b/poetry.lock
@@@ -8,7 -8,7 +8,7 @@@ python-versions = "*
[[package]]
name = "amqp"
--version = "5.0.1"
++version = "5.0.2"
description = "Low-level AMQP client for Python (fork of amqplib)."
category = "main"
optional = false
@@@ -43,7 -43,7 +43,7 @@@ python-versions = "*
[[package]]
name = "asgiref"
--version = "3.2.10"
++version = "3.3.1"
description = "ASGI specs, helper code, and adapters"
category = "main"
optional = false
@@@ -75,16 -75,16 +75,17 @@@ python-versions = ">=2.7, !=3.0.*, !=3.
[[package]]
name = "attrs"
--version = "20.1.0"
++version = "20.3.0"
description = "Classes Without Boilerplate"
category = "dev"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
[package.extras]
--dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "sphinx", "sphinx-rtd-theme", "pre-commit"]
--docs = ["sphinx", "sphinx-rtd-theme", "zope.interface"]
++dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "furo", "sphinx", "pre-commit"]
++docs = ["furo", "sphinx", "zope.interface"]
tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface"]
++tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six"]
[[package]]
name = "babel"
@@@ -150,20 -150,20 +151,20 @@@ d = ["aiohttp (>=3.3.2)", "aiohttp-cors
[[package]]
name = "boto3"
- version = "1.15.18"
-version = "1.16.30"
++version = "1.16.31"
description = "The AWS SDK for Python"
category = "main"
optional = false
python-versions = "*"
[package.dependencies]
- botocore = ">=1.18.18,<1.19.0"
-botocore = ">=1.19.30,<1.20.0"
++botocore = ">=1.19.31,<1.20.0"
jmespath = ">=0.7.1,<1.0.0"
s3transfer = ">=0.3.0,<0.4.0"
[[package]]
name = "botocore"
- version = "1.18.18"
-version = "1.19.30"
++version = "1.19.31"
description = "Low-level, data-driven core of boto 3."
category = "main"
optional = false
@@@ -195,11 -195,11 +196,11 @@@ python-versions = "~=3.5
[[package]]
name = "cairocffi"
--version = "1.1.0"
++version = "1.2.0"
description = "cffi-based cairo bindings for Python"
category = "main"
optional = false
--python-versions = ">= 3.5"
++python-versions = ">=3.6"
[package.dependencies]
cffi = ">=1.1.0"
@@@ -211,11 -211,11 +212,11 @@@ xcb = ["xcffib (>=0.3.2)"
[[package]]
name = "cairosvg"
--version = "2.4.2"
++version = "2.5.0"
description = "A Simple SVG Converter based on Cairo"
category = "main"
optional = false
--python-versions = ">= 3.5"
++python-versions = ">=3.5"
[package.dependencies]
cairocffi = "*"
@@@ -230,7 -230,7 +231,7 @@@ test = ["pytest-runner", "pytest-cov",
[[package]]
name = "celery"
- version = "5.0.1"
-version = "5.0.2"
++version = "5.0.4"
description = "Distributed Task Queue."
category = "main"
optional = false
@@@ -281,7 -283,7 +284,7 @@@ zstd = ["zstandard"
[[package]]
name = "certifi"
--version = "2020.6.20"
++version = "2020.12.5"
description = "Python package for providing Mozilla's CA Bundle."
category = "main"
optional = false
@@@ -289,7 -291,7 +292,7 @@@ python-versions = "*
[[package]]
name = "cffi"
--version = "1.14.2"
++version = "1.14.4"
description = "Foreign Function Interface for Python calling C code."
category = "main"
optional = false
@@@ -360,9 -376,9 +377,9 @@@ requests = ">=2.7.9
[[package]]
name = "colorama"
--version = "0.4.3"
++version = "0.4.4"
description = "Cross-platform colored terminal text."
- category = "dev"
+ category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
@@@ -379,11 -395,11 +396,11 @@@ toml = ["toml"
[[package]]
name = "cssselect2"
--version = "0.3.0"
--description = "CSS selectors for Python ElementTree"
++version = "0.4.1"
++description = "cssselect2"
category = "main"
optional = false
--python-versions = ">=3.5"
++python-versions = ">=3.6"
[package.dependencies]
tinycss2 = "*"
@@@ -391,7 -407,7 +408,7 @@@ webencodings = "*
[package.extras]
doc = ["sphinx", "sphinx-rtd-theme"]
--test = ["pytest-runner", "pytest-cov", "pytest-flake8", "pytest-isort"]
++test = ["pytest", "pytest-cov", "pytest-flake8", "pytest-isort", "coverage"]
[[package]]
name = "defusedxml"
@@@ -632,7 -648,7 +649,7 @@@ redis = ">=3.0.0
[[package]]
name = "django-render-block"
--version = "0.7"
++version = "0.8.1"
description = "Render a particular block from a template to a string."
category = "main"
optional = false
@@@ -748,7 -764,7 +765,7 @@@ testing = ["pre-commit"
[[package]]
name = "faker"
- version = "4.14.0"
-version = "4.17.1"
++version = "4.18.0"
description = "Faker is a Python package that generates fake data for you."
category = "main"
optional = false
@@@ -804,7 -820,7 +821,7 @@@ smmap = ">=3.0.1,<4
[[package]]
name = "gitpython"
--version = "3.1.7"
++version = "3.1.11"
description = "Python Git Library"
category = "dev"
optional = false
@@@ -815,7 -831,7 +832,7 @@@ gitdb = ">=4.0.1,<5
[[package]]
name = "google-api-core"
--version = "1.22.2"
++version = "1.23.0"
description = "Google API client core library"
category = "main"
optional = false
@@@ -828,7 -844,7 +845,7 @@@ grpcio = {version = ">=1.29.0,<2.0dev"
protobuf = ">=3.12.0"
pytz = "*"
requests = ">=2.18.0,<3.0.0dev"
--six = ">=1.10.0"
++six = ">=1.13.0"
[package.extras]
grpc = ["grpcio (>=1.29.0,<2.0dev)"]
@@@ -837,7 -853,7 +854,7 @@@ grpcio-gcp = ["grpcio-gcp (>=0.2.2)"
[[package]]
name = "google-auth"
--version = "1.21.3"
++version = "1.23.0"
description = "Google Authentication Library"
category = "main"
optional = false
@@@ -849,16 -865,16 +866,20 @@@ pyasn1-modules = ">=0.2.1
rsa = {version = ">=3.1.4,<5", markers = "python_version >= \"3.5\""}
six = ">=1.9.0"
++[package.extras]
++aiohttp = ["aiohttp (>=3.6.2,<4.0.0dev)"]
++
[[package]]
name = "google-cloud-core"
--version = "1.4.1"
++version = "1.4.4"
description = "Google Cloud API client core library"
category = "main"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
[package.dependencies]
--google-api-core = ">=1.19.0,<2.0.0dev"
++google-api-core = ">=1.21.0,<2.0.0dev"
++six = ">=1.12.0"
[package.extras]
grpc = ["grpcio (>=1.8.2,<2.0dev)"]
@@@ -930,7 -946,7 +951,7 @@@ requests = ">=2.0,<3.0a0
[[package]]
name = "google-resumable-media"
--version = "1.0.0"
++version = "1.1.0"
description = "Utilities for Google Media Downloads and Resumable Uploads"
category = "main"
optional = false
@@@ -941,6 -957,6 +962,7 @@@ google-crc32c = {version = ">=1.0,<2.0d
six = "*"
[package.extras]
++aiohttp = ["aiohttp (>=3.6.2,<4.0.0dev)"]
requests = ["requests (>=2.18.0,<3.0.0dev)"]
[[package]]
@@@ -1054,7 -1070,7 +1076,7 @@@ grpcio = ">=1.0.0,<2.0.0dev
[[package]]
name = "grpcio"
--version = "1.31.0"
++version = "1.34.0"
description = "HTTP/2-based RPC framework"
category = "main"
optional = false
@@@ -1064,7 -1080,7 +1086,7 @@@ python-versions = "*
six = ">=1.5.2"
[package.extras]
--protobuf = ["grpcio-tools (>=1.31.0)"]
++protobuf = ["grpcio-tools (>=1.34.0)"]
[[package]]
name = "gunicorn"
@@@ -1082,7 -1098,7 +1104,7 @@@ tornado = ["tornado (>=0.2)"
[[package]]
name = "h11"
--version = "0.9.0"
++version = "0.11.0"
description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"
category = "main"
optional = false
@@@ -1129,9 -1137,20 +1151,20 @@@ chardet = ["chardet (>=2.2)"
genshi = ["genshi"]
lxml = ["lxml"]
+ [[package]]
+ name = "httptools"
+ version = "0.1.1"
+ description = "A collection of framework independent HTTP protocol utils."
+ category = "main"
+ optional = false
+ python-versions = "*"
+
+ [package.extras]
+ test = ["Cython (==0.29.14)"]
+
[[package]]
name = "identify"
--version = "1.4.30"
++version = "1.5.10"
description = "File identification library for Python"
category = "dev"
optional = false
@@@ -1150,7 -1169,7 +1183,7 @@@ python-versions = ">=2.7, !=3.0.*, !=3.
[[package]]
name = "iniconfig"
--version = "1.0.1"
++version = "1.1.1"
description = "iniconfig: brain-dead simple config-ini parsing"
category = "dev"
optional = false
@@@ -1265,7 -1284,7 +1298,7 @@@ python-versions = ">=2.7, !=3.0.*, !=3.
[[package]]
name = "libcst"
--version = "0.3.10"
++version = "0.3.15"
description = "A concrete syntax tree with AST-like properties for Python 3.5, 3.6, 3.7 and 3.8 programs."
category = "main"
optional = false
@@@ -1277,11 -1296,11 +1310,11 @@@ typing-extensions = ">=3.7.4.2
typing-inspect = ">=0.4.0"
[package.extras]
--dev = ["black", "codecov", "coverage", "hypothesis (>=4.36.0)", "hypothesmith (>=0.0.4)", "isort", "flake8", "jupyter", "nbsphinx", "pyre-check", "sphinx", "sphinx-rtd-theme"]
++dev = ["black (==20.8b1)", "codecov (>=2.1.4)", "coverage (>=4.5.4)", "fixit (==0.1.1)", "flake8 (>=3.7.8)", "hypothesis (>=4.36.0)", "hypothesmith (>=0.0.4)", "isort (==5.5.3)", "jupyter (>=1.0.0)", "nbsphinx (>=0.4.2)", "pyre-check (==0.0.41)", "sphinx-rtd-theme (>=0.4.3)", "prompt-toolkit (>=2.0.9)", "tox (>=3.18.1)"]
[[package]]
name = "lxml"
--version = "4.5.2"
++version = "4.6.2"
description = "Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API."
category = "main"
optional = false
@@@ -1360,11 -1379,11 +1393,11 @@@ python-versions = "*
[[package]]
name = "multidict"
--version = "4.7.6"
++version = "5.1.0"
description = "multidict implementation"
category = "dev"
optional = false
--python-versions = ">=3.5"
++python-versions = ">=3.6"
[[package]]
name = "mypy"
@@@ -1436,7 -1455,7 +1469,7 @@@ tests = ["doubles", "flake8", "flake8-q
[[package]]
name = "packaging"
--version = "20.4"
++version = "20.7"
description = "Core utilities for Python packages"
category = "dev"
optional = false
@@@ -1444,11 -1463,11 +1477,10 @@@ python-versions = ">=2.7, !=3.0.*, !=3.
[package.dependencies]
pyparsing = ">=2.0.2"
--six = "*"
[[package]]
name = "pathspec"
--version = "0.8.0"
++version = "0.8.1"
description = "Utility library for gitignore style pattern matching of file paths."
category = "dev"
optional = false
@@@ -1488,11 -1507,11 +1520,11 @@@ python-versions = "*
[[package]]
name = "pillow"
--version = "7.2.0"
++version = "8.0.1"
description = "Python Imaging Library (Fork)"
category = "main"
optional = false
--python-versions = ">=3.5"
++python-versions = ">=3.6"
[[package]]
name = "pluggy"
@@@ -1507,7 -1526,7 +1539,7 @@@ dev = ["pre-commit", "tox"
[[package]]
name = "pre-commit"
- version = "2.7.1"
-version = "2.9.2"
++version = "2.9.3"
description = "A framework for managing and maintaining multi-language pre-commit hooks."
category = "dev"
optional = false
@@@ -1548,7 -1567,7 +1580,7 @@@ test = ["pytest (>=2.7.3)", "pytest-cov
[[package]]
name = "prompt-toolkit"
--version = "3.0.7"
++version = "3.0.8"
description = "Library for building powerful interactive command lines in Python"
category = "main"
optional = false
@@@ -1559,18 -1578,18 +1591,21 @@@ wcwidth = "*
[[package]]
name = "proto-plus"
--version = "1.9.1"
++version = "1.13.0"
description = "Beautiful, Pythonic protocol buffers."
category = "main"
optional = false
--python-versions = "*"
++python-versions = ">=3.6"
[package.dependencies]
protobuf = ">=3.12.0"
++[package.extras]
++testing = ["google-api-core[grpc] (>=1.22.2)"]
++
[[package]]
name = "protobuf"
--version = "3.13.0"
++version = "3.14.0"
description = "Protocol Buffers"
category = "main"
optional = false
@@@ -1757,7 -1757,7 +1792,7 @@@ python-versions = ">=2.6, !=3.0.*, !=3.
[[package]]
name = "pyphen"
--version = "0.9.5"
++version = "0.10.0"
description = "Pure Python module to hyphenate text"
category = "main"
optional = false
@@@ -1911,6 -1911,17 +1946,17 @@@ python-versions = "!=3.0.*,!=3.1.*,!=3.
[package.dependencies]
six = ">=1.5"
+ [[package]]
+ name = "python-dotenv"
-version = "0.14.0"
++version = "0.15.0"
+ description = "Add .env support to your django/flask apps in development and deployments"
+ category = "main"
+ optional = false
+ python-versions = "*"
+
+ [package.extras]
+ cli = ["click (>=5.0)"]
+
[[package]]
name = "python-json-logger"
version = "2.0.1"
@@@ -1959,7 -1970,7 +2005,7 @@@ python-versions = "*
[[package]]
name = "pytz"
--version = "2020.1"
++version = "2020.4"
description = "World timezone definitions, modern and historical"
category = "main"
optional = false
@@@ -2005,7 -2016,7 +2051,7 @@@ hiredis = ["hiredis (>=0.1.3)"
[[package]]
name = "regex"
--version = "2020.7.14"
++version = "2020.11.13"
description = "Alternative regular expression module, to replace re."
category = "dev"
optional = false
@@@ -2061,7 -2072,7 +2107,7 @@@ botocore = ">=1.12.36,<2.0a.0
[[package]]
name = "sentry-sdk"
--version = "0.17.3"
++version = "0.19.4"
description = "Python client for Sentry (https://sentry.io)"
category = "main"
optional = false
@@@ -2076,6 -2087,6 +2122,7 @@@ 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)"]
flask = ["flask (>=0.11)", "blinker (>=1.1)"]
@@@ -2131,11 -2142,11 +2178,11 @@@ python-versions = ">=3.5
[[package]]
name = "sqlparse"
--version = "0.3.1"
--description = "Non-validating SQL parser"
++version = "0.4.1"
++description = "A non-validating SQL parser."
category = "main"
optional = false
--python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
++python-versions = ">=3.5"
[[package]]
name = "stripe"
@@@ -2150,11 -2161,11 +2197,11 @@@ requests = {version = ">=2.20", marker
[[package]]
name = "sympy"
--version = "1.6.2"
++version = "1.7"
description = "Computer algebra system (CAS) in Python"
category = "main"
optional = false
--python-versions = ">=3.5"
++python-versions = ">=3.6"
[package.dependencies]
mpmath = ">=0.19"
@@@ -2196,30 -2207,30 +2243,30 @@@ twisted = ["twisted"
[[package]]
name = "tinycss2"
--version = "1.0.2"
--description = "Low-level CSS parser for Python"
++version = "1.1.0"
++description = "tinycss2"
category = "main"
optional = false
--python-versions = ">= 3.5"
++python-versions = ">=3.6"
[package.dependencies]
webencodings = ">=0.4"
[package.extras]
doc = ["sphinx", "sphinx-rtd-theme"]
--test = ["pytest-runner", "pytest-cov", "pytest-flake8", "pytest-isort"]
++test = ["pytest", "pytest-cov", "pytest-flake8", "pytest-isort", "coverage"]
[[package]]
name = "toml"
--version = "0.10.1"
++version = "0.10.2"
description = "Python Library for Tom's Obvious, Minimal Language"
category = "dev"
optional = false
--python-versions = "*"
++python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
[[package]]
name = "tornado"
--version = "6.0.4"
++version = "6.1"
description = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed."
category = "main"
optional = false
@@@ -2311,7 -2322,7 +2358,7 @@@ python-versions = ">=2.7, !=3.0.*, !=3.
[[package]]
name = "urllib3"
--version = "1.25.10"
++version = "1.26.2"
description = "HTTP library with thread-safe connection pooling, file post, and more."
category = "main"
optional = false
@@@ -2319,7 -2330,7 +2366,7 @@@ python-versions = ">=2.7, !=3.0.*, !=3.
[package.extras]
brotli = ["brotlipy (>=0.6.0)"]
--secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "pyOpenSSL (>=0.14)", "ipaddress"]
++secure = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "certifi", "ipaddress"]
socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"]
[[package]]
@@@ -2337,9 -2355,17 +2391,17 @@@ websockets = {version = ">=8.0.0,<9.0.0
[package.extras]
standard = ["websockets (>=8.0.0,<9.0.0)", "watchgod (>=0.6,<0.7)", "python-dotenv (>=0.13)", "PyYAML (>=5.1)", "httptools (>=0.1.0,<0.2.0)", "uvloop (>=0.14.0)", "colorama (>=0.4)"]
+ [[package]]
+ name = "uvloop"
+ version = "0.14.0"
+ description = "Fast implementation of asyncio event loop on top of libuv"
+ category = "main"
+ optional = false
+ python-versions = "*"
+
[[package]]
name = "vcrpy"
--version = "4.1.0"
++version = "4.1.1"
description = "Automatically mock your HTTP interactions to simplify and speed up testing"
category = "dev"
optional = false
@@@ -2361,7 -2387,7 +2423,7 @@@ python-versions = ">=3.6
[[package]]
name = "virtualenv"
--version = "20.0.31"
++version = "20.2.2"
description = "Virtual Python Environment builder"
category = "dev"
optional = false
@@@ -2375,7 -2401,15 +2437,15 @@@ six = ">=1.9.0,<2
[package.extras]
docs = ["proselint (>=0.10.2)", "sphinx (>=3)", "sphinx-argparse (>=0.2.5)", "sphinx-rtd-theme (>=0.4.3)", "towncrier (>=19.9.0rc1)"]
--testing = ["coverage (>=5)", "coverage-enable-subprocess (>=1)", "flaky (>=3)", "pytest (>=4)", "pytest-env (>=0.6.2)", "pytest-freezegun (>=0.4.1)", "pytest-mock (>=2)", "pytest-randomly (>=1)", "pytest-timeout (>=1)", "pytest-xdist (>=1.31.0)", "packaging (>=20.0)", "xonsh (>=0.9.16)"]
++testing = ["coverage (>=4)", "coverage-enable-subprocess (>=1)", "flaky (>=3)", "pytest (>=4)", "pytest-env (>=0.6.2)", "pytest-freezegun (>=0.4.1)", "pytest-mock (>=2)", "pytest-randomly (>=1)", "pytest-timeout (>=1)", "pytest-xdist (>=1.31.0)", "packaging (>=20.0)", "xonsh (>=0.9.16)"]
+
+ [[package]]
+ name = "watchgod"
+ version = "0.6"
+ description = "Simple, modern file watching and code reload in python."
+ category = "main"
+ optional = false
+ python-versions = ">=3.5"
[[package]]
name = "wcwidth"
@@@ -2424,11 -2467,11 +2503,11 @@@ python-versions = "*
[[package]]
name = "yarl"
--version = "1.5.1"
++version = "1.6.3"
description = "Yet another URL library"
category = "dev"
optional = false
--python-versions = ">=3.5"
++python-versions = ">=3.6"
[package.dependencies]
idna = ">=2.0"
@@@ -2437,15 -2480,15 +2516,15 @@@ multidict = ">=4.0
[metadata]
lock-version = "1.1"
python-versions = "~3.8"
- content-hash = "a2477805bec92a2c0ef947ce3e7911278b8b2395be66466e1b3c03c8678aa320"
-content-hash = "65e467ae62e39785e52afa9aebf1fbc32ab285efc8d742a2b1459c116b1736ec"
++content-hash = "833c162cf7606e06e23b04b0b407c746c5c0d8d3e2af46e9c9e22eef1a6cd419"
[metadata.files]
adyen = [
- {file = "Adyen-3.0.0.tar.gz", hash = "sha256:d0e9a100335c7c4f43471dd0fc35605e35f9fe090a3678284559d1e5ab2b8878"},
+ {file = "Adyen-3.1.0.tar.gz", hash = "sha256:8ac866a5dba790952cdf3bdbbb44a893d9268fa3dd81222db5de5a034b2462c9"},
]
amqp = [
-- {file = "amqp-5.0.1-py2.py3-none-any.whl", hash = "sha256:a8fb8151eb9d12204c9f1784c0da920476077609fa0a70f2468001e3a4258484"},
-- {file = "amqp-5.0.1.tar.gz", hash = "sha256:9881f8e6fe23e3db9faa6cfd8c05390213e1d1b95c0162bc50552cad75bffa5f"},
++ {file = "amqp-5.0.2-py3-none-any.whl", hash = "sha256:5b9062d5c0812335c75434bf17ce33d7a20ecfedaa0733faec7379868eb4068a"},
++ {file = "amqp-5.0.2.tar.gz", hash = "sha256:fcd5b3baeeb7fc19b3486ff6d10543099d40ae1f5c9196eae695d1cde1b2f784"},
]
aniso8601 = [
{file = "aniso8601-7.0.0-py2.py3-none-any.whl", hash = "sha256:d10a4bf949f619f719b227ef5386e31f49a2b6d453004b21f02661ccc8670c7b"},
@@@ -2460,8 -2503,8 +2539,8 @@@ appdirs =
{file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"},
]
asgiref = [
-- {file = "asgiref-3.2.10-py3-none-any.whl", hash = "sha256:9fc6fb5d39b8af147ba40765234fa822b39818b12cc80b35ad9b0cef3a476aed"},
-- {file = "asgiref-3.2.10.tar.gz", hash = "sha256:7e51911ee147dd685c3c8b805c0ad0cb58d360987b56953878f8c06d2d1c6f1a"},
++ {file = "asgiref-3.3.1-py3-none-any.whl", hash = "sha256:5ee950735509d04eb673bd7f7120f8fa1c9e2df495394992c73234d526907e17"},
++ {file = "asgiref-3.3.1.tar.gz", hash = "sha256:7162a3cb30ab0609f1a4c95938fd73e8604f63bdba516a7f7d64b83ff09478f0"},
]
astroid = [
{file = "astroid-2.4.2-py3-none-any.whl", hash = "sha256:bc58d83eb610252fd8de6363e39d4f1d0619c894b0ed24603b881c02e64c7386"},
@@@ -2472,12 -2515,12 +2551,12 @@@ atomicwrites =
{file = "atomicwrites-1.4.0.tar.gz", hash = "sha256:ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"},
]
attrs = [
-- {file = "attrs-20.1.0-py2.py3-none-any.whl", hash = "sha256:2867b7b9f8326499ab5b0e2d12801fa5c98842d2cbd22b35112ae04bf85b4dff"},
-- {file = "attrs-20.1.0.tar.gz", hash = "sha256:0ef97238856430dcf9228e07f316aefc17e8939fc8507e18c6501b761ef1a42a"},
++ {file = "attrs-20.3.0-py2.py3-none-any.whl", hash = "sha256:31b2eced602aa8423c2aea9c76a724617ed67cf9513173fd3a4f03e3a929c7e6"},
++ {file = "attrs-20.3.0.tar.gz", hash = "sha256:832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700"},
]
babel = [
- {file = "Babel-2.8.0-py2.py3-none-any.whl", hash = "sha256:d670ea0b10f8b723672d3a6abeb87b565b244da220d76b4dba1b66269ec152d4"},
- {file = "Babel-2.8.0.tar.gz", hash = "sha256:1aac2ae2d0d8ea368fa90906567f5c08463d98ade155c0c4bfedd6a0f7160e38"},
+ {file = "Babel-2.9.0-py2.py3-none-any.whl", hash = "sha256:9d35c22fcc79893c3ecc85ac4a56cde1ecf3f19c540bba0922308a6c06ca6fa5"},
+ {file = "Babel-2.9.0.tar.gz", hash = "sha256:da031ab54472314f210b0adcff1588ee5d1d1d0ba4dbd07b94dba82bde791e05"},
]
beautifulsoup4 = [
{file = "beautifulsoup4-4.7.1-py2-none-any.whl", hash = "sha256:ba6d5c59906a85ac23dadfe5c88deaf3e179ef565f4898671253e50a78680718"},
@@@ -2497,65 -2540,65 +2576,71 @@@ black =
{file = "black-19.10b0.tar.gz", hash = "sha256:c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539"},
]
boto3 = [
- {file = "boto3-1.15.18-py2.py3-none-any.whl", hash = "sha256:9ab957090f7893172768bb8b8d2c5cce0afd36a9d36d73a9fb14168f72d75a8b"},
- {file = "boto3-1.15.18.tar.gz", hash = "sha256:f56148e2c6b9a2d704218da42f07d72f00270bfddb13bc1bdea20d3327daa51e"},
- {file = "boto3-1.16.30-py2.py3-none-any.whl", hash = "sha256:163ab6f9030ade265af9b36a10e608f12911cb5f3557e8e3390dffeba919262e"},
- {file = "boto3-1.16.30.tar.gz", hash = "sha256:848aa8d11c9927daa13512072a501e2fc70ba86b073fc6927b86466f4a459b4d"},
++ {file = "boto3-1.16.31-py2.py3-none-any.whl", hash = "sha256:f95052292691568d158c483caf25202bbd466e2435f80c090e53aa9be2ee84b2"},
++ {file = "boto3-1.16.31.tar.gz", hash = "sha256:89786469ff343381f9066d3c7f27ba3526b1563facd59428eb30bfaca43d3831"},
]
botocore = [
- {file = "botocore-1.18.18-py2.py3-none-any.whl", hash = "sha256:de5f9fc0c7e88ee7ba831fa27475be258ae09ece99143ed623d3618a3c84ee2c"},
- {file = "botocore-1.18.18.tar.gz", hash = "sha256:e224754230e7e015836ba20037cac6321e8e2ce9b8627c14d579fcb37249decd"},
- {file = "botocore-1.19.30-py2.py3-none-any.whl", hash = "sha256:70a8ec8d76096927b619a2f1f0dffe326fc9a4f9224afc6cf5d7ef2fd98a94a2"},
- {file = "botocore-1.19.30.tar.gz", hash = "sha256:822f9dd11f11c54b9c4666cfec9b7246a32990dbca1be27528a75a8dabed4dc2"},
++ {file = "botocore-1.19.31-py2.py3-none-any.whl", hash = "sha256:1e5712d53ecdefb0279dc45abef32bd9499f92800ddd89038a8dddb99423f940"},
++ {file = "botocore-1.19.31.tar.gz", hash = "sha256:624e1d4ce704494f73440c416624481d4ff283049b17d12e06890b79f2ac177d"},
]
braintree = [
- {file = "braintree-4.4.0-py2.py3-none-any.whl", hash = "sha256:10b99ea6ea482d1438b0d058dbe51f6a33fe98fe6d0d977d4b7c5868fe3b9e35"},
- {file = "braintree-4.4.0.tar.gz", hash = "sha256:79ddadaa9db60b81762a10af0c0d994fd60d21616c7d9229d6f7ce1930f8d343"},
+ {file = "braintree-4.5.0-py2.py3-none-any.whl", hash = "sha256:5b8195bbb13f52814f89f2e1d52ea92e54bb8c6aee5f5a32c3e860ed3122e0cb"},
+ {file = "braintree-4.5.0.tar.gz", hash = "sha256:98b9775e3d5f793c0a47df6b3649cd175705ee2d9163f7853e8c73acec7b923f"},
]
cachetools = [
{file = "cachetools-4.1.1-py3-none-any.whl", hash = "sha256:513d4ff98dd27f85743a8dc0e92f55ddb1b49e060c2d5961512855cda2c01a98"},
{file = "cachetools-4.1.1.tar.gz", hash = "sha256:bbaa39c3dede00175df2dc2b03d0cf18dd2d32a7de7beb68072d13043c9edb20"},
]
cairocffi = [
-- {file = "cairocffi-1.1.0.tar.gz", hash = "sha256:f1c0c5878f74ac9ccb5d48b2601fcc75390c881ce476e79f4cfedd288b1b05db"},
++ {file = "cairocffi-1.2.0.tar.gz", hash = "sha256:9a979b500c64c8179fec286f337e8fe644eca2f2cd05860ce0b62d25f22ea140"},
]
cairosvg = [
-- {file = "CairoSVG-2.4.2-py3-none-any.whl", hash = "sha256:9cb1df7e9bc60f75fb87f67940a8fb805aad544337a67a40b67c05cfe33711a2"},
-- {file = "CairoSVG-2.4.2.tar.gz", hash = "sha256:4e668f96653326780036ebb0a9ff2bb59a8443d7bcfc51a14aab77b57a8e67ad"},
++ {file = "CairoSVG-2.5.0-py3-none-any.whl", hash = "sha256:cf1d8dcba8984ce46ddfecf5bb4768b4bdd86577873470ccb798cba0b024b842"},
++ {file = "CairoSVG-2.5.0.tar.gz", hash = "sha256:3fc50d10f0cbef53b3ee376a97a88d81bbd9e2f190f7e63de08431a1a08e9afa"},
]
celery = [
- {file = "celery-5.0.1-py3-none-any.whl", hash = "sha256:7aa4ee46ed318bc177900ae7c01500354aee62d723255b0925db0754bcd4d390"},
- {file = "celery-5.0.1.tar.gz", hash = "sha256:e3e8956d74af986b1e9770e0a294338b259618bf70283d6157416328e50c2bd6"},
- {file = "celery-5.0.3-py3-none-any.whl", hash = "sha256:2cc87518fdd41375c8f40e2b0b59391568a3fb0a0b5f859f7bedef9b37efbc90"},
- {file = "celery-5.0.3.tar.gz", hash = "sha256:d7bcb0fca6fc94c41c946e8979c4c276a02cc7532c68757b43b25c2fa9eda68b"},
++ {file = "celery-5.0.4-py3-none-any.whl", hash = "sha256:533f3635065b7ed362ffc04228635b4c82d53a9ab812118ccdedb5eae281fb97"},
++ {file = "celery-5.0.4.tar.gz", hash = "sha256:45bb7909061862305cefec94289fabc1b89ac004680f4dc7d9dea642a2507e53"},
]
certifi = [
-- {file = "certifi-2020.6.20-py2.py3-none-any.whl", hash = "sha256:8fc0819f1f30ba15bdb34cceffb9ef04d99f420f68eb75d901e9560b8749fc41"},
-- {file = "certifi-2020.6.20.tar.gz", hash = "sha256:5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3"},
++ {file = "certifi-2020.12.5-py2.py3-none-any.whl", hash = "sha256:719a74fb9e33b9bd44cc7f3a8d94bc35e4049deebe19ba7d8e108280cfd59830"},
++ {file = "certifi-2020.12.5.tar.gz", hash = "sha256:1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c"},
]
cffi = [
-- {file = "cffi-1.14.2-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:da9d3c506f43e220336433dffe643fbfa40096d408cb9b7f2477892f369d5f82"},
-- {file = "cffi-1.14.2-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:23e44937d7695c27c66a54d793dd4b45889a81b35c0751ba91040fe825ec59c4"},
-- {file = "cffi-1.14.2-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:0da50dcbccd7cb7e6c741ab7912b2eff48e85af217d72b57f80ebc616257125e"},
-- {file = "cffi-1.14.2-cp27-cp27m-win32.whl", hash = "sha256:76ada88d62eb24de7051c5157a1a78fd853cca9b91c0713c2e973e4196271d0c"},
-- {file = "cffi-1.14.2-cp27-cp27m-win_amd64.whl", hash = "sha256:15a5f59a4808f82d8ec7364cbace851df591c2d43bc76bcbe5c4543a7ddd1bf1"},
-- {file = "cffi-1.14.2-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:e4082d832e36e7f9b2278bc774886ca8207346b99f278e54c9de4834f17232f7"},
-- {file = "cffi-1.14.2-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:57214fa5430399dffd54f4be37b56fe22cedb2b98862550d43cc085fb698dc2c"},
-- {file = "cffi-1.14.2-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:6843db0343e12e3f52cc58430ad559d850a53684f5b352540ca3f1bc56df0731"},
-- {file = "cffi-1.14.2-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:577791f948d34d569acb2d1add5831731c59d5a0c50a6d9f629ae1cefd9ca4a0"},
-- {file = "cffi-1.14.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:8662aabfeab00cea149a3d1c2999b0731e70c6b5bac596d95d13f643e76d3d4e"},
-- {file = "cffi-1.14.2-cp35-cp35m-win32.whl", hash = "sha256:837398c2ec00228679513802e3744d1e8e3cb1204aa6ad408b6aff081e99a487"},
-- {file = "cffi-1.14.2-cp35-cp35m-win_amd64.whl", hash = "sha256:bf44a9a0141a082e89c90e8d785b212a872db793a0080c20f6ae6e2a0ebf82ad"},
-- {file = "cffi-1.14.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:29c4688ace466a365b85a51dcc5e3c853c1d283f293dfcc12f7a77e498f160d2"},
-- {file = "cffi-1.14.2-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:99cc66b33c418cd579c0f03b77b94263c305c389cb0c6972dac420f24b3bf123"},
-- {file = "cffi-1.14.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:65867d63f0fd1b500fa343d7798fa64e9e681b594e0a07dc934c13e76ee28fb1"},
-- {file = "cffi-1.14.2-cp36-cp36m-win32.whl", hash = "sha256:f5033952def24172e60493b68717792e3aebb387a8d186c43c020d9363ee7281"},
-- {file = "cffi-1.14.2-cp36-cp36m-win_amd64.whl", hash = "sha256:7057613efefd36cacabbdbcef010e0a9c20a88fc07eb3e616019ea1692fa5df4"},
-- {file = "cffi-1.14.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:6539314d84c4d36f28d73adc1b45e9f4ee2a89cdc7e5d2b0a6dbacba31906798"},
-- {file = "cffi-1.14.2-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:672b539db20fef6b03d6f7a14b5825d57c98e4026401fce838849f8de73fe4d4"},
-- {file = "cffi-1.14.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:95e9094162fa712f18b4f60896e34b621df99147c2cee216cfa8f022294e8e9f"},
-- {file = "cffi-1.14.2-cp37-cp37m-win32.whl", hash = "sha256:b9aa9d8818c2e917fa2c105ad538e222a5bce59777133840b93134022a7ce650"},
-- {file = "cffi-1.14.2-cp37-cp37m-win_amd64.whl", hash = "sha256:e4b9b7af398c32e408c00eb4e0d33ced2f9121fd9fb978e6c1b57edd014a7d15"},
-- {file = "cffi-1.14.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:e613514a82539fc48291d01933951a13ae93b6b444a88782480be32245ed4afa"},
-- {file = "cffi-1.14.2-cp38-cp38-manylinux1_i686.whl", hash = "sha256:9b219511d8b64d3fa14261963933be34028ea0e57455baf6781fe399c2c3206c"},
-- {file = "cffi-1.14.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:c0b48b98d79cf795b0916c57bebbc6d16bb43b9fc9b8c9f57f4cf05881904c75"},
-- {file = "cffi-1.14.2-cp38-cp38-win32.whl", hash = "sha256:15419020b0e812b40d96ec9d369b2bc8109cc3295eac6e013d3261343580cc7e"},
-- {file = "cffi-1.14.2-cp38-cp38-win_amd64.whl", hash = "sha256:12a453e03124069b6896107ee133ae3ab04c624bb10683e1ed1c1663df17c13c"},
-- {file = "cffi-1.14.2.tar.gz", hash = "sha256:ae8f34d50af2c2154035984b8b5fc5d9ed63f32fe615646ab435b05b132ca91b"},
++ {file = "cffi-1.14.4-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:ebb253464a5d0482b191274f1c8bf00e33f7e0b9c66405fbffc61ed2c839c775"},
++ {file = "cffi-1.14.4-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:2c24d61263f511551f740d1a065eb0212db1dbbbbd241db758f5244281590c06"},
++ {file = "cffi-1.14.4-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:9f7a31251289b2ab6d4012f6e83e58bc3b96bd151f5b5262467f4bb6b34a7c26"},
++ {file = "cffi-1.14.4-cp27-cp27m-win32.whl", hash = "sha256:5cf4be6c304ad0b6602f5c4e90e2f59b47653ac1ed9c662ed379fe48a8f26b0c"},
++ {file = "cffi-1.14.4-cp27-cp27m-win_amd64.whl", hash = "sha256:f60567825f791c6f8a592f3c6e3bd93dd2934e3f9dac189308426bd76b00ef3b"},
++ {file = "cffi-1.14.4-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:c6332685306b6417a91b1ff9fae889b3ba65c2292d64bd9245c093b1b284809d"},
++ {file = "cffi-1.14.4-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:d9efd8b7a3ef378dd61a1e77367f1924375befc2eba06168b6ebfa903a5e59ca"},
++ {file = "cffi-1.14.4-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:51a8b381b16ddd370178a65360ebe15fbc1c71cf6f584613a7ea08bfad946698"},
++ {file = "cffi-1.14.4-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:1d2c4994f515e5b485fd6d3a73d05526aa0fcf248eb135996b088d25dfa1865b"},
++ {file = "cffi-1.14.4-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:af5c59122a011049aad5dd87424b8e65a80e4a6477419c0c1015f73fb5ea0293"},
++ {file = "cffi-1.14.4-cp35-cp35m-win32.whl", hash = "sha256:594234691ac0e9b770aee9fcdb8fa02c22e43e5c619456efd0d6c2bf276f3eb2"},
++ {file = "cffi-1.14.4-cp35-cp35m-win_amd64.whl", hash = "sha256:64081b3f8f6f3c3de6191ec89d7dc6c86a8a43911f7ecb422c60e90c70be41c7"},
++ {file = "cffi-1.14.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:f803eaa94c2fcda012c047e62bc7a51b0bdabda1cad7a92a522694ea2d76e49f"},
++ {file = "cffi-1.14.4-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:105abaf8a6075dc96c1fe5ae7aae073f4696f2905fde6aeada4c9d2926752362"},
++ {file = "cffi-1.14.4-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:0638c3ae1a0edfb77c6765d487fee624d2b1ee1bdfeffc1f0b58c64d149e7eec"},
++ {file = "cffi-1.14.4-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:7c6b1dece89874d9541fc974917b631406233ea0440d0bdfbb8e03bf39a49b3b"},
++ {file = "cffi-1.14.4-cp36-cp36m-win32.whl", hash = "sha256:155136b51fd733fa94e1c2ea5211dcd4c8879869008fc811648f16541bf99668"},
++ {file = "cffi-1.14.4-cp36-cp36m-win_amd64.whl", hash = "sha256:6bc25fc545a6b3d57b5f8618e59fc13d3a3a68431e8ca5fd4c13241cd70d0009"},
++ {file = "cffi-1.14.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a7711edca4dcef1a75257b50a2fbfe92a65187c47dab5a0f1b9b332c5919a3fb"},
++ {file = "cffi-1.14.4-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:00e28066507bfc3fe865a31f325c8391a1ac2916219340f87dfad602c3e48e5d"},
++ {file = "cffi-1.14.4-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:798caa2a2384b1cbe8a2a139d80734c9db54f9cc155c99d7cc92441a23871c03"},
++ {file = "cffi-1.14.4-cp37-cp37m-win32.whl", hash = "sha256:00a1ba5e2e95684448de9b89888ccd02c98d512064b4cb987d48f4b40aa0421e"},
++ {file = "cffi-1.14.4-cp37-cp37m-win_amd64.whl", hash = "sha256:9cc46bc107224ff5b6d04369e7c595acb700c3613ad7bcf2e2012f62ece80c35"},
++ {file = "cffi-1.14.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:df5169c4396adc04f9b0a05f13c074df878b6052430e03f50e68adf3a57aa28d"},
++ {file = "cffi-1.14.4-cp38-cp38-manylinux1_i686.whl", hash = "sha256:9ffb888f19d54a4d4dfd4b3f29bc2c16aa4972f1c2ab9c4ab09b8ab8685b9c2b"},
++ {file = "cffi-1.14.4-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:8d6603078baf4e11edc4168a514c5ce5b3ba6e3e9c374298cb88437957960a53"},
++ {file = "cffi-1.14.4-cp38-cp38-win32.whl", hash = "sha256:b4e248d1087abf9f4c10f3c398896c87ce82a9856494a7155823eb45a892395d"},
++ {file = "cffi-1.14.4-cp38-cp38-win_amd64.whl", hash = "sha256:ec80dc47f54e6e9a78181ce05feb71a0353854cc26999db963695f950b5fb375"},
++ {file = "cffi-1.14.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:840793c68105fe031f34d6a086eaea153a0cd5c491cde82a74b420edd0a2b909"},
++ {file = "cffi-1.14.4-cp39-cp39-manylinux1_i686.whl", hash = "sha256:b18e0a9ef57d2b41f5c68beefa32317d286c3d6ac0484efd10d6e07491bb95dd"},
++ {file = "cffi-1.14.4-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:045d792900a75e8b1e1b0ab6787dd733a8190ffcf80e8c8ceb2fb10a29ff238a"},
++ {file = "cffi-1.14.4-cp39-cp39-win32.whl", hash = "sha256:ba4e9e0ae13fc41c6b23299545e5ef73055213e466bd107953e4a013a5ddd7e3"},
++ {file = "cffi-1.14.4-cp39-cp39-win_amd64.whl", hash = "sha256:f032b34669220030f905152045dfa27741ce1a6db3324a5bc0b96b6c7420c87b"},
++ {file = "cffi-1.14.4.tar.gz", hash = "sha256:1a465cbe98a7fd391d47dce4b8f7e5b921e6cd805ef421d04f5f66ba8f06086c"},
]
cfgv = [
{file = "cfgv-3.2.0-py2.py3-none-any.whl", hash = "sha256:32e43d604bbe7896fe7c248a9c2276447dbef840feb28fe20494f62af110211d"},
@@@ -2582,8 -2629,8 +2671,8 @@@ codecov =
{file = "codecov-2.1.10.tar.gz", hash = "sha256:d30ad6084501224b1ba699cbf018a340bb9553eb2701301c14133995fdd84f33"},
]
colorama = [
-- {file = "colorama-0.4.3-py2.py3-none-any.whl", hash = "sha256:7d73d2a99753107a36ac6b455ee49046802e59d9d076ef8e47b61499fa29afff"},
-- {file = "colorama-0.4.3.tar.gz", hash = "sha256:e96da0d330793e2cb9485e9ddfd918d456036c7149416295932478192f4436a1"},
++ {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"},
++ {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"},
]
coverage = [
{file = "coverage-5.3-cp27-cp27m-macosx_10_13_intel.whl", hash = "sha256:bd3166bb3b111e76a4f8e2980fa1addf2920a4ca9b2b8ca36a3bc3dedc618270"},
@@@ -2622,8 -2669,8 +2711,8 @@@
{file = "coverage-5.3.tar.gz", hash = "sha256:280baa8ec489c4f542f8940f9c4c2181f0306a8ee1a54eceba071a449fb870a0"},
]
cssselect2 = [
-- {file = "cssselect2-0.3.0-py3-none-any.whl", hash = "sha256:97d7d4234f846f9996d838964d38e13b45541c18143bc55cf00e4bc1281ace76"},
-- {file = "cssselect2-0.3.0.tar.gz", hash = "sha256:5c2716f06b5de93f701d5755a9666f2ee22cbcd8b4da8adddfc30095ffea3abc"},
++ {file = "cssselect2-0.4.1-py3-none-any.whl", hash = "sha256:2f4a9f20965367bae459e3bb42561f7927e0cfe5b7ea1692757cf67ef5d7dace"},
++ {file = "cssselect2-0.4.1.tar.gz", hash = "sha256:93fbb9af860e95dd40bf18c3b2b6ed99189a07c0f29ba76f9c5be71344664ec8"},
]
defusedxml = [
{file = "defusedxml-0.6.0-py2.py3-none-any.whl", hash = "sha256:6687150770438374ab581bb7a1b327a847dd9c5749e396102de3fad4e8a3ef93"},
@@@ -2709,7 -2756,7 +2798,8 @@@ django-redis =
{file = "django_redis-4.12.1-py3-none-any.whl", hash = "sha256:1133b26b75baa3664164c3f44b9d5d133d1b8de45d94d79f38d1adc5b1d502e5"},
]
django-render-block = [
-- {file = "django_render_block-0.7-py3-none-any.whl", hash = "sha256:3e5963a2332727ca0db2bb8ca031404fba3ac9024702446eed5b7fb02209f7f3"},
++ {file = "django-render-block-0.8.1.tar.gz", hash = "sha256:edbc5d444cc50f3eb3387cf17f6f1014bf19d6018f680861cdeae9e0306003fa"},
++ {file = "django_render_block-0.8.1-py3-none-any.whl", hash = "sha256:903969efd0949f750c5fe71affe6e6b1ea66d03005c102a67fda36d5b9f4e1e1"},
]
django-storages = [
{file = "django-storages-1.10.1.tar.gz", hash = "sha256:652275ab7844538c462b62810276c0244866f345878256a9e0e86f5b1283ae18"},
@@@ -2741,8 -2788,8 +2831,8 @@@ execnet =
{file = "execnet-1.7.1.tar.gz", hash = "sha256:cacb9df31c9680ec5f95553976c4da484d407e85e41c83cb812aa014f0eddc50"},
]
faker = [
- {file = "Faker-4.14.0-py3-none-any.whl", hash = "sha256:a7a36c3c657f06bd1e3e3821b9480f2a92017d8a26e150e464ab6b97743cbc92"},
- {file = "Faker-4.14.0.tar.gz", hash = "sha256:30afa8f564350770373f299d2d267bff42aaba699a7ae0a3b6f378b2a8170569"},
- {file = "Faker-4.17.1-py3-none-any.whl", hash = "sha256:5398268e1d751ffdb3ed36b8a790ed98659200599b368eec38a02eed15bce997"},
- {file = "Faker-4.17.1.tar.gz", hash = "sha256:d4183b8f57316de3be27cd6c3b40e9f9343d27c95c96179f027316c58c2c239e"},
++ {file = "Faker-4.18.0-py3-none-any.whl", hash = "sha256:2ba20a4438429cb08d729175d7bb0435ef3c2c4cedc7b1ceb703ee6da8dad906"},
++ {file = "Faker-4.18.0.tar.gz", hash = "sha256:6279746aed175a693108238e6d1ab8d7e26d0ec7ff8474f61025b9fdaae15d65"},
]
filelock = [
{file = "filelock-3.0.12-py3-none-any.whl", hash = "sha256:929b7d63ec5b7d6b71b0fa5ac14e030b3f70b75747cef1b10da9b879fef15836"},
@@@ -2761,28 -2808,28 +2851,28 @@@ gitdb =
{file = "gitdb-4.0.5.tar.gz", hash = "sha256:c9e1f2d0db7ddb9a704c2a0217be31214e91a4fe1dea1efad19ae42ba0c285c9"},
]
gitpython = [
-- {file = "GitPython-3.1.7-py3-none-any.whl", hash = "sha256:fa3b92da728a457dd75d62bb5f3eb2816d99a7fe6c67398e260637a40e3fafb5"},
-- {file = "GitPython-3.1.7.tar.gz", hash = "sha256:2db287d71a284e22e5c2846042d0602465c7434d910406990d5b74df4afb0858"},
++ {file = "GitPython-3.1.11-py3-none-any.whl", hash = "sha256:6eea89b655917b500437e9668e4a12eabdcf00229a0df1762aabd692ef9b746b"},
++ {file = "GitPython-3.1.11.tar.gz", hash = "sha256:befa4d101f91bad1b632df4308ec64555db684c360bd7d2130b4807d49ce86b8"},
]
google-api-core = [
-- {file = "google-api-core-1.22.2.tar.gz", hash = "sha256:779107f17e0fef8169c5239d56a8fbff03f9f72a3893c0c9e5842ec29dfedd54"},
-- {file = "google_api_core-1.22.2-py2.py3-none-any.whl", hash = "sha256:67e33a852dcca7cb7eff49abc35c8cc2c0bb8ab11397dc8306d911505cae2990"},
++ {file = "google-api-core-1.23.0.tar.gz", hash = "sha256:1bb3c485c38eacded8d685b1759968f6cf47dd9432922d34edb90359eaa391e2"},
++ {file = "google_api_core-1.23.0-py2.py3-none-any.whl", hash = "sha256:94d8c707d358d8d9e8b0045c42be20efb58433d308bd92cf748511c7825569c8"},
]
google-auth = [
-- {file = "google-auth-1.21.3.tar.gz", hash = "sha256:31941bf019fb242c04d0de32845da10180788bfddb0de87d78c4bdf55555dda1"},
-- {file = "google_auth-1.21.3-py2.py3-none-any.whl", hash = "sha256:873051a6317294b083795cffc467bcd05b6df483ef542bfe0069ddbfbac0a096"},
++ {file = "google-auth-1.23.0.tar.gz", hash = "sha256:5176db85f1e7e837a646cd9cede72c3c404ccf2e3373d9ee14b2db88febad440"},
++ {file = "google_auth-1.23.0-py2.py3-none-any.whl", hash = "sha256:b728625ff5dfce8f9e56a499c8a4eb51443a67f20f6d28b67d5774c310ec4b6b"},
]
google-cloud-core = [
-- {file = "google-cloud-core-1.4.1.tar.gz", hash = "sha256:613e56f164b6bee487dd34f606083a0130f66f42f7b10f99730afdf1630df507"},
-- {file = "google_cloud_core-1.4.1-py2.py3-none-any.whl", hash = "sha256:4c9e457fcfc026fdde2e492228f04417d4c717fb0f29f070122fb0ab89e34ebd"},
++ {file = "google-cloud-core-1.4.4.tar.gz", hash = "sha256:5bf32a3476412bbbf37660d73c46a7217a0db7913d4f4db6490b56d7a93f1d86"},
++ {file = "google_cloud_core-1.4.4-py2.py3-none-any.whl", hash = "sha256:1445266e70e3ea068915259bfa9db2736076d01ac4c60b919c11ef75ba831adf"},
]
google-cloud-pubsub = [
- {file = "google-cloud-pubsub-2.1.0.tar.gz", hash = "sha256:42b07d8652f0ff0d118430a04abc19ee1f6fd85ccbfe86fcbb01bf487079a80c"},
- {file = "google_cloud_pubsub-2.1.0-py2.py3-none-any.whl", hash = "sha256:84ba7485cf036b38bc3b1b146504dd39922a1dc719d6845809d7b2d0e1ede624"},
+ {file = "google-cloud-pubsub-2.2.0.tar.gz", hash = "sha256:bc50a60803f5c409a295ec0e31cdd4acc271611ce3f4963a072036bbfa5ccde5"},
+ {file = "google_cloud_pubsub-2.2.0-py2.py3-none-any.whl", hash = "sha256:44ea43f3603a641afee89b5789414a3db55a41a4e0f50c113dd0c8fddbc06e45"},
]
google-cloud-storage = [
- {file = "google-cloud-storage-1.31.2.tar.gz", hash = "sha256:74bbb5b2d0b249de4a52f561435d0c3570ddc19b249653ae588ec0abcc3c81e6"},
- {file = "google_cloud_storage-1.31.2-py2.py3-none-any.whl", hash = "sha256:e2a2533b5e368365e84d2acaa53b75266a09802fc1c8bda52e3212335eccb6bd"},
+ {file = "google-cloud-storage-1.33.0.tar.gz", hash = "sha256:900ba027bdee6b97f21cd22d1db3d1a6233ede5de2db4754db860438bdad72d2"},
+ {file = "google_cloud_storage-1.33.0-py2.py3-none-any.whl", hash = "sha256:a63b280a225e385fe0f9b606523e5812f37715614cdc646c51dac75cac880d95"},
]
google-crc32c = [
{file = "google-crc32c-1.0.0.tar.gz", hash = "sha256:9439b960b6ecd847557675d130fc3626d762bf535da595c20a6949a705fb3eae"},
@@@ -2813,8 -2860,8 +2903,8 @@@ google-measurement-protocol =
{file = "google_measurement_protocol-1.1.0-py2.py3-none-any.whl", hash = "sha256:387800809d143bf490353e19d78bf856066875fdad80817d9f148219c483f087"},
]
google-resumable-media = [
-- {file = "google-resumable-media-1.0.0.tar.gz", hash = "sha256:173acc6bade1480a529fa29c6c2717543ae2dc09d42e9461fdb86f39502efcf2"},
-- {file = "google_resumable_media-1.0.0-py2.py3-none-any.whl", hash = "sha256:99b5ac33a75ddb25d5e6aad487b37ecb4fa18b1fbf3d1ad726e032c3d6fc9aff"},
++ {file = "google-resumable-media-1.1.0.tar.gz", hash = "sha256:dcdab13e95bc534d268f87d5293e482cce5bc86dfce6ca0f2e2e89cbb73ef38c"},
++ {file = "google_resumable_media-1.1.0-py2.py3-none-any.whl", hash = "sha256:ecabcd90d74a6e00331af0c87f500f238c44870d9626e01b385dda3af7b99269"},
]
googleapis-common-protos = [
{file = "googleapis-common-protos-1.52.0.tar.gz", hash = "sha256:560716c807117394da12cecb0a54da5a451b5cf9866f1d37e9a5e2329a665351"},
@@@ -2843,53 -2890,53 +2933,60 @@@ grpc-google-iam-v1 =
{file = "grpc-google-iam-v1-0.12.3.tar.gz", hash = "sha256:0bfb5b56f648f457021a91c0df0db4934b6e0c300bd0f2de2333383fe958aa72"},
]
grpcio = [
-- {file = "grpcio-1.31.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:e8c3264b0fd728aadf3f0324471843f65bd3b38872bdab2a477e31ffb685dd5b"},
-- {file = "grpcio-1.31.0-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:5fb0923b16590bac338e92d98c7d8effb3cfad1d2e18c71bf86bde32c49cd6dd"},
-- {file = "grpcio-1.31.0-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:58d7121f48cb94535a4cedcce32921d0d0a78563c7372a143dedeec196d1c637"},
-- {file = "grpcio-1.31.0-cp27-cp27m-win32.whl", hash = "sha256:ea849210e7362559f326cbe603d5b8d8bb1e556e86a7393b5a8847057de5b084"},
-- {file = "grpcio-1.31.0-cp27-cp27m-win_amd64.whl", hash = "sha256:ba3e43cb984399064ffaa3c0997576e46a1e268f9da05f97cd9b272f0b59ee71"},
-- {file = "grpcio-1.31.0-cp27-cp27mu-linux_armv7l.whl", hash = "sha256:ebb2ca09fa17537e35508a29dcb05575d4d9401138a68e83d1c605d65e8a1770"},
-- {file = "grpcio-1.31.0-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:292635f05b6ce33f87116951d0b3d8d330bdfc5cac74f739370d60981e8c256c"},
-- {file = "grpcio-1.31.0-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:92e54ab65e782f227e751c7555918afaba8d1229601687e89b80c2b65d2f6642"},
-- {file = "grpcio-1.31.0-cp35-cp35m-linux_armv7l.whl", hash = "sha256:013287f99c99b201aa8a5f6bc7918f616739b9be031db132d9e3b8453e95e151"},
-- {file = "grpcio-1.31.0-cp35-cp35m-macosx_10_7_intel.whl", hash = "sha256:d2c5e05c257859febd03f5d81b5015e1946d6bcf475c7bf63ee99cea8ab0d590"},
-- {file = "grpcio-1.31.0-cp35-cp35m-manylinux2010_i686.whl", hash = "sha256:c9016ab1eaf4e054099303287195f3746bd4e69f2631d040f9dca43e910a5408"},
-- {file = "grpcio-1.31.0-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:baaa036540d7ace433bdf38a3fe5e41cf9f84cdf10a88bac805f678a7ca8ddcc"},
-- {file = "grpcio-1.31.0-cp35-cp35m-manylinux2014_i686.whl", hash = "sha256:75e383053dccb610590aa53eed5278db5c09bf498d3b5105ce6c776478f59352"},
-- {file = "grpcio-1.31.0-cp35-cp35m-manylinux2014_x86_64.whl", hash = "sha256:739a72abffbd36083ff7adbb862cf1afc1e311c35834bed9c0361d8e68b063e1"},
-- {file = "grpcio-1.31.0-cp35-cp35m-win32.whl", hash = "sha256:f04c59d186af3157dc8811114130aaeae92e90a65283733f41de94eed484e1f7"},
-- {file = "grpcio-1.31.0-cp35-cp35m-win_amd64.whl", hash = "sha256:ef9fce98b6fe03874c2a6576b02aec1a0df25742cd67d1d7b75a49e30aa74225"},
-- {file = "grpcio-1.31.0-cp36-cp36m-linux_armv7l.whl", hash = "sha256:08a9b648dbe8852ff94b73a1c96da126834c3057ba2301d13e8c4adff334c482"},
-- {file = "grpcio-1.31.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:c22b19abba63562a5a200e586b5bde39d26c8ec30c92e26d209d81182371693b"},
-- {file = "grpcio-1.31.0-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:0397616355760cd8282ed5ea34d51830ae4cb6613b7e5f66bed3be5d041b8b9a"},
-- {file = "grpcio-1.31.0-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:259240aab2603891553e17ad5b2655693df79e02a9b887ff605bdeb2fcd3dcc9"},
-- {file = "grpcio-1.31.0-cp36-cp36m-manylinux2014_i686.whl", hash = "sha256:8ca26b489b5dc1e3d31807d329c23d6cb06fe40fbae25b0649b718947936e26a"},
-- {file = "grpcio-1.31.0-cp36-cp36m-manylinux2014_x86_64.whl", hash = "sha256:bf39977282a79dc1b2765cc3402c0ada571c29a491caec6ed12c0993c1ec115e"},
-- {file = "grpcio-1.31.0-cp36-cp36m-win32.whl", hash = "sha256:f5b0870b733bcb7b6bf05a02035e7aaf20f599d3802b390282d4c2309f825f1d"},
-- {file = "grpcio-1.31.0-cp36-cp36m-win_amd64.whl", hash = "sha256:074871a184483d5cd0746fd01e7d214d3ee9d36e67e32a5786b0a21f29fb8304"},
-- {file = "grpcio-1.31.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:220c46b1fc9c9a6fcca4caac398f08f0ed43cdd63c45b7458983c4a1575ef6df"},
-- {file = "grpcio-1.31.0-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:7a11b1ebb3210f34913b8be6995936bf9ebc541a65ab69e75db5ce1fe5047e8f"},
-- {file = "grpcio-1.31.0-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:3c2aa6d7a5e5bf73fdb1715eee777efe06dd39df03383f1cc095b2fdb34883e6"},
-- {file = "grpcio-1.31.0-cp37-cp37m-manylinux2014_i686.whl", hash = "sha256:e64bddd09842ef508d72ca354319b0eb126205d951e8ac3128fe9869bd563552"},
-- {file = "grpcio-1.31.0-cp37-cp37m-manylinux2014_x86_64.whl", hash = "sha256:5d7faa89992e015d245750ca9ac916c161bbf72777b2c60abc61da3fae41339e"},
-- {file = "grpcio-1.31.0-cp37-cp37m-win32.whl", hash = "sha256:43d44548ad6ee738b941abd9f09e3b83a5c13f3e1410321023c3c148ba50e796"},
-- {file = "grpcio-1.31.0-cp37-cp37m-win_amd64.whl", hash = "sha256:bf00ab06ea4f89976288f4d6224d4aa120780e30c955d4f85c3214ada29b3ddf"},
-- {file = "grpcio-1.31.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:344b50865914cc8e6d023457bffee9a640abb18f75d0f2bb519041961c748da9"},
-- {file = "grpcio-1.31.0-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:63ee8e02d04272c3d103f44b4bce5d43ea757dd288673cea212d2f7da27967d2"},
-- {file = "grpcio-1.31.0-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:a9a7ae74cb3108e6457cf15532d4c300324b48fbcf3ef290bcd2835745f20510"},
-- {file = "grpcio-1.31.0-cp38-cp38-manylinux2014_i686.whl", hash = "sha256:64077e3a9a7cf2f59e6c76d503c8de1f18a76428f41a5b000dc53c48a0b772ff"},
-- {file = "grpcio-1.31.0-cp38-cp38-manylinux2014_x86_64.whl", hash = "sha256:8b42f0ac76be07a5fa31117a3388d754ad35ef05e2e34be185ca9ccbcfac2069"},
-- {file = "grpcio-1.31.0-cp38-cp38-win32.whl", hash = "sha256:8002a89ea91c0078c15d3c0daf423fd4968946be78f08545e807ea9a5ff8054a"},
-- {file = "grpcio-1.31.0-cp38-cp38-win_amd64.whl", hash = "sha256:0fa86ac4452602c79774783aa68979a1a7625ebb7eaabee2b6550b975b9d61e6"},
-- {file = "grpcio-1.31.0.tar.gz", hash = "sha256:5043440c45c0a031f387e7f48527541c65d672005fb24cf18ef6857483557d39"},
++ {file = "grpcio-1.34.0-cp27-cp27m-macosx_10_10_x86_64.whl", hash = "sha256:e2ffa46db9103706640c74886ac23ed18d1487a8523cc128da239e1d5a4e3301"},
++ {file = "grpcio-1.34.0-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:843436e69c37eb45b0285fa42f7acc06d147f2e9c1d515b0f901e94d40107e79"},
++ {file = "grpcio-1.34.0-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:a403ed4d8fcc441a2c2ec9ede838b0ae5f9da996d950cf2ff9f82242b496e0a7"},
++ {file = "grpcio-1.34.0-cp27-cp27m-win32.whl", hash = "sha256:dc45f5750ce50f34f20a0607efae5c797d01681a44465b8287bebef1e9847d5b"},
++ {file = "grpcio-1.34.0-cp27-cp27m-win_amd64.whl", hash = "sha256:2fd4a80f267aa258f5a74df5fe243eff80299a4f5b356c1da53f6f5793bbbf4b"},
++ {file = "grpcio-1.34.0-cp27-cp27mu-linux_armv7l.whl", hash = "sha256:f2e4d64675351a058f9cb35fe390ca0956bd2926171bfb7c87596a1ee10ff6ba"},
++ {file = "grpcio-1.34.0-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:4a2c85cd4a67c36fe12535fe32eb336635843d1eb31d3fa301444e60a8df9c90"},
++ {file = "grpcio-1.34.0-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:32ad56f6d3d7e699f9a0d62719f2de9092e79f444d875d70f58cf7f8bb19684c"},
++ {file = "grpcio-1.34.0-cp35-cp35m-linux_armv7l.whl", hash = "sha256:e69ac6fc9096bbb43f5276655661db746233cd320808e0d302198eb43dc7bd04"},
++ {file = "grpcio-1.34.0-cp35-cp35m-macosx_10_10_intel.whl", hash = "sha256:5b105adb44486fb594b8d8142b5d4fbe50cb125c77ac7d270f5d0277ce5c554a"},
++ {file = "grpcio-1.34.0-cp35-cp35m-manylinux2010_i686.whl", hash = "sha256:923a3b18badc3749c4d715216934f62f46a818790e325ece6184d07e7d6c7f73"},
++ {file = "grpcio-1.34.0-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:9579f22222ac89ceee64c1101cced6434d9f6b12078b43ece0f9d8ebdb657f73"},
++ {file = "grpcio-1.34.0-cp35-cp35m-manylinux2014_i686.whl", hash = "sha256:dfa098a6ff8d1b68ed7bd655150ee91f57c29042c093ff51113176aded3f0071"},
++ {file = "grpcio-1.34.0-cp35-cp35m-manylinux2014_x86_64.whl", hash = "sha256:32fbc78d558d9468a4b16f79f4130daec8e431bc7a3b1775b0e98f09a7ab45a2"},
++ {file = "grpcio-1.34.0-cp35-cp35m-win32.whl", hash = "sha256:205eda06d8aeffc87a1e29ff1f090546adf0b6e766378cc4c13686534397fdb4"},
++ {file = "grpcio-1.34.0-cp35-cp35m-win_amd64.whl", hash = "sha256:2ea864ae3d3abc99d3988d1d27dee3f6350b60149ccf810a89cd9a9d02a675d6"},
++ {file = "grpcio-1.34.0-cp36-cp36m-linux_armv7l.whl", hash = "sha256:5d8108b240fd5b8a0483f95ab2651fe2d633311faae93a12938ea06cf61a5efd"},
++ {file = "grpcio-1.34.0-cp36-cp36m-macosx_10_10_x86_64.whl", hash = "sha256:bda0f52eb1279a7119526df2ef33ea2808691120daf9effaf60ca0c07f76058a"},
++ {file = "grpcio-1.34.0-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:c89b6a3eca8eae10eea78896ccfdc9d04aa2f7b2ee96de20246e5c96494c68f5"},
++ {file = "grpcio-1.34.0-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:fa834f4c70b9df83d5af610097747c224513d59af1f03e8c06bca9a7d81fd1a3"},
++ {file = "grpcio-1.34.0-cp36-cp36m-manylinux2014_i686.whl", hash = "sha256:20606ec7c265f81c5a0226f69842dc8dde66d921968ab9448e59d440cf98bebf"},
++ {file = "grpcio-1.34.0-cp36-cp36m-manylinux2014_x86_64.whl", hash = "sha256:72b6a89aabf937d706946230f5aa13bdf7d2a42874810fa54436c647577b543e"},
++ {file = "grpcio-1.34.0-cp36-cp36m-win32.whl", hash = "sha256:49da07ae43c552280b8b4c70617f9b589588404c2545d6eba2c55179b3d836af"},
++ {file = "grpcio-1.34.0-cp36-cp36m-win_amd64.whl", hash = "sha256:beef6be49ada569edf3b73fd4eb57d6c2af7e10c0c82a210dbe51de7c4a1ed53"},
++ {file = "grpcio-1.34.0-cp37-cp37m-macosx_10_10_x86_64.whl", hash = "sha256:8d92e884f6d67b9a2a4514631d3c9836281044caedb5fd34d4ce2bbec138c87d"},
++ {file = "grpcio-1.34.0-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:e238a554f29d90b0e7fca15e8119b9a7c5f88faacbf9b982751ad54d639b57f8"},
++ {file = "grpcio-1.34.0-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:98b0b6e44c451093354a38b620e6e0df958b0710abd6a0ddd84da84424bce003"},
++ {file = "grpcio-1.34.0-cp37-cp37m-manylinux2014_i686.whl", hash = "sha256:bbd3522f821fb5d01049db214fb9f949a8b2d92761c2780a20ff73818efd5360"},
++ {file = "grpcio-1.34.0-cp37-cp37m-manylinux2014_x86_64.whl", hash = "sha256:2f54046ca2a81ff45ec8f6d3d7447ad562adb067c3640c35354e440fd771b625"},
++ {file = "grpcio-1.34.0-cp37-cp37m-win32.whl", hash = "sha256:50c4f10e7deff96d197bc6d1988c2a5a0bc6252bbd31d7fb374ce8923f937e7a"},
++ {file = "grpcio-1.34.0-cp37-cp37m-win_amd64.whl", hash = "sha256:6fafdba42c26bbdf78948c09a93a8b3a8a509c66c6b4324bc1fb360bf4e82b9d"},
++ {file = "grpcio-1.34.0-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:bd7634f8c49c8467fec5fd9e0d1abb205b0aa61670ff0113ef835ca6548aad3d"},
++ {file = "grpcio-1.34.0-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:69127393fc3513da228bc3908914df2284923e0eacf8d73f21ad387317450317"},
++ {file = "grpcio-1.34.0-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:5e8e6035d4f9ab856ab437e381e652b31dfd42443d2243d45bdf4b90adaf3559"},
++ {file = "grpcio-1.34.0-cp38-cp38-manylinux2014_i686.whl", hash = "sha256:95de4ad9ae39590668e3330d414253f672aedd46cc107d7f71b4a2268f3d6066"},
++ {file = "grpcio-1.34.0-cp38-cp38-manylinux2014_x86_64.whl", hash = "sha256:a1024006fe61ee7e43e7099faf08f4508ea0c944a1558e8d715a5b4556937ace"},
++ {file = "grpcio-1.34.0-cp38-cp38-win32.whl", hash = "sha256:dea35dcf09aee91552cb4b3e250efdbcb79564b5b5517246bcbead8d5871e291"},
++ {file = "grpcio-1.34.0-cp38-cp38-win_amd64.whl", hash = "sha256:e95bda60c584b3deb5c37babb44d4300cf4bf3a6c43198a244ddcaddca3fde3a"},
++ {file = "grpcio-1.34.0-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:c88ce184973fe2035ffa176eb08cd492db090505e6b1ddc68b5cc1e0b01a07a0"},
++ {file = "grpcio-1.34.0-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:57a30f9df0f5342e4dad384e7023b9f88742c325838da977828c37f49eb8940a"},
++ {file = "grpcio-1.34.0-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:924d5e8b18942ebea1260e60be7e2bde2a3587ea386190b442790f84180bf372"},
++ {file = "grpcio-1.34.0-cp39-cp39-manylinux2014_i686.whl", hash = "sha256:43fafebcc2e81d012f7147a0ddf9be69864c40fc4edd9844937eba0020508297"},
++ {file = "grpcio-1.34.0-cp39-cp39-manylinux2014_x86_64.whl", hash = "sha256:9550b7c9d2f11579b484accc6183e02ebe33ce80a0ff15f5c28895df6b3d3108"},
++ {file = "grpcio-1.34.0-cp39-cp39-win32.whl", hash = "sha256:d16f7f5a10bf24640fa639974d409c220e587b3e2fa2620af00d43ba36dafc2c"},
++ {file = "grpcio-1.34.0-cp39-cp39-win_amd64.whl", hash = "sha256:25958bd7c6773e6de79781cc0d6f19d0c82332984dd07ef238889e93485d5afc"},
++ {file = "grpcio-1.34.0.tar.gz", hash = "sha256:f98f746cacbaa681de0bcd90d7aa77b440e3e1327a9988f6a2b580d54e27d4c3"},
]
gunicorn = [
{file = "gunicorn-20.0.4-py2.py3-none-any.whl", hash = "sha256:cd4a810dd51bf497552cf3f863b575dabd73d6ad6a91075b65936b151cbf4f9c"},
{file = "gunicorn-20.0.4.tar.gz", hash = "sha256:1904bb2b8a43658807108d59c3f3d56c2b6121a701161de0ddf9ad140073c626"},
]
h11 = [
-- {file = "h11-0.9.0-py2.py3-none-any.whl", hash = "sha256:4bc6d6a1238b7615b266ada57e0618568066f57dd6fa967d1290ec9309b2f2f1"},
-- {file = "h11-0.9.0.tar.gz", hash = "sha256:33d4bca7be0fa039f4e84d50ab00531047e53d6ee8ffbc83501ea602c169cae1"},
++ {file = "h11-0.11.0-py2.py3-none-any.whl", hash = "sha256:ab6c335e1b6ef34b205d5ca3e228c9299cc7218b049819ec84a388c2525e5d87"},
++ {file = "h11-0.11.0.tar.gz", hash = "sha256:3c6c61d69c6f13d41f1b80ab0322f1872702a3ba26e12aa864c928f6a43fbaab"},
]
html-to-draftjs = [
{file = "html-to-draftjs-1.0.1.tar.gz", hash = "sha256:2212acf3b063c17b6dc91875f474159e1f730c1a4e5fbf74f9a66250f7040e9a"},
@@@ -2902,17 -2945,31 +2999,31 @@@ html5lib =
{file = "html5lib-1.1-py2.py3-none-any.whl", hash = "sha256:0d78f8fde1c230e99fe37986a60526d7049ed4bf8a9fadbad5f00e22e58e041d"},
{file = "html5lib-1.1.tar.gz", hash = "sha256:b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f"},
]
+ httptools = [
+ {file = "httptools-0.1.1-cp35-cp35m-macosx_10_13_x86_64.whl", hash = "sha256:a2719e1d7a84bb131c4f1e0cb79705034b48de6ae486eb5297a139d6a3296dce"},
+ {file = "httptools-0.1.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:fa3cd71e31436911a44620473e873a256851e1f53dee56669dae403ba41756a4"},
+ {file = "httptools-0.1.1-cp36-cp36m-macosx_10_13_x86_64.whl", hash = "sha256:86c6acd66765a934e8730bf0e9dfaac6fdcf2a4334212bd4a0a1c78f16475ca6"},
+ {file = "httptools-0.1.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:bc3114b9edbca5a1eb7ae7db698c669eb53eb8afbbebdde116c174925260849c"},
+ {file = "httptools-0.1.1-cp36-cp36m-win_amd64.whl", hash = "sha256:ac0aa11e99454b6a66989aa2d44bca41d4e0f968e395a0a8f164b401fefe359a"},
+ {file = "httptools-0.1.1-cp37-cp37m-macosx_10_13_x86_64.whl", hash = "sha256:96da81e1992be8ac2fd5597bf0283d832287e20cb3cfde8996d2b00356d4e17f"},
+ {file = "httptools-0.1.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:56b6393c6ac7abe632f2294da53f30d279130a92e8ae39d8d14ee2e1b05ad1f2"},
+ {file = "httptools-0.1.1-cp37-cp37m-win_amd64.whl", hash = "sha256:96eb359252aeed57ea5c7b3d79839aaa0382c9d3149f7d24dd7172b1bcecb009"},
+ {file = "httptools-0.1.1-cp38-cp38-macosx_10_13_x86_64.whl", hash = "sha256:fea04e126014169384dee76a153d4573d90d0cbd1d12185da089f73c78390437"},
+ {file = "httptools-0.1.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:3592e854424ec94bd17dc3e0c96a64e459ec4147e6d53c0a42d0ebcef9cb9c5d"},
+ {file = "httptools-0.1.1-cp38-cp38-win_amd64.whl", hash = "sha256:0a4b1b2012b28e68306575ad14ad5e9120b34fccd02a81eb08838d7e3bbb48be"},
+ {file = "httptools-0.1.1.tar.gz", hash = "sha256:41b573cf33f64a8f8f3400d0a7faf48e1888582b6f6e02b82b9bd4f0bf7497ce"},
+ ]
identify = [
-- {file = "identify-1.4.30-py2.py3-none-any.whl", hash = "sha256:f9f84a4ff44e29b9cc23c4012c2c8954089860723f80ce63d760393e5f197108"},
-- {file = "identify-1.4.30.tar.gz", hash = "sha256:e105a62fd3a496c701fd1bc4e24eb695455b5efb97e722816d5bd988c3344311"},
++ {file = "identify-1.5.10-py2.py3-none-any.whl", hash = "sha256:cc86e6a9a390879dcc2976cef169dd9cc48843ed70b7380f321d1b118163c60e"},
++ {file = "identify-1.5.10.tar.gz", hash = "sha256:943cd299ac7f5715fcb3f684e2fc1594c1e0f22a90d15398e5888143bd4144b5"},
]
idna = [
{file = "idna-2.10-py2.py3-none-any.whl", hash = "sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0"},
{file = "idna-2.10.tar.gz", hash = "sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6"},
]
iniconfig = [
-- {file = "iniconfig-1.0.1-py3-none-any.whl", hash = "sha256:80cf40c597eb564e86346103f609d74efce0f6b4d4f30ec8ce9e2c26411ba437"},
-- {file = "iniconfig-1.0.1.tar.gz", hash = "sha256:e5f92f89355a67de0595932a6c6c02ab4afddc6fcdc0bfc5becd0d60884d3f69"},
++ {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"},
++ {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"},
]
isort = [
{file = "isort-4.3.21-py2.py3-none-any.whl", hash = "sha256:6e811fcb295968434526407adb8796944f1988c5b65e8139058f2014cbe100fd"},
@@@ -2965,47 -3022,47 +3076,51 @@@ lazy-object-proxy =
{file = "lazy_object_proxy-1.4.3-cp38-cp38-win_amd64.whl", hash = "sha256:59f79fef100b09564bc2df42ea2d8d21a64fdcda64979c0fa3db7bdaabaf6239"},
]
libcst = [
-- {file = "libcst-0.3.10-py3-none-any.whl", hash = "sha256:e9395d952a490e6fc160f2bea8df139bdf1fdcb3fe4c01b88893da279eff00de"},
-- {file = "libcst-0.3.10.tar.gz", hash = "sha256:b0dccbfc1cff7bfa3214980e1d2d90b4e00b2fed002d4b276a8a411217738df3"},
++ {file = "libcst-0.3.15-py3-none-any.whl", hash = "sha256:786757e9eb05f0b3349d279eb27c9a371f24e849f0cc7be119c1e6b958cd85ed"},
++ {file = "libcst-0.3.15.tar.gz", hash = "sha256:73e94ac2e7a78960ddca4d4e5250dc2e02e7ba85b29e7b2ac1b1d2bce90b4cee"},
]
lxml = [
-- {file = "lxml-4.5.2-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:74f48ec98430e06c1fa8949b49ebdd8d27ceb9df8d3d1c92e1fdc2773f003f20"},
-- {file = "lxml-4.5.2-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:e70d4e467e243455492f5de463b72151cc400710ac03a0678206a5f27e79ddef"},
-- {file = "lxml-4.5.2-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:7ad7906e098ccd30d8f7068030a0b16668ab8aa5cda6fcd5146d8d20cbaa71b5"},
-- {file = "lxml-4.5.2-cp27-cp27m-win32.whl", hash = "sha256:92282c83547a9add85ad658143c76a64a8d339028926d7dc1998ca029c88ea6a"},
-- {file = "lxml-4.5.2-cp27-cp27m-win_amd64.whl", hash = "sha256:05a444b207901a68a6526948c7cc8f9fe6d6f24c70781488e32fd74ff5996e3f"},
-- {file = "lxml-4.5.2-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:94150231f1e90c9595ccc80d7d2006c61f90a5995db82bccbca7944fd457f0f6"},
-- {file = "lxml-4.5.2-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:bea760a63ce9bba566c23f726d72b3c0250e2fa2569909e2d83cda1534c79443"},
-- {file = "lxml-4.5.2-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:c3f511a3c58676147c277eff0224c061dd5a6a8e1373572ac817ac6324f1b1e0"},
-- {file = "lxml-4.5.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:59daa84aef650b11bccd18f99f64bfe44b9f14a08a28259959d33676554065a1"},
-- {file = "lxml-4.5.2-cp35-cp35m-manylinux2014_aarch64.whl", hash = "sha256:c9d317efde4bafbc1561509bfa8a23c5cab66c44d49ab5b63ff690f5159b2304"},
-- {file = "lxml-4.5.2-cp35-cp35m-win32.whl", hash = "sha256:9dc9006dcc47e00a8a6a029eb035c8f696ad38e40a27d073a003d7d1443f5d88"},
-- {file = "lxml-4.5.2-cp35-cp35m-win_amd64.whl", hash = "sha256:08fc93257dcfe9542c0a6883a25ba4971d78297f63d7a5a26ffa34861ca78730"},
-- {file = "lxml-4.5.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:121b665b04083a1e85ff1f5243d4a93aa1aaba281bc12ea334d5a187278ceaf1"},
-- {file = "lxml-4.5.2-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:5591c4164755778e29e69b86e425880f852464a21c7bb53c7ea453bbe2633bbe"},
-- {file = "lxml-4.5.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:cc411ad324a4486b142c41d9b2b6a722c534096963688d879ea6fa8a35028258"},
-- {file = "lxml-4.5.2-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:1fa21263c3aba2b76fd7c45713d4428dbcc7644d73dcf0650e9d344e433741b3"},
-- {file = "lxml-4.5.2-cp36-cp36m-win32.whl", hash = "sha256:786aad2aa20de3dbff21aab86b2fb6a7be68064cbbc0219bde414d3a30aa47ae"},
-- {file = "lxml-4.5.2-cp36-cp36m-win_amd64.whl", hash = "sha256:e1cacf4796b20865789083252186ce9dc6cc59eca0c2e79cca332bdff24ac481"},
-- {file = "lxml-4.5.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:80a38b188d20c0524fe8959c8ce770a8fdf0e617c6912d23fc97c68301bb9aba"},
-- {file = "lxml-4.5.2-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:ecc930ae559ea8a43377e8b60ca6f8d61ac532fc57efb915d899de4a67928efd"},
-- {file = "lxml-4.5.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:a76979f728dd845655026ab991df25d26379a1a8fc1e9e68e25c7eda43004bed"},
-- {file = "lxml-4.5.2-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:cfd7c5dd3c35c19cec59c63df9571c67c6d6e5c92e0fe63517920e97f61106d1"},
-- {file = "lxml-4.5.2-cp37-cp37m-win32.whl", hash = "sha256:5a9c8d11aa2c8f8b6043d845927a51eb9102eb558e3f936df494e96393f5fd3e"},
-- {file = "lxml-4.5.2-cp37-cp37m-win_amd64.whl", hash = "sha256:4b4a111bcf4b9c948e020fd207f915c24a6de3f1adc7682a2d92660eb4e84f1a"},
-- {file = "lxml-4.5.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:5dd20538a60c4cc9a077d3b715bb42307239fcd25ef1ca7286775f95e9e9a46d"},
-- {file = "lxml-4.5.2-cp38-cp38-manylinux1_i686.whl", hash = "sha256:2b30aa2bcff8e958cd85d907d5109820b01ac511eae5b460803430a7404e34d7"},
-- {file = "lxml-4.5.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:aa8eba3db3d8761db161003e2d0586608092e217151d7458206e243be5a43843"},
-- {file = "lxml-4.5.2-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:8f0ec6b9b3832e0bd1d57af41f9238ea7709bbd7271f639024f2fc9d3bb01293"},
-- {file = "lxml-4.5.2-cp38-cp38-win32.whl", hash = "sha256:107781b213cf7201ec3806555657ccda67b1fccc4261fb889ef7fc56976db81f"},
-- {file = "lxml-4.5.2-cp38-cp38-win_amd64.whl", hash = "sha256:f161af26f596131b63b236372e4ce40f3167c1b5b5d459b29d2514bd8c9dc9ee"},
-- {file = "lxml-4.5.2-cp39-cp39-manylinux1_i686.whl", hash = "sha256:6f767d11803dbd1274e43c8c0b2ff0a8db941e6ed0f5d44f852fb61b9d544b54"},
-- {file = "lxml-4.5.2-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:d15a801d9037d7512edb2f1e196acebb16ab17bef4b25a91ea2e9a455ca353af"},
-- {file = "lxml-4.5.2.tar.gz", hash = "sha256:cdc13a1682b2a6241080745b1953719e7fe0850b40a5c71ca574f090a1391df6"},
++ {file = "lxml-4.6.2-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:a9d6bc8642e2c67db33f1247a77c53476f3a166e09067c0474facb045756087f"},
++ {file = "lxml-4.6.2-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:791394449e98243839fa822a637177dd42a95f4883ad3dec2a0ce6ac99fb0a9d"},
++ {file = "lxml-4.6.2-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:68a5d77e440df94011214b7db907ec8f19e439507a70c958f750c18d88f995d2"},
++ {file = "lxml-4.6.2-cp27-cp27m-win32.whl", hash = "sha256:fc37870d6716b137e80d19241d0e2cff7a7643b925dfa49b4c8ebd1295eb506e"},
++ {file = "lxml-4.6.2-cp27-cp27m-win_amd64.whl", hash = "sha256:69a63f83e88138ab7642d8f61418cf3180a4d8cd13995df87725cb8b893e950e"},
++ {file = "lxml-4.6.2-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:42ebca24ba2a21065fb546f3e6bd0c58c3fe9ac298f3a320147029a4850f51a2"},
++ {file = "lxml-4.6.2-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:f83d281bb2a6217cd806f4cf0ddded436790e66f393e124dfe9731f6b3fb9afe"},
++ {file = "lxml-4.6.2-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:535f067002b0fd1a4e5296a8f1bf88193080ff992a195e66964ef2a6cfec5388"},
++ {file = "lxml-4.6.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:366cb750140f221523fa062d641393092813b81e15d0e25d9f7c6025f910ee80"},
++ {file = "lxml-4.6.2-cp35-cp35m-manylinux2014_aarch64.whl", hash = "sha256:97db258793d193c7b62d4e2586c6ed98d51086e93f9a3af2b2034af01450a74b"},
++ {file = "lxml-4.6.2-cp35-cp35m-win32.whl", hash = "sha256:648914abafe67f11be7d93c1a546068f8eff3c5fa938e1f94509e4a5d682b2d8"},
++ {file = "lxml-4.6.2-cp35-cp35m-win_amd64.whl", hash = "sha256:4e751e77006da34643ab782e4a5cc21ea7b755551db202bc4d3a423b307db780"},
++ {file = "lxml-4.6.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:681d75e1a38a69f1e64ab82fe4b1ed3fd758717bed735fb9aeaa124143f051af"},
++ {file = "lxml-4.6.2-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:127f76864468d6630e1b453d3ffbbd04b024c674f55cf0a30dc2595137892d37"},
++ {file = "lxml-4.6.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:4fb85c447e288df535b17ebdebf0ec1cf3a3f1a8eba7e79169f4f37af43c6b98"},
++ {file = "lxml-4.6.2-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:5be4a2e212bb6aa045e37f7d48e3e1e4b6fd259882ed5a00786f82e8c37ce77d"},
++ {file = "lxml-4.6.2-cp36-cp36m-win32.whl", hash = "sha256:8c88b599e226994ad4db29d93bc149aa1aff3dc3a4355dd5757569ba78632bdf"},
++ {file = "lxml-4.6.2-cp36-cp36m-win_amd64.whl", hash = "sha256:6e4183800f16f3679076dfa8abf2db3083919d7e30764a069fb66b2b9eff9939"},
++ {file = "lxml-4.6.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:d8d3d4713f0c28bdc6c806a278d998546e8efc3498949e3ace6e117462ac0a5e"},
++ {file = "lxml-4.6.2-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:8246f30ca34dc712ab07e51dc34fea883c00b7ccb0e614651e49da2c49a30711"},
++ {file = "lxml-4.6.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:923963e989ffbceaa210ac37afc9b906acebe945d2723e9679b643513837b089"},
++ {file = "lxml-4.6.2-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:1471cee35eba321827d7d53d104e7b8c593ea3ad376aa2df89533ce8e1b24a01"},
++ {file = "lxml-4.6.2-cp37-cp37m-win32.whl", hash = "sha256:2363c35637d2d9d6f26f60a208819e7eafc4305ce39dc1d5005eccc4593331c2"},
++ {file = "lxml-4.6.2-cp37-cp37m-win_amd64.whl", hash = "sha256:f4822c0660c3754f1a41a655e37cb4dbbc9be3d35b125a37fab6f82d47674ebc"},
++ {file = "lxml-4.6.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0448576c148c129594d890265b1a83b9cd76fd1f0a6a04620753d9a6bcfd0a4d"},
++ {file = "lxml-4.6.2-cp38-cp38-manylinux1_i686.whl", hash = "sha256:60a20bfc3bd234d54d49c388950195d23a5583d4108e1a1d47c9eef8d8c042b3"},
++ {file = "lxml-4.6.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:2e5cc908fe43fe1aa299e58046ad66981131a66aea3129aac7770c37f590a644"},
++ {file = "lxml-4.6.2-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:50c348995b47b5a4e330362cf39fc503b4a43b14a91c34c83b955e1805c8e308"},
++ {file = "lxml-4.6.2-cp38-cp38-win32.whl", hash = "sha256:94d55bd03d8671686e3f012577d9caa5421a07286dd351dfef64791cf7c6c505"},
++ {file = "lxml-4.6.2-cp38-cp38-win_amd64.whl", hash = "sha256:7a7669ff50f41225ca5d6ee0a1ec8413f3a0d8aa2b109f86d540887b7ec0d72a"},
++ {file = "lxml-4.6.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e0bfe9bb028974a481410432dbe1b182e8191d5d40382e5b8ff39cdd2e5c5931"},
++ {file = "lxml-4.6.2-cp39-cp39-manylinux1_i686.whl", hash = "sha256:6fd8d5903c2e53f49e99359b063df27fdf7acb89a52b6a12494208bf61345a03"},
++ {file = "lxml-4.6.2-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:7e9eac1e526386df7c70ef253b792a0a12dd86d833b1d329e038c7a235dfceb5"},
++ {file = "lxml-4.6.2-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:7ee8af0b9f7de635c61cdd5b8534b76c52cd03536f29f51151b377f76e214a1a"},
++ {file = "lxml-4.6.2-cp39-cp39-win32.whl", hash = "sha256:2e6fd1b8acd005bd71e6c94f30c055594bbd0aa02ef51a22bbfa961ab63b2d75"},
++ {file = "lxml-4.6.2-cp39-cp39-win_amd64.whl", hash = "sha256:535332fe9d00c3cd455bd3dd7d4bacab86e2d564bdf7606079160fa6251caacf"},
++ {file = "lxml-4.6.2.tar.gz", hash = "sha256:cd11c7e8d21af997ee8079037fff88f16fda188a9776eb4b81c7e4c9c0a7d7fc"},
]
markdown = [
- {file = "Markdown-3.3.1-py3-none-any.whl", hash = "sha256:10db1204a6c4aff7c7cf3cf25cc02761703baea54b6fb5e2b9ce2c186d81116f"},
- {file = "Markdown-3.3.1.tar.gz", hash = "sha256:c3ce9ebb035c078cac0f2036068d054e7dc34354eeecc49c173c33c96b124af6"},
+ {file = "Markdown-3.3.3-py3-none-any.whl", hash = "sha256:c109c15b7dc20a9ac454c9e6025927d44460b85bd039da028d85e2b6d0bcc328"},
+ {file = "Markdown-3.3.3.tar.gz", hash = "sha256:5d9f2b5ca24bc4c7a390d22323ca4bad200368612b5aaa7796babf971d2b2f18"},
]
markupsafe = [
{file = "MarkupSafe-1.1.1-cp27-cp27m-macosx_10_6_intel.whl", hash = "sha256:09027a7803a62ca78792ad89403b1b7a73a01c8cb65909cd876f7fcebd79b161"},
@@@ -3059,23 -3116,23 +3174,43 @@@ mpmath =
{file = "mpmath-1.1.0.tar.gz", hash = "sha256:fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6"},
]
multidict = [
-- {file = "multidict-4.7.6-cp35-cp35m-macosx_10_14_x86_64.whl", hash = "sha256:275ca32383bc5d1894b6975bb4ca6a7ff16ab76fa622967625baeebcf8079000"},
-- {file = "multidict-4.7.6-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:1ece5a3369835c20ed57adadc663400b5525904e53bae59ec854a5d36b39b21a"},
-- {file = "multidict-4.7.6-cp35-cp35m-win32.whl", hash = "sha256:5141c13374e6b25fe6bf092052ab55c0c03d21bd66c94a0e3ae371d3e4d865a5"},
-- {file = "multidict-4.7.6-cp35-cp35m-win_amd64.whl", hash = "sha256:9456e90649005ad40558f4cf51dbb842e32807df75146c6d940b6f5abb4a78f3"},
-- {file = "multidict-4.7.6-cp36-cp36m-macosx_10_14_x86_64.whl", hash = "sha256:e0d072ae0f2a179c375f67e3da300b47e1a83293c554450b29c900e50afaae87"},
-- {file = "multidict-4.7.6-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:3750f2205b800aac4bb03b5ae48025a64e474d2c6cc79547988ba1d4122a09e2"},
-- {file = "multidict-4.7.6-cp36-cp36m-win32.whl", hash = "sha256:f07acae137b71af3bb548bd8da720956a3bc9f9a0b87733e0899226a2317aeb7"},
-- {file = "multidict-4.7.6-cp36-cp36m-win_amd64.whl", hash = "sha256:6513728873f4326999429a8b00fc7ceddb2509b01d5fd3f3be7881a257b8d463"},
-- {file = "multidict-4.7.6-cp37-cp37m-macosx_10_14_x86_64.whl", hash = "sha256:feed85993dbdb1dbc29102f50bca65bdc68f2c0c8d352468c25b54874f23c39d"},
-- {file = "multidict-4.7.6-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:fcfbb44c59af3f8ea984de67ec7c306f618a3ec771c2843804069917a8f2e255"},
-- {file = "multidict-4.7.6-cp37-cp37m-win32.whl", hash = "sha256:4538273208e7294b2659b1602490f4ed3ab1c8cf9dbdd817e0e9db8e64be2507"},
-- {file = "multidict-4.7.6-cp37-cp37m-win_amd64.whl", hash = "sha256:d14842362ed4cf63751648e7672f7174c9818459d169231d03c56e84daf90b7c"},
-- {file = "multidict-4.7.6-cp38-cp38-macosx_10_14_x86_64.whl", hash = "sha256:c026fe9a05130e44157b98fea3ab12969e5b60691a276150db9eda71710cd10b"},
-- {file = "multidict-4.7.6-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:51a4d210404ac61d32dada00a50ea7ba412e6ea945bbe992e4d7a595276d2ec7"},
-- {file = "multidict-4.7.6-cp38-cp38-win32.whl", hash = "sha256:5cf311a0f5ef80fe73e4f4c0f0998ec08f954a6ec72b746f3c179e37de1d210d"},
-- {file = "multidict-4.7.6-cp38-cp38-win_amd64.whl", hash = "sha256:7388d2ef3c55a8ba80da62ecfafa06a1c097c18032a501ffd4cabbc52d7f2b19"},
-- {file = "multidict-4.7.6.tar.gz", hash = "sha256:fbb77a75e529021e7c4a8d4e823d88ef4d23674a202be4f5addffc72cbb91430"},
++ {file = "multidict-5.1.0-cp36-cp36m-macosx_10_14_x86_64.whl", hash = "sha256:b7993704f1a4b204e71debe6095150d43b2ee6150fa4f44d6d966ec356a8d61f"},
++ {file = "multidict-5.1.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:9dd6e9b1a913d096ac95d0399bd737e00f2af1e1594a787e00f7975778c8b2bf"},
++ {file = "multidict-5.1.0-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:f21756997ad8ef815d8ef3d34edd98804ab5ea337feedcd62fb52d22bf531281"},
++ {file = "multidict-5.1.0-cp36-cp36m-manylinux2014_i686.whl", hash = "sha256:1ab820665e67373de5802acae069a6a05567ae234ddb129f31d290fc3d1aa56d"},
++ {file = "multidict-5.1.0-cp36-cp36m-manylinux2014_ppc64le.whl", hash = "sha256:9436dc58c123f07b230383083855593550c4d301d2532045a17ccf6eca505f6d"},
++ {file = "multidict-5.1.0-cp36-cp36m-manylinux2014_s390x.whl", hash = "sha256:830f57206cc96ed0ccf68304141fec9481a096c4d2e2831f311bde1c404401da"},
++ {file = "multidict-5.1.0-cp36-cp36m-manylinux2014_x86_64.whl", hash = "sha256:2e68965192c4ea61fff1b81c14ff712fc7dc15d2bd120602e4a3494ea6584224"},
++ {file = "multidict-5.1.0-cp36-cp36m-win32.whl", hash = "sha256:2f1a132f1c88724674271d636e6b7351477c27722f2ed789f719f9e3545a3d26"},
++ {file = "multidict-5.1.0-cp36-cp36m-win_amd64.whl", hash = "sha256:3a4f32116f8f72ecf2a29dabfb27b23ab7cdc0ba807e8459e59a93a9be9506f6"},
++ {file = "multidict-5.1.0-cp37-cp37m-macosx_10_14_x86_64.whl", hash = "sha256:46c73e09ad374a6d876c599f2328161bcd95e280f84d2060cf57991dec5cfe76"},
++ {file = "multidict-5.1.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:018132dbd8688c7a69ad89c4a3f39ea2f9f33302ebe567a879da8f4ca73f0d0a"},
++ {file = "multidict-5.1.0-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:4b186eb7d6ae7c06eb4392411189469e6a820da81447f46c0072a41c748ab73f"},
++ {file = "multidict-5.1.0-cp37-cp37m-manylinux2014_i686.whl", hash = "sha256:3a041b76d13706b7fff23b9fc83117c7b8fe8d5fe9e6be45eee72b9baa75f348"},
++ {file = "multidict-5.1.0-cp37-cp37m-manylinux2014_ppc64le.whl", hash = "sha256:051012ccee979b2b06be928a6150d237aec75dd6bf2d1eeeb190baf2b05abc93"},
++ {file = "multidict-5.1.0-cp37-cp37m-manylinux2014_s390x.whl", hash = "sha256:6a4d5ce640e37b0efcc8441caeea8f43a06addace2335bd11151bc02d2ee31f9"},
++ {file = "multidict-5.1.0-cp37-cp37m-manylinux2014_x86_64.whl", hash = "sha256:5cf3443199b83ed9e955f511b5b241fd3ae004e3cb81c58ec10f4fe47c7dce37"},
++ {file = "multidict-5.1.0-cp37-cp37m-win32.whl", hash = "sha256:f200755768dc19c6f4e2b672421e0ebb3dd54c38d5a4f262b872d8cfcc9e93b5"},
++ {file = "multidict-5.1.0-cp37-cp37m-win_amd64.whl", hash = "sha256:05c20b68e512166fddba59a918773ba002fdd77800cad9f55b59790030bab632"},
++ {file = "multidict-5.1.0-cp38-cp38-macosx_10_14_x86_64.whl", hash = "sha256:54fd1e83a184e19c598d5e70ba508196fd0bbdd676ce159feb412a4a6664f952"},
++ {file = "multidict-5.1.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:0e3c84e6c67eba89c2dbcee08504ba8644ab4284863452450520dad8f1e89b79"},
++ {file = "multidict-5.1.0-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:dc862056f76443a0db4509116c5cd480fe1b6a2d45512a653f9a855cc0517456"},
++ {file = "multidict-5.1.0-cp38-cp38-manylinux2014_i686.whl", hash = "sha256:0e929169f9c090dae0646a011c8b058e5e5fb391466016b39d21745b48817fd7"},
++ {file = "multidict-5.1.0-cp38-cp38-manylinux2014_ppc64le.whl", hash = "sha256:d81eddcb12d608cc08081fa88d046c78afb1bf8107e6feab5d43503fea74a635"},
++ {file = "multidict-5.1.0-cp38-cp38-manylinux2014_s390x.whl", hash = "sha256:585fd452dd7782130d112f7ddf3473ffdd521414674c33876187e101b588738a"},
++ {file = "multidict-5.1.0-cp38-cp38-manylinux2014_x86_64.whl", hash = "sha256:37e5438e1c78931df5d3c0c78ae049092877e5e9c02dd1ff5abb9cf27a5914ea"},
++ {file = "multidict-5.1.0-cp38-cp38-win32.whl", hash = "sha256:07b42215124aedecc6083f1ce6b7e5ec5b50047afa701f3442054373a6deb656"},
++ {file = "multidict-5.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:929006d3c2d923788ba153ad0de8ed2e5ed39fdbe8e7be21e2f22ed06c6783d3"},
++ {file = "multidict-5.1.0-cp39-cp39-macosx_10_14_x86_64.whl", hash = "sha256:b797515be8743b771aa868f83563f789bbd4b236659ba52243b735d80b29ed93"},
++ {file = "multidict-5.1.0-cp39-cp39-manylinux1_i686.whl", hash = "sha256:d5c65bdf4484872c4af3150aeebe101ba560dcfb34488d9a8ff8dbcd21079647"},
++ {file = "multidict-5.1.0-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:b47a43177a5e65b771b80db71e7be76c0ba23cc8aa73eeeb089ed5219cdbe27d"},
++ {file = "multidict-5.1.0-cp39-cp39-manylinux2014_i686.whl", hash = "sha256:806068d4f86cb06af37cd65821554f98240a19ce646d3cd24e1c33587f313eb8"},
++ {file = "multidict-5.1.0-cp39-cp39-manylinux2014_ppc64le.whl", hash = "sha256:46dd362c2f045095c920162e9307de5ffd0a1bfbba0a6e990b344366f55a30c1"},
++ {file = "multidict-5.1.0-cp39-cp39-manylinux2014_s390x.whl", hash = "sha256:ace010325c787c378afd7f7c1ac66b26313b3344628652eacd149bdd23c68841"},
++ {file = "multidict-5.1.0-cp39-cp39-manylinux2014_x86_64.whl", hash = "sha256:ecc771ab628ea281517e24fd2c52e8f31c41e66652d07599ad8818abaad38cda"},
++ {file = "multidict-5.1.0-cp39-cp39-win32.whl", hash = "sha256:fc13a9524bc18b6fb6e0dbec3533ba0496bbed167c56d0aabefd965584557d80"},
++ {file = "multidict-5.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:7df80d07818b385f3129180369079bd6934cf70469f99daaebfac89dca288359"},
++ {file = "multidict-5.1.0.tar.gz", hash = "sha256:25b4e5f22d3a37ddf3effc0710ba692cfc792c2b9edfb9c05aefe823256e84d5"},
]
mypy = [
{file = "mypy-0.740-cp35-cp35m-macosx_10_6_x86_64.whl", hash = "sha256:9371290aa2cad5ad133e4cdc43892778efd13293406f7340b9ffe99d5ec7c1d9"},
@@@ -3110,60 -3167,60 +3245,60 @@@ openpyxl =
{file = "openpyxl-3.0.5.tar.gz", hash = "sha256:18e11f9a650128a12580a58e3daba14e00a11d9e907c554a17ea016bf1a2c71b"},
]
opentracing = [
- {file = "opentracing-2.3.0.tar.gz", hash = "sha256:33b10634917a7496a7e3a18b18b7c055053d0a8da5101e2a95d454783cac9765"},
+ {file = "opentracing-2.4.0.tar.gz", hash = "sha256:a173117e6ef580d55874734d1fa7ecb6f3655160b8b8974a2a1e98e5ec9c840d"},
]
packaging = [
-- {file = "packaging-20.4-py2.py3-none-any.whl", hash = "sha256:998416ba6962ae7fbd6596850b80e17859a5753ba17c32284f67bfff33784181"},
-- {file = "packaging-20.4.tar.gz", hash = "sha256:4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8"},
++ {file = "packaging-20.7-py2.py3-none-any.whl", hash = "sha256:eb41423378682dadb7166144a4926e443093863024de508ca5c9737d6bc08376"},
++ {file = "packaging-20.7.tar.gz", hash = "sha256:05af3bb85d320377db281cf254ab050e1a7ebcbf5410685a9a407e18a1f81236"},
]
pathspec = [
-- {file = "pathspec-0.8.0-py2.py3-none-any.whl", hash = "sha256:7d91249d21749788d07a2d0f94147accd8f845507400749ea19c1ec9054a12b0"},
-- {file = "pathspec-0.8.0.tar.gz", hash = "sha256:da45173eb3a6f2a5a487efba21f050af2b41948be6ab52b6a1e3ff22bb8b7061"},
++ {file = "pathspec-0.8.1-py2.py3-none-any.whl", hash = "sha256:aa0cb481c4041bf52ffa7b0d8fa6cd3e88a2ca4879c533c9153882ee2556790d"},
++ {file = "pathspec-0.8.1.tar.gz", hash = "sha256:86379d6b86d75816baba717e64b1a3a3469deb93bb76d613c9ce79edc5cb68fd"},
]
petl = [
{file = "petl-1.6.8.tar.gz", hash = "sha256:6ae127469b3403029f8431490ac584ab3091b174512b5161494cd4bf85753d92"},
]
phonenumberslite = [
- {file = "phonenumberslite-8.12.11-py2.py3-none-any.whl", hash = "sha256:e92b8f82ee6248ebd13248762b6b1d136dcb574c9c6f90d60745833412f3bd18"},
- {file = "phonenumberslite-8.12.11.tar.gz", hash = "sha256:aa63b5910ab2a1cd9cd5c22ca6439972e80f2e1bdf2638b98f610469cd572aa9"},
+ {file = "phonenumberslite-8.12.14-py2.py3-none-any.whl", hash = "sha256:f6bd48ca83565187b7a3b7fc5d21f435b946fb8ecac063dba69a08ffb8357cbd"},
+ {file = "phonenumberslite-8.12.14.tar.gz", hash = "sha256:7ae1801f7826ef69c71061cb112986aa23ab4e6fc41f0086bd0d513955f5cb0a"},
]
pillow = [
-- {file = "Pillow-7.2.0-cp35-cp35m-macosx_10_10_intel.whl", hash = "sha256:1ca594126d3c4def54babee699c055a913efb01e106c309fa6b04405d474d5ae"},
-- {file = "Pillow-7.2.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:c92302a33138409e8f1ad16731568c55c9053eee71bb05b6b744067e1b62380f"},
-- {file = "Pillow-7.2.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:8dad18b69f710bf3a001d2bf3afab7c432785d94fcf819c16b5207b1cfd17d38"},
-- {file = "Pillow-7.2.0-cp35-cp35m-manylinux2014_aarch64.whl", hash = "sha256:431b15cffbf949e89df2f7b48528be18b78bfa5177cb3036284a5508159492b5"},
-- {file = "Pillow-7.2.0-cp35-cp35m-win32.whl", hash = "sha256:09d7f9e64289cb40c2c8d7ad674b2ed6105f55dc3b09aa8e4918e20a0311e7ad"},
-- {file = "Pillow-7.2.0-cp35-cp35m-win_amd64.whl", hash = "sha256:0295442429645fa16d05bd567ef5cff178482439c9aad0411d3f0ce9b88b3a6f"},
-- {file = "Pillow-7.2.0-cp36-cp36m-macosx_10_10_x86_64.whl", hash = "sha256:ec29604081f10f16a7aea809ad42e27764188fc258b02259a03a8ff7ded3808d"},
-- {file = "Pillow-7.2.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:612cfda94e9c8346f239bf1a4b082fdd5c8143cf82d685ba2dba76e7adeeb233"},
-- {file = "Pillow-7.2.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:0a80dd307a5d8440b0a08bd7b81617e04d870e40a3e46a32d9c246e54705e86f"},
-- {file = "Pillow-7.2.0-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:06aba4169e78c439d528fdeb34762c3b61a70813527a2c57f0540541e9f433a8"},
-- {file = "Pillow-7.2.0-cp36-cp36m-win32.whl", hash = "sha256:f7e30c27477dffc3e85c2463b3e649f751789e0f6c8456099eea7ddd53be4a8a"},
-- {file = "Pillow-7.2.0-cp36-cp36m-win_amd64.whl", hash = "sha256:ffe538682dc19cc542ae7c3e504fdf54ca7f86fb8a135e59dd6bc8627eae6cce"},
-- {file = "Pillow-7.2.0-cp37-cp37m-macosx_10_10_x86_64.whl", hash = "sha256:94cf49723928eb6070a892cb39d6c156f7b5a2db4e8971cb958f7b6b104fb4c4"},
-- {file = "Pillow-7.2.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:6edb5446f44d901e8683ffb25ebdfc26988ee813da3bf91e12252b57ac163727"},
-- {file = "Pillow-7.2.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:52125833b070791fcb5710fabc640fc1df07d087fc0c0f02d3661f76c23c5b8b"},
-- {file = "Pillow-7.2.0-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:9ad7f865eebde135d526bb3163d0b23ffff365cf87e767c649550964ad72785d"},
-- {file = "Pillow-7.2.0-cp37-cp37m-win32.whl", hash = "sha256:c79f9c5fb846285f943aafeafda3358992d64f0ef58566e23484132ecd8d7d63"},
-- {file = "Pillow-7.2.0-cp37-cp37m-win_amd64.whl", hash = "sha256:d350f0f2c2421e65fbc62690f26b59b0bcda1b614beb318c81e38647e0f673a1"},
-- {file = "Pillow-7.2.0-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:6d7741e65835716ceea0fd13a7d0192961212fd59e741a46bbed7a473c634ed6"},
-- {file = "Pillow-7.2.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:edf31f1150778abd4322444c393ab9c7bd2af271dd4dafb4208fb613b1f3cdc9"},
-- {file = "Pillow-7.2.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:d08b23fdb388c0715990cbc06866db554e1822c4bdcf6d4166cf30ac82df8c41"},
-- {file = "Pillow-7.2.0-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:5e51ee2b8114def244384eda1c82b10e307ad9778dac5c83fb0943775a653cd8"},
-- {file = "Pillow-7.2.0-cp38-cp38-win32.whl", hash = "sha256:725aa6cfc66ce2857d585f06e9519a1cc0ef6d13f186ff3447ab6dff0a09bc7f"},
-- {file = "Pillow-7.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:a060cf8aa332052df2158e5a119303965be92c3da6f2d93b6878f0ebca80b2f6"},
-- {file = "Pillow-7.2.0-pp36-pypy36_pp73-macosx_10_10_x86_64.whl", hash = "sha256:9c87ef410a58dd54b92424ffd7e28fd2ec65d2f7fc02b76f5e9b2067e355ebf6"},
-- {file = "Pillow-7.2.0-pp36-pypy36_pp73-manylinux2010_x86_64.whl", hash = "sha256:e901964262a56d9ea3c2693df68bc9860b8bdda2b04768821e4c44ae797de117"},
-- {file = "Pillow-7.2.0-pp36-pypy36_pp73-win32.whl", hash = "sha256:25930fadde8019f374400f7986e8404c8b781ce519da27792cbe46eabec00c4d"},
-- {file = "Pillow-7.2.0.tar.gz", hash = "sha256:97f9e7953a77d5a70f49b9a48da7776dc51e9b738151b22dacf101641594a626"},
++ {file = "Pillow-8.0.1-cp36-cp36m-macosx_10_10_x86_64.whl", hash = "sha256:b63d4ff734263ae4ce6593798bcfee6dbfb00523c82753a3a03cbc05555a9cc3"},
++ {file = "Pillow-8.0.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:5f9403af9c790cc18411ea398a6950ee2def2a830ad0cfe6dc9122e6d528b302"},
++ {file = "Pillow-8.0.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:6b4a8fd632b4ebee28282a9fef4c341835a1aa8671e2770b6f89adc8e8c2703c"},
++ {file = "Pillow-8.0.1-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:cc3ea6b23954da84dbee8025c616040d9aa5eaf34ea6895a0a762ee9d3e12e11"},
++ {file = "Pillow-8.0.1-cp36-cp36m-win32.whl", hash = "sha256:d8a96747df78cda35980905bf26e72960cba6d355ace4780d4bdde3b217cdf1e"},
++ {file = "Pillow-8.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:7ba0ba61252ab23052e642abdb17fd08fdcfdbbf3b74c969a30c58ac1ade7cd3"},
++ {file = "Pillow-8.0.1-cp37-cp37m-macosx_10_10_x86_64.whl", hash = "sha256:795e91a60f291e75de2e20e6bdd67770f793c8605b553cb6e4387ce0cb302e09"},
++ {file = "Pillow-8.0.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:0a2e8d03787ec7ad71dc18aec9367c946ef8ef50e1e78c71f743bc3a770f9fae"},
++ {file = "Pillow-8.0.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:006de60d7580d81f4a1a7e9f0173dc90a932e3905cc4d47ea909bc946302311a"},
++ {file = "Pillow-8.0.1-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:bd7bf289e05470b1bc74889d1466d9ad4a56d201f24397557b6f65c24a6844b8"},
++ {file = "Pillow-8.0.1-cp37-cp37m-win32.whl", hash = "sha256:95edb1ed513e68bddc2aee3de66ceaf743590bf16c023fb9977adc4be15bd3f0"},
++ {file = "Pillow-8.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:e38d58d9138ef972fceb7aeec4be02e3f01d383723965bfcef14d174c8ccd039"},
++ {file = "Pillow-8.0.1-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:d3d07c86d4efa1facdf32aa878bd508c0dc4f87c48125cc16b937baa4e5b5e11"},
++ {file = "Pillow-8.0.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:fbd922f702582cb0d71ef94442bfca57624352622d75e3be7a1e7e9360b07e72"},
++ {file = "Pillow-8.0.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:92c882b70a40c79de9f5294dc99390671e07fc0b0113d472cbea3fde15db1792"},
++ {file = "Pillow-8.0.1-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:7c9401e68730d6c4245b8e361d3d13e1035cbc94db86b49dc7da8bec235d0015"},
++ {file = "Pillow-8.0.1-cp38-cp38-win32.whl", hash = "sha256:6c1aca8231625115104a06e4389fcd9ec88f0c9befbabd80dc206c35561be271"},
++ {file = "Pillow-8.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:cc9ec588c6ef3a1325fa032ec14d97b7309db493782ea8c304666fb10c3bd9a7"},
++ {file = "Pillow-8.0.1-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:eb472586374dc66b31e36e14720747595c2b265ae962987261f044e5cce644b5"},
++ {file = "Pillow-8.0.1-cp39-cp39-manylinux1_i686.whl", hash = "sha256:0eeeae397e5a79dc088d8297a4c2c6f901f8fb30db47795113a4a605d0f1e5ce"},
++ {file = "Pillow-8.0.1-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:81f812d8f5e8a09b246515fac141e9d10113229bc33ea073fec11403b016bcf3"},
++ {file = "Pillow-8.0.1-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:895d54c0ddc78a478c80f9c438579ac15f3e27bf442c2a9aa74d41d0e4d12544"},
++ {file = "Pillow-8.0.1-cp39-cp39-win32.whl", hash = "sha256:2fb113757a369a6cdb189f8df3226e995acfed0a8919a72416626af1a0a71140"},
++ {file = "Pillow-8.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:59e903ca800c8cfd1ebe482349ec7c35687b95e98cefae213e271c8c7fffa021"},
++ {file = "Pillow-8.0.1-pp36-pypy36_pp73-macosx_10_10_x86_64.whl", hash = "sha256:5abd653a23c35d980b332bc0431d39663b1709d64142e3652890df4c9b6970f6"},
++ {file = "Pillow-8.0.1-pp36-pypy36_pp73-manylinux2010_x86_64.whl", hash = "sha256:4b0ef2470c4979e345e4e0cc1bbac65fda11d0d7b789dbac035e4c6ce3f98adb"},
++ {file = "Pillow-8.0.1-pp37-pypy37_pp73-win32.whl", hash = "sha256:8de332053707c80963b589b22f8e0229f1be1f3ca862a932c1bcd48dafb18dd8"},
++ {file = "Pillow-8.0.1.tar.gz", hash = "sha256:11c5c6e9b02c9dac08af04f093eb5a2f84857df70a7d4a6a6ad461aca803fb9e"},
]
pluggy = [
{file = "pluggy-0.13.1-py2.py3-none-any.whl", hash = "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d"},
{file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"},
]
pre-commit = [
- {file = "pre_commit-2.7.1-py2.py3-none-any.whl", hash = "sha256:810aef2a2ba4f31eed1941fc270e72696a1ad5590b9751839c90807d0fff6b9a"},
- {file = "pre_commit-2.7.1.tar.gz", hash = "sha256:c54fd3e574565fe128ecc5e7d2f91279772ddb03f8729645fa812fe809084a70"},
- {file = "pre_commit-2.9.2-py2.py3-none-any.whl", hash = "sha256:949b13efb7467ae27e2c8f9e83434dacf2682595124d8902554a4e18351e5781"},
- {file = "pre_commit-2.9.2.tar.gz", hash = "sha256:e31c04bc23741194a7c0b983fe512801e151a0638c6001c49f2bd034f8a664a1"},
++ {file = "pre_commit-2.9.3-py2.py3-none-any.whl", hash = "sha256:6c86d977d00ddc8a60d68eec19f51ef212d9462937acf3ea37c7adec32284ac0"},
++ {file = "pre_commit-2.9.3.tar.gz", hash = "sha256:ee784c11953e6d8badb97d19bc46b997a3a9eded849881ec587accd8608d74a4"},
]
prices = [
{file = "prices-1.1.0-py2.py3-none-any.whl", hash = "sha256:4086cf0d895112317da51256901d81a68061434acb240aebf9146fa04fef4554"},
@@@ -3173,31 -3230,31 +3308,31 @@@ promise =
{file = "promise-2.3.tar.gz", hash = "sha256:dfd18337c523ba4b6a58801c164c1904a9d4d1b1747c7d5dbf45b693a49d93d0"},
]
prompt-toolkit = [
-- {file = "prompt_toolkit-3.0.7-py3-none-any.whl", hash = "sha256:83074ee28ad4ba6af190593d4d4c607ff525272a504eb159199b6dd9f950c950"},
-- {file = "prompt_toolkit-3.0.7.tar.gz", hash = "sha256:822f4605f28f7d2ba6b0b09a31e25e140871e96364d1d377667b547bb3bf4489"},
++ {file = "prompt_toolkit-3.0.8-py3-none-any.whl", hash = "sha256:7debb9a521e0b1ee7d2fe96ee4bd60ef03c6492784de0547337ca4433e46aa63"},
++ {file = "prompt_toolkit-3.0.8.tar.gz", hash = "sha256:25c95d2ac813909f813c93fde734b6e44406d1477a9faef7c915ff37d39c0a8c"},
]
proto-plus = [
-- {file = "proto-plus-1.9.1.tar.gz", hash = "sha256:2028b1466bff50cda055bdaaa069511e119d933e3c2af21b4002a1d13ff4ac68"},
++ {file = "proto-plus-1.13.0.tar.gz", hash = "sha256:61b57c5257ca583af2ea1ad40e2b8f251988806eea9f01d119088976b995b2c4"},
]
protobuf = [
-- {file = "protobuf-3.13.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:9c2e63c1743cba12737169c447374fab3dfeb18111a460a8c1a000e35836b18c"},
-- {file = "protobuf-3.13.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:1e834076dfef9e585815757a2c7e4560c7ccc5962b9d09f831214c693a91b463"},
-- {file = "protobuf-3.13.0-cp35-cp35m-macosx_10_9_intel.whl", hash = "sha256:df3932e1834a64b46ebc262e951cd82c3cf0fa936a154f0a42231140d8237060"},
-- {file = "protobuf-3.13.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:8c35bcbed1c0d29b127c886790e9d37e845ffc2725cc1db4bd06d70f4e8359f4"},
-- {file = "protobuf-3.13.0-cp35-cp35m-win32.whl", hash = "sha256:339c3a003e3c797bc84499fa32e0aac83c768e67b3de4a5d7a5a9aa3b0da634c"},
-- {file = "protobuf-3.13.0-cp35-cp35m-win_amd64.whl", hash = "sha256:361acd76f0ad38c6e38f14d08775514fbd241316cce08deb2ce914c7dfa1184a"},
-- {file = "protobuf-3.13.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:9edfdc679a3669988ec55a989ff62449f670dfa7018df6ad7f04e8dbacb10630"},
-- {file = "protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:5db9d3e12b6ede5e601b8d8684a7f9d90581882925c96acf8495957b4f1b204b"},
-- {file = "protobuf-3.13.0-cp36-cp36m-win32.whl", hash = "sha256:c8abd7605185836f6f11f97b21200f8a864f9cb078a193fe3c9e235711d3ff1e"},
-- {file = "protobuf-3.13.0-cp36-cp36m-win_amd64.whl", hash = "sha256:4d1174c9ed303070ad59553f435846a2f877598f59f9afc1b89757bdf846f2a7"},
-- {file = "protobuf-3.13.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:0bba42f439bf45c0f600c3c5993666fcb88e8441d011fad80a11df6f324eef33"},
-- {file = "protobuf-3.13.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:c0c5ab9c4b1eac0a9b838f1e46038c3175a95b0f2d944385884af72876bd6bc7"},
-- {file = "protobuf-3.13.0-cp37-cp37m-win32.whl", hash = "sha256:f68eb9d03c7d84bd01c790948320b768de8559761897763731294e3bc316decb"},
-- {file = "protobuf-3.13.0-cp37-cp37m-win_amd64.whl", hash = "sha256:91c2d897da84c62816e2f473ece60ebfeab024a16c1751aaf31100127ccd93ec"},
-- {file = "protobuf-3.13.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:3dee442884a18c16d023e52e32dd34a8930a889e511af493f6dc7d4d9bf12e4f"},
-- {file = "protobuf-3.13.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:e7662437ca1e0c51b93cadb988f9b353fa6b8013c0385d63a70c8a77d84da5f9"},
-- {file = "protobuf-3.13.0-py2.py3-none-any.whl", hash = "sha256:d69697acac76d9f250ab745b46c725edf3e98ac24763990b24d58c16c642947a"},
-- {file = "protobuf-3.13.0.tar.gz", hash = "sha256:6a82e0c8bb2bf58f606040cc5814e07715b2094caeba281e2e7d0b0e2e397db5"},
++ {file = "protobuf-3.14.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:629b03fd3caae7f815b0c66b41273f6b1900a579e2ccb41ef4493a4f5fb84f3a"},
++ {file = "protobuf-3.14.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:5b7a637212cc9b2bcf85dd828b1178d19efdf74dbfe1ddf8cd1b8e01fdaaa7f5"},
++ {file = "protobuf-3.14.0-cp35-cp35m-macosx_10_9_intel.whl", hash = "sha256:43b554b9e73a07ba84ed6cf25db0ff88b1e06be610b37656e292e3cbb5437472"},
++ {file = "protobuf-3.14.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:5e9806a43232a1fa0c9cf5da8dc06f6910d53e4390be1fa06f06454d888a9142"},
++ {file = "protobuf-3.14.0-cp35-cp35m-win32.whl", hash = "sha256:1c51fda1bbc9634246e7be6016d860be01747354ed7015ebe38acf4452f470d2"},
++ {file = "protobuf-3.14.0-cp35-cp35m-win_amd64.whl", hash = "sha256:4b74301b30513b1a7494d3055d95c714b560fbb630d8fb9956b6f27992c9f980"},
++ {file = "protobuf-3.14.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:86a75477addde4918e9a1904e5c6af8d7b691f2a3f65587d73b16100fbe4c3b2"},
++ {file = "protobuf-3.14.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:ecc33531a213eee22ad60e0e2aaea6c8ba0021f0cce35dbf0ab03dee6e2a23a1"},
++ {file = "protobuf-3.14.0-cp36-cp36m-win32.whl", hash = "sha256:72230ed56f026dd664c21d73c5db73ebba50d924d7ba6b7c0d81a121e390406e"},
++ {file = "protobuf-3.14.0-cp36-cp36m-win_amd64.whl", hash = "sha256:0fc96785262042e4863b3f3b5c429d4636f10d90061e1840fce1baaf59b1a836"},
++ {file = "protobuf-3.14.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:4e75105c9dfe13719b7293f75bd53033108f4ba03d44e71db0ec2a0e8401eafd"},
++ {file = "protobuf-3.14.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:2a7e2fe101a7ace75e9327b9c946d247749e564a267b0515cf41dfe450b69bac"},
++ {file = "protobuf-3.14.0-cp37-cp37m-win32.whl", hash = "sha256:b0d5d35faeb07e22a1ddf8dce620860c8fe145426c02d1a0ae2688c6e8ede36d"},
++ {file = "protobuf-3.14.0-cp37-cp37m-win_amd64.whl", hash = "sha256:8971c421dbd7aad930c9bd2694122f332350b6ccb5202a8b7b06f3f1a5c41ed5"},
++ {file = "protobuf-3.14.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:9616f0b65a30851e62f1713336c931fcd32c057202b7ff2cfbfca0fc7d5e3043"},
++ {file = "protobuf-3.14.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:22bcd2e284b3b1d969c12e84dc9b9a71701ec82d8ce975fdda19712e1cfd4e00"},
++ {file = "protobuf-3.14.0-py2.py3-none-any.whl", hash = "sha256:0e247612fadda953047f53301a7b0407cb0c3cb4ae25a6fde661597a04039b3c"},
++ {file = "protobuf-3.14.0.tar.gz", hash = "sha256:1d63eb389347293d8915fb47bee0951c7b5dab522a4a60118b9a18f33e21f8ce"},
]
psycopg2-binary = [
{file = "psycopg2-binary-2.8.6.tar.gz", hash = "sha256:11b9c0ebce097180129e422379b824ae21c8f2a6596b159c7659e2e5a00e1aa0"},
@@@ -3320,12 -3371,12 +3455,12 @@@ pyparsing =
{file = "pyparsing-2.4.7.tar.gz", hash = "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1"},
]
pyphen = [
-- {file = "Pyphen-0.9.5-py2.py3-none-any.whl", hash = "sha256:e172faf10992c8c9d369bdc83e36dbcf1121f4ed0d881f1a0b521935aee583b5"},
-- {file = "Pyphen-0.9.5.tar.gz", hash = "sha256:3b633a50873156d777e1f1075ba4d8e96a6ad0a3ca42aa3ea9a6259f93f18921"},
++ {file = "Pyphen-0.10.0-py3-none-any.whl", hash = "sha256:624b036eafe6f38fad3e79ee676ec711a8ce634feb9f34ac615bbaf73e662111"},
++ {file = "Pyphen-0.10.0.tar.gz", hash = "sha256:719b21dfb4b04fbc11cc0f6112418535fe35474021120cccfffc43a25fe63128"},
]
pytest = [
- {file = "pytest-6.1.1-py3-none-any.whl", hash = "sha256:7a8190790c17d79a11f847fba0b004ee9a8122582ebff4729a082c109e81a4c9"},
- {file = "pytest-6.1.1.tar.gz", hash = "sha256:8f593023c1a0f916110285b6efd7f99db07d59546e3d8c36fc60e2ab05d3be92"},
+ {file = "pytest-6.1.2-py3-none-any.whl", hash = "sha256:4288fed0d9153d9646bfcdf0c0428197dba1ecb27a33bb6e031d002fa88653fe"},
+ {file = "pytest-6.1.2.tar.gz", hash = "sha256:c0a7e94a8cdbc5422a51ccdad8e6f1024795939cc89159a0ae7f0b316ad3823e"},
]
pytest-celery = [
{file = "pytest-celery-0.0.0a1.tar.gz", hash = "sha256:3e0e0817c2d3f2870dafebd915bf13100fc12920b5d42dfe5fdc35844fe42e62"},
@@@ -3362,6 -3413,10 +3497,10 @@@ python-dateutil =
{file = "python-dateutil-2.8.1.tar.gz", hash = "sha256:73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c"},
{file = "python_dateutil-2.8.1-py2.py3-none-any.whl", hash = "sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a"},
]
+ python-dotenv = [
- {file = "python-dotenv-0.14.0.tar.gz", hash = "sha256:8c10c99a1b25d9a68058a1ad6f90381a62ba68230ca93966882a4dbc3bc9c33d"},
- {file = "python_dotenv-0.14.0-py2.py3-none-any.whl", hash = "sha256:c10863aee750ad720f4f43436565e4c1698798d763b63234fb5021b6c616e423"},
++ {file = "python-dotenv-0.15.0.tar.gz", hash = "sha256:587825ed60b1711daea4832cf37524dfd404325b7db5e25ebe88c495c9f807a0"},
++ {file = "python_dotenv-0.15.0-py2.py3-none-any.whl", hash = "sha256:0c8d1b80d1a1e91717ea7d526178e3882732420b03f08afea0406db6402e220e"},
+ ]
python-json-logger = [
{file = "python-json-logger-2.0.1.tar.gz", hash = "sha256:f26eea7898db40609563bed0a7ca11af12e2a79858632706d835a0f961b7d398"},
]
@@@ -3382,8 -3437,8 +3521,8 @@@ pytimeparse =
{file = "pytimeparse-1.1.8.tar.gz", hash = "sha256:e86136477be924d7e670646a98561957e8ca7308d44841e21f5ddea757556a0a"},
]
pytz = [
-- {file = "pytz-2020.1-py2.py3-none-any.whl", hash = "sha256:a494d53b6d39c3c6e44c3bec237336e14305e4f29bbf800b599253057fbb79ed"},
-- {file = "pytz-2020.1.tar.gz", hash = "sha256:c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048"},
++ {file = "pytz-2020.4-py2.py3-none-any.whl", hash = "sha256:5c55e189b682d420be27c6995ba6edce0c0a77dd67bfbe2ae6607134d5851ffd"},
++ {file = "pytz-2020.4.tar.gz", hash = "sha256:3e6b7dd2d1e0a59084bcee14a17af60c5c562cdc16d828e8eba2e683d3a7e268"},
]
pywatchman = [
{file = "pywatchman-1.4.1.tar.gz", hash = "sha256:d0047eb275deafb0011eda0a1a815fbd9742478c3d2b5ad6956d300e447dc2f9"},
@@@ -3410,31 -3467,31 +3549,51 @@@ redis =
{file = "redis-3.5.3.tar.gz", hash = "sha256:0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2"},
]
regex = [
-- {file = "regex-2020.7.14-cp27-cp27m-win32.whl", hash = "sha256:e46d13f38cfcbb79bfdb2964b0fe12561fe633caf964a77a5f8d4e45fe5d2ef7"},
-- {file = "regex-2020.7.14-cp27-cp27m-win_amd64.whl", hash = "sha256:6961548bba529cac7c07af2fd4d527c5b91bb8fe18995fed6044ac22b3d14644"},
-- {file = "regex-2020.7.14-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:c50a724d136ec10d920661f1442e4a8b010a4fe5aebd65e0c2241ea41dbe93dc"},
-- {file = "regex-2020.7.14-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:8a51f2c6d1f884e98846a0a9021ff6861bdb98457879f412fdc2b42d14494067"},
-- {file = "regex-2020.7.14-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:9c568495e35599625f7b999774e29e8d6b01a6fb684d77dee1f56d41b11b40cd"},
-- {file = "regex-2020.7.14-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:51178c738d559a2d1071ce0b0f56e57eb315bcf8f7d4cf127674b533e3101f88"},
-- {file = "regex-2020.7.14-cp36-cp36m-win32.whl", hash = "sha256:9eddaafb3c48e0900690c1727fba226c4804b8e6127ea409689c3bb492d06de4"},
-- {file = "regex-2020.7.14-cp36-cp36m-win_amd64.whl", hash = "sha256:14a53646369157baa0499513f96091eb70382eb50b2c82393d17d7ec81b7b85f"},
-- {file = "regex-2020.7.14-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:1269fef3167bb52631ad4fa7dd27bf635d5a0790b8e6222065d42e91bede4162"},
-- {file = "regex-2020.7.14-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:d0a5095d52b90ff38592bbdc2644f17c6d495762edf47d876049cfd2968fbccf"},
-- {file = "regex-2020.7.14-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:4c037fd14c5f4e308b8370b447b469ca10e69427966527edcab07f52d88388f7"},
-- {file = "regex-2020.7.14-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:bc3d98f621898b4a9bc7fecc00513eec8f40b5b83913d74ccb445f037d58cd89"},
-- {file = "regex-2020.7.14-cp37-cp37m-win32.whl", hash = "sha256:46bac5ca10fb748d6c55843a931855e2727a7a22584f302dd9bb1506e69f83f6"},
-- {file = "regex-2020.7.14-cp37-cp37m-win_amd64.whl", hash = "sha256:0dc64ee3f33cd7899f79a8d788abfbec168410be356ed9bd30bbd3f0a23a7204"},
-- {file = "regex-2020.7.14-cp38-cp38-manylinux1_i686.whl", hash = "sha256:5ea81ea3dbd6767873c611687141ec7b06ed8bab43f68fad5b7be184a920dc99"},
-- {file = "regex-2020.7.14-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:bbb332d45b32df41200380fff14712cb6093b61bd142272a10b16778c418e98e"},
-- {file = "regex-2020.7.14-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:c11d6033115dc4887c456565303f540c44197f4fc1a2bfb192224a301534888e"},
-- {file = "regex-2020.7.14-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:75aaa27aa521a182824d89e5ab0a1d16ca207318a6b65042b046053cfc8ed07a"},
-- {file = "regex-2020.7.14-cp38-cp38-win32.whl", hash = "sha256:d6cff2276e502b86a25fd10c2a96973fdb45c7a977dca2138d661417f3728341"},
-- {file = "regex-2020.7.14-cp38-cp38-win_amd64.whl", hash = "sha256:7a2dd66d2d4df34fa82c9dc85657c5e019b87932019947faece7983f2089a840"},
-- {file = "regex-2020.7.14.tar.gz", hash = "sha256:3a3af27a8d23143c49a3420efe5b3f8cf1a48c6fc8bc6856b03f638abc1833bb"},
++ {file = "regex-2020.11.13-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:8b882a78c320478b12ff024e81dc7d43c1462aa4a3341c754ee65d857a521f85"},
++ {file = "regex-2020.11.13-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:a63f1a07932c9686d2d416fb295ec2c01ab246e89b4d58e5fa468089cab44b70"},
++ {file = "regex-2020.11.13-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:6e4b08c6f8daca7d8f07c8d24e4331ae7953333dbd09c648ed6ebd24db5a10ee"},
++ {file = "regex-2020.11.13-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:bba349276b126947b014e50ab3316c027cac1495992f10e5682dc677b3dfa0c5"},
++ {file = "regex-2020.11.13-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:56e01daca75eae420bce184edd8bb341c8eebb19dd3bce7266332258f9fb9dd7"},
++ {file = "regex-2020.11.13-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:6a8ce43923c518c24a2579fda49f093f1397dad5d18346211e46f134fc624e31"},
++ {file = "regex-2020.11.13-cp36-cp36m-manylinux2014_i686.whl", hash = "sha256:1ab79fcb02b930de09c76d024d279686ec5d532eb814fd0ed1e0051eb8bd2daa"},
++ {file = "regex-2020.11.13-cp36-cp36m-manylinux2014_x86_64.whl", hash = "sha256:9801c4c1d9ae6a70aeb2128e5b4b68c45d4f0af0d1535500884d644fa9b768c6"},
++ {file = "regex-2020.11.13-cp36-cp36m-win32.whl", hash = "sha256:49cae022fa13f09be91b2c880e58e14b6da5d10639ed45ca69b85faf039f7a4e"},
++ {file = "regex-2020.11.13-cp36-cp36m-win_amd64.whl", hash = "sha256:749078d1eb89484db5f34b4012092ad14b327944ee7f1c4f74d6279a6e4d1884"},
++ {file = "regex-2020.11.13-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b2f4007bff007c96a173e24dcda236e5e83bde4358a557f9ccf5e014439eae4b"},
++ {file = "regex-2020.11.13-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:38c8fd190db64f513fe4e1baa59fed086ae71fa45083b6936b52d34df8f86a88"},
++ {file = "regex-2020.11.13-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:5862975b45d451b6db51c2e654990c1820523a5b07100fc6903e9c86575202a0"},
++ {file = "regex-2020.11.13-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:262c6825b309e6485ec2493ffc7e62a13cf13fb2a8b6d212f72bd53ad34118f1"},
++ {file = "regex-2020.11.13-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:bafb01b4688833e099d79e7efd23f99172f501a15c44f21ea2118681473fdba0"},
++ {file = "regex-2020.11.13-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:e32f5f3d1b1c663af7f9c4c1e72e6ffe9a78c03a31e149259f531e0fed826512"},
++ {file = "regex-2020.11.13-cp37-cp37m-manylinux2014_i686.whl", hash = "sha256:3bddc701bdd1efa0d5264d2649588cbfda549b2899dc8d50417e47a82e1387ba"},
++ {file = "regex-2020.11.13-cp37-cp37m-manylinux2014_x86_64.whl", hash = "sha256:02951b7dacb123d8ea6da44fe45ddd084aa6777d4b2454fa0da61d569c6fa538"},
++ {file = "regex-2020.11.13-cp37-cp37m-win32.whl", hash = "sha256:0d08e71e70c0237883d0bef12cad5145b84c3705e9c6a588b2a9c7080e5af2a4"},
++ {file = "regex-2020.11.13-cp37-cp37m-win_amd64.whl", hash = "sha256:1fa7ee9c2a0e30405e21031d07d7ba8617bc590d391adfc2b7f1e8b99f46f444"},
++ {file = "regex-2020.11.13-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:baf378ba6151f6e272824b86a774326f692bc2ef4cc5ce8d5bc76e38c813a55f"},
++ {file = "regex-2020.11.13-cp38-cp38-manylinux1_i686.whl", hash = "sha256:e3faaf10a0d1e8e23a9b51d1900b72e1635c2d5b0e1bea1c18022486a8e2e52d"},
++ {file = "regex-2020.11.13-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:2a11a3e90bd9901d70a5b31d7dd85114755a581a5da3fc996abfefa48aee78af"},
++ {file = "regex-2020.11.13-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:d1ebb090a426db66dd80df8ca85adc4abfcbad8a7c2e9a5ec7513ede522e0a8f"},
++ {file = "regex-2020.11.13-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:b2b1a5ddae3677d89b686e5c625fc5547c6e492bd755b520de5332773a8af06b"},
++ {file = "regex-2020.11.13-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:2c99e97d388cd0a8d30f7c514d67887d8021541b875baf09791a3baad48bb4f8"},
++ {file = "regex-2020.11.13-cp38-cp38-manylinux2014_i686.whl", hash = "sha256:c084582d4215593f2f1d28b65d2a2f3aceff8342aa85afd7be23a9cad74a0de5"},
++ {file = "regex-2020.11.13-cp38-cp38-manylinux2014_x86_64.whl", hash = "sha256:a3d748383762e56337c39ab35c6ed4deb88df5326f97a38946ddd19028ecce6b"},
++ {file = "regex-2020.11.13-cp38-cp38-win32.whl", hash = "sha256:7913bd25f4ab274ba37bc97ad0e21c31004224ccb02765ad984eef43e04acc6c"},
++ {file = "regex-2020.11.13-cp38-cp38-win_amd64.whl", hash = "sha256:6c54ce4b5d61a7129bad5c5dc279e222afd00e721bf92f9ef09e4fae28755683"},
++ {file = "regex-2020.11.13-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1862a9d9194fae76a7aaf0150d5f2a8ec1da89e8b55890b1786b8f88a0f619dc"},
++ {file = "regex-2020.11.13-cp39-cp39-manylinux1_i686.whl", hash = "sha256:4902e6aa086cbb224241adbc2f06235927d5cdacffb2425c73e6570e8d862364"},
++ {file = "regex-2020.11.13-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:7a25fcbeae08f96a754b45bdc050e1fb94b95cab046bf56b016c25e9ab127b3e"},
++ {file = "regex-2020.11.13-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:d2d8ce12b7c12c87e41123997ebaf1a5767a5be3ec545f64675388970f415e2e"},
++ {file = "regex-2020.11.13-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:f7d29a6fc4760300f86ae329e3b6ca28ea9c20823df123a2ea8693e967b29917"},
++ {file = "regex-2020.11.13-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:717881211f46de3ab130b58ec0908267961fadc06e44f974466d1887f865bd5b"},
++ {file = "regex-2020.11.13-cp39-cp39-manylinux2014_i686.whl", hash = "sha256:3128e30d83f2e70b0bed9b2a34e92707d0877e460b402faca908c6667092ada9"},
++ {file = "regex-2020.11.13-cp39-cp39-manylinux2014_x86_64.whl", hash = "sha256:8f6a2229e8ad946e36815f2a03386bb8353d4bde368fdf8ca5f0cb97264d3b5c"},
++ {file = "regex-2020.11.13-cp39-cp39-win32.whl", hash = "sha256:f8f295db00ef5f8bae530fc39af0b40486ca6068733fb860b42115052206466f"},
++ {file = "regex-2020.11.13-cp39-cp39-win_amd64.whl", hash = "sha256:a15f64ae3a027b64496a71ab1f722355e570c3fac5ba2801cafce846bf5af01d"},
++ {file = "regex-2020.11.13.tar.gz", hash = "sha256:83d6b356e116ca119db8e7c6fc2983289d87b27b3fac238cfe5dca529d884562"},
]
requests = [
- {file = "requests-2.24.0-py2.py3-none-any.whl", hash = "sha256:fe75cc94a9443b9246fc7049224f75604b113c36acb93f87b80ed42c44cbb898"},
- {file = "requests-2.24.0.tar.gz", hash = "sha256:b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b"},
+ {file = "requests-2.25.0-py2.py3-none-any.whl", hash = "sha256:e786fa28d8c9154e6a4de5d46a1d921b8749f8b74e28bde23768e5e16eece998"},
+ {file = "requests-2.25.0.tar.gz", hash = "sha256:7f1a0b932f4a60a1a65caa4263921bb7d9ee911957e0ae4a23a6dd08185ad5f8"},
]
rsa = [
{file = "rsa-4.6-py3-none-any.whl", hash = "sha256:6166864e23d6b5195a5cfed6cd9fed0fe774e226d8f854fcb23b7bbef0350233"},
@@@ -3449,8 -3506,8 +3608,8 @@@ s3transfer =
{file = "s3transfer-0.3.3.tar.gz", hash = "sha256:921a37e2aefc64145e7b73d50c71bb4f26f46e4c9f414dc648c6245ff92cf7db"},
]
sentry-sdk = [
-- {file = "sentry-sdk-0.17.3.tar.gz", hash = "sha256:0af429c221670e602f960fca85ca3f607c85510a91f11e8be8f742a978127f78"},
-- {file = "sentry_sdk-0.17.3-py2.py3-none-any.whl", hash = "sha256:a088a1054673c6a19ea590045c871c38da029ef743b61a07bfee95e9f3c060f7"},
++ {file = "sentry-sdk-0.19.4.tar.gz", hash = "sha256:1052f0ed084e532f66cb3e4ba617960d820152aee8b93fc6c05bd53861768c1c"},
++ {file = "sentry_sdk-0.19.4-py2.py3-none-any.whl", hash = "sha256:4c42910a55a6b1fe694d5e4790d5188d105d77b5a6346c1c64cbea8c06c0e8b7"},
]
singledispatch = [
{file = "singledispatch-3.4.0.3-py2.py3-none-any.whl", hash = "sha256:833b46966687b3de7f438c761ac475213e53b306740f1abfaa86e1d1aae56aa8"},
@@@ -3473,16 -3530,16 +3632,16 @@@ soupsieve =
{file = "soupsieve-2.0.1.tar.gz", hash = "sha256:a59dc181727e95d25f781f0eb4fd1825ff45590ec8ff49eadfd7f1a537cc0232"},
]
sqlparse = [
-- {file = "sqlparse-0.3.1-py2.py3-none-any.whl", hash = "sha256:022fb9c87b524d1f7862b3037e541f68597a730a8843245c349fc93e1643dc4e"},
-- {file = "sqlparse-0.3.1.tar.gz", hash = "sha256:e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548"},
++ {file = "sqlparse-0.4.1-py3-none-any.whl", hash = "sha256:017cde379adbd6a1f15a61873f43e8274179378e95ef3fede90b5aa64d304ed0"},
++ {file = "sqlparse-0.4.1.tar.gz", hash = "sha256:0f91fd2e829c44362cbcfab3e9ae12e22badaa8a29ad5ff599f9ec109f0454e8"},
]
stripe = [
- {file = "stripe-2.55.0-py2.py3-none-any.whl", hash = "sha256:833313d28dcceca71128ee915c2dacbbf235c909e0a01b0f94ee5037e1c46109"},
- {file = "stripe-2.55.0.tar.gz", hash = "sha256:2eebf023595e8aa9d65d8b46ccc3c716185bb9625d0e39d3956282fd7525848d"},
+ {file = "stripe-2.55.1-py2.py3-none-any.whl", hash = "sha256:fd98ae43b105e75cb4f1d23ba3d0c16b45e3957d432002398a2f75d083d606ce"},
+ {file = "stripe-2.55.1.tar.gz", hash = "sha256:6b70e2cf87cfbe0cb891b725b690495bc3d34ab0d82545a5989ecd3b5fa83e2a"},
]
sympy = [
-- {file = "sympy-1.6.2-py3-none-any.whl", hash = "sha256:0f6c5724a999eca02f4b453260b0c7151d6fa076313f441274db98bbf97ba8cd"},
-- {file = "sympy-1.6.2.tar.gz", hash = "sha256:1cfadcc80506e4b793f5b088558ca1fcbeaec24cd6fc86f1fdccaa3ee1d48708"},
++ {file = "sympy-1.7-py3-none-any.whl", hash = "sha256:09aa4b3075e505108cb84785ba358e58a53d9596c8c71f07b613958b9150c481"},
++ {file = "sympy-1.7.tar.gz", hash = "sha256:9104004669cda847f38cfd8cd16dd174952c537349dbae740fea5331d2b3a51b"},
]
text-unidecode = [
{file = "text-unidecode-1.3.tar.gz", hash = "sha256:bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93"},
@@@ -3496,23 -3553,23 +3655,55 @@@ thrift =
{file = "thrift-0.13.0.tar.gz", hash = "sha256:9af1c86bf73433afc6010ed376a6c6aca2b54099cc0d61895f640870a9ae7d89"},
]
tinycss2 = [
-- {file = "tinycss2-1.0.2-py3-none-any.whl", hash = "sha256:9fdacc0e22d344ddd2ca053837c133900fe820ae1222f63b79617490a498507a"},
-- {file = "tinycss2-1.0.2.tar.gz", hash = "sha256:6427d0e3faa0a5e0e8c9f6437e2de26148a7a197a8b0992789f23d9a802788cf"},
++ {file = "tinycss2-1.1.0-py3-none-any.whl", hash = "sha256:0353b5234bcaee7b1ac7ca3dea7e02cd338a9f8dcbb8f2dcd32a5795ec1e5f9a"},
++ {file = "tinycss2-1.1.0.tar.gz", hash = "sha256:fbdcac3044d60eb85fdb2aa840ece43cf7dbe798e373e6ee0be545d4d134e18a"},
]
toml = [
-- {file = "toml-0.10.1-py2.py3-none-any.whl", hash = "sha256:bda89d5935c2eac546d648028b9901107a595863cb36bae0c73ac804a9b4ce88"},
-- {file = "toml-0.10.1.tar.gz", hash = "sha256:926b612be1e5ce0634a2ca03470f95169cf16f939018233a670519cb4ac58b0f"},
++ {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"},
++ {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"},
]
tornado = [
-- {file = "tornado-6.0.4-cp35-cp35m-win32.whl", hash = "sha256:5217e601700f24e966ddab689f90b7ea4bd91ff3357c3600fa1045e26d68e55d"},
-- {file = "tornado-6.0.4-cp35-cp35m-win_amd64.whl", hash = "sha256:c98232a3ac391f5faea6821b53db8db461157baa788f5d6222a193e9456e1740"},
-- {file = "tornado-6.0.4-cp36-cp36m-win32.whl", hash = "sha256:5f6a07e62e799be5d2330e68d808c8ac41d4a259b9cea61da4101b83cb5dc673"},
-- {file = "tornado-6.0.4-cp36-cp36m-win_amd64.whl", hash = "sha256:c952975c8ba74f546ae6de2e226ab3cc3cc11ae47baf607459a6728585bb542a"},
-- {file = "tornado-6.0.4-cp37-cp37m-win32.whl", hash = "sha256:2c027eb2a393d964b22b5c154d1a23a5f8727db6fda837118a776b29e2b8ebc6"},
-- {file = "tornado-6.0.4-cp37-cp37m-win_amd64.whl", hash = "sha256:5618f72e947533832cbc3dec54e1dffc1747a5cb17d1fd91577ed14fa0dc081b"},
-- {file = "tornado-6.0.4-cp38-cp38-win32.whl", hash = "sha256:22aed82c2ea340c3771e3babc5ef220272f6fd06b5108a53b4976d0d722bcd52"},
-- {file = "tornado-6.0.4-cp38-cp38-win_amd64.whl", hash = "sha256:c58d56003daf1b616336781b26d184023ea4af13ae143d9dda65e31e534940b9"},
-- {file = "tornado-6.0.4.tar.gz", hash = "sha256:0fe2d45ba43b00a41cd73f8be321a44936dc1aba233dee979f17a042b83eb6dc"},
++ {file = "tornado-6.1-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:d371e811d6b156d82aa5f9a4e08b58debf97c302a35714f6f45e35139c332e32"},
++ {file = "tornado-6.1-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:0d321a39c36e5f2c4ff12b4ed58d41390460f798422c4504e09eb5678e09998c"},
++ {file = "tornado-6.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:9de9e5188a782be6b1ce866e8a51bc76a0fbaa0e16613823fc38e4fc2556ad05"},
++ {file = "tornado-6.1-cp35-cp35m-manylinux2010_i686.whl", hash = "sha256:61b32d06ae8a036a6607805e6720ef00a3c98207038444ba7fd3d169cd998910"},
++ {file = "tornado-6.1-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:3e63498f680547ed24d2c71e6497f24bca791aca2fe116dbc2bd0ac7f191691b"},
++ {file = "tornado-6.1-cp35-cp35m-manylinux2014_aarch64.whl", hash = "sha256:6c77c9937962577a6a76917845d06af6ab9197702a42e1346d8ae2e76b5e3675"},
++ {file = "tornado-6.1-cp35-cp35m-win32.whl", hash = "sha256:6286efab1ed6e74b7028327365cf7346b1d777d63ab30e21a0f4d5b275fc17d5"},
++ {file = "tornado-6.1-cp35-cp35m-win_amd64.whl", hash = "sha256:fa2ba70284fa42c2a5ecb35e322e68823288a4251f9ba9cc77be04ae15eada68"},
++ {file = "tornado-6.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:0a00ff4561e2929a2c37ce706cb8233b7907e0cdc22eab98888aca5dd3775feb"},
++ {file = "tornado-6.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:748290bf9112b581c525e6e6d3820621ff020ed95af6f17fedef416b27ed564c"},
++ {file = "tornado-6.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:e385b637ac3acaae8022e7e47dfa7b83d3620e432e3ecb9a3f7f58f150e50921"},
++ {file = "tornado-6.1-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:25ad220258349a12ae87ede08a7b04aca51237721f63b1808d39bdb4b2164558"},
++ {file = "tornado-6.1-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:65d98939f1a2e74b58839f8c4dab3b6b3c1ce84972ae712be02845e65391ac7c"},
++ {file = "tornado-6.1-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:e519d64089b0876c7b467274468709dadf11e41d65f63bba207e04217f47c085"},
++ {file = "tornado-6.1-cp36-cp36m-win32.whl", hash = "sha256:b87936fd2c317b6ee08a5741ea06b9d11a6074ef4cc42e031bc6403f82a32575"},
++ {file = "tornado-6.1-cp36-cp36m-win_amd64.whl", hash = "sha256:cc0ee35043162abbf717b7df924597ade8e5395e7b66d18270116f8745ceb795"},
++ {file = "tornado-6.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:7250a3fa399f08ec9cb3f7b1b987955d17e044f1ade821b32e5f435130250d7f"},
++ {file = "tornado-6.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:ed3ad863b1b40cd1d4bd21e7498329ccaece75db5a5bf58cd3c9f130843e7102"},
++ {file = "tornado-6.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:dcef026f608f678c118779cd6591c8af6e9b4155c44e0d1bc0c87c036fb8c8c4"},
++ {file = "tornado-6.1-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:70dec29e8ac485dbf57481baee40781c63e381bebea080991893cd297742b8fd"},
++ {file = "tornado-6.1-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:d3f7594930c423fd9f5d1a76bee85a2c36fd8b4b16921cae7e965f22575e9c01"},
++ {file = "tornado-6.1-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:3447475585bae2e77ecb832fc0300c3695516a47d46cefa0528181a34c5b9d3d"},
++ {file = "tornado-6.1-cp37-cp37m-win32.whl", hash = "sha256:e7229e60ac41a1202444497ddde70a48d33909e484f96eb0da9baf8dc68541df"},
++ {file = "tornado-6.1-cp37-cp37m-win_amd64.whl", hash = "sha256:cb5ec8eead331e3bb4ce8066cf06d2dfef1bfb1b2a73082dfe8a161301b76e37"},
++ {file = "tornado-6.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:20241b3cb4f425e971cb0a8e4ffc9b0a861530ae3c52f2b0434e6c1b57e9fd95"},
++ {file = "tornado-6.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:c77da1263aa361938476f04c4b6c8916001b90b2c2fdd92d8d535e1af48fba5a"},
++ {file = "tornado-6.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:fba85b6cd9c39be262fcd23865652920832b61583de2a2ca907dbd8e8a8c81e5"},
++ {file = "tornado-6.1-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:1e8225a1070cd8eec59a996c43229fe8f95689cb16e552d130b9793cb570a288"},
++ {file = "tornado-6.1-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:d14d30e7f46a0476efb0deb5b61343b1526f73ebb5ed84f23dc794bdb88f9d9f"},
++ {file = "tornado-6.1-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:8f959b26f2634a091bb42241c3ed8d3cedb506e7c27b8dd5c7b9f745318ddbb6"},
++ {file = "tornado-6.1-cp38-cp38-win32.whl", hash = "sha256:34ca2dac9e4d7afb0bed4677512e36a52f09caa6fded70b4e3e1c89dbd92c326"},
++ {file = "tornado-6.1-cp38-cp38-win_amd64.whl", hash = "sha256:6196a5c39286cc37c024cd78834fb9345e464525d8991c21e908cc046d1cc02c"},
++ {file = "tornado-6.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:f0ba29bafd8e7e22920567ce0d232c26d4d47c8b5cf4ed7b562b5db39fa199c5"},
++ {file = "tornado-6.1-cp39-cp39-manylinux1_i686.whl", hash = "sha256:33892118b165401f291070100d6d09359ca74addda679b60390b09f8ef325ffe"},
++ {file = "tornado-6.1-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:7da13da6f985aab7f6f28debab00c67ff9cbacd588e8477034c0652ac141feea"},
++ {file = "tornado-6.1-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:e0791ac58d91ac58f694d8d2957884df8e4e2f6687cdf367ef7eb7497f79eaa2"},
++ {file = "tornado-6.1-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:66324e4e1beede9ac79e60f88de548da58b1f8ab4b2f1354d8375774f997e6c0"},
++ {file = "tornado-6.1-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:a48900ecea1cbb71b8c71c620dee15b62f85f7c14189bdeee54966fbd9a0c5bd"},
++ {file = "tornado-6.1-cp39-cp39-win32.whl", hash = "sha256:d3d20ea5782ba63ed13bc2b8c291a053c8d807a8fa927d941bd718468f7b950c"},
++ {file = "tornado-6.1-cp39-cp39-win_amd64.whl", hash = "sha256:548430be2740e327b3fe0201abe471f314741efcb0067ec4f2d7dcfb4825f3e4"},
++ {file = "tornado-6.1.tar.gz", hash = "sha256:33c6e81d7bd55b468d2e793517c909b139960b6c790a60b7991b9b6b76fb9791"},
]
tox = [
{file = "tox-3.20.1-py2.py3-none-any.whl", hash = "sha256:42ce19ce5dc2f6d6b1fdc5666c476e1f1e2897359b47e0aa3a5b774f335d57c2"},
@@@ -3572,24 -3629,39 +3763,39 @@@ unidecode =
{file = "Unidecode-1.1.1.tar.gz", hash = "sha256:2b6aab710c2a1647e928e36d69c21e76b453cd455f4e2621000e54b2a9b8cce8"},
]
urllib3 = [
-- {file = "urllib3-1.25.10-py2.py3-none-any.whl", hash = "sha256:e7983572181f5e1522d9c98453462384ee92a0be7fac5f1413a1e35c56cc0461"},
-- {file = "urllib3-1.25.10.tar.gz", hash = "sha256:91056c15fa70756691db97756772bb1eb9678fa585d9184f24534b100dc60f4a"},
++ {file = "urllib3-1.26.2-py2.py3-none-any.whl", hash = "sha256:d8ff90d979214d7b4f8ce956e80f4028fc6860e4431f731ea4a8c08f23f99473"},
++ {file = "urllib3-1.26.2.tar.gz", hash = "sha256:19188f96923873c92ccb987120ec4acaa12f0461fa9ce5d3d0772bc965a39e08"},
]
uvicorn = [
- {file = "uvicorn-0.12.1-py3-none-any.whl", hash = "sha256:d06a25caa8dc680ad92eb3ec67363f5281c092059613a1cc0100acba37fc0f45"},
- {file = "uvicorn-0.12.1.tar.gz", hash = "sha256:a461e76406088f448f36323f5ac774d50e5a552b6ccb54e4fca8d83ef614a7c2"},
+ {file = "uvicorn-0.12.3-py3-none-any.whl", hash = "sha256:562ef6aaa8fa723ab6b82cf9e67a774088179d0ec57cb17e447b15d58b603bcf"},
+ {file = "uvicorn-0.12.3.tar.gz", hash = "sha256:5836edaf4d278fe67ba0298c0537bdb6398cf359eb644f79e6500ca1aad232b3"},
+ ]
+ uvloop = [
+ {file = "uvloop-0.14.0-cp35-cp35m-macosx_10_11_x86_64.whl", hash = "sha256:08b109f0213af392150e2fe6f81d33261bb5ce968a288eb698aad4f46eb711bd"},
+ {file = "uvloop-0.14.0-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:4544dcf77d74f3a84f03dd6278174575c44c67d7165d4c42c71db3fdc3860726"},
+ {file = "uvloop-0.14.0-cp36-cp36m-macosx_10_11_x86_64.whl", hash = "sha256:b4f591aa4b3fa7f32fb51e2ee9fea1b495eb75b0b3c8d0ca52514ad675ae63f7"},
+ {file = "uvloop-0.14.0-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:f07909cd9fc08c52d294b1570bba92186181ca01fe3dc9ffba68955273dd7362"},
+ {file = "uvloop-0.14.0-cp37-cp37m-macosx_10_11_x86_64.whl", hash = "sha256:afd5513c0ae414ec71d24f6f123614a80f3d27ca655a4fcf6cabe50994cc1891"},
+ {file = "uvloop-0.14.0-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:e7514d7a48c063226b7d06617cbb12a14278d4323a065a8d46a7962686ce2e95"},
+ {file = "uvloop-0.14.0-cp38-cp38-macosx_10_11_x86_64.whl", hash = "sha256:bcac356d62edd330080aed082e78d4b580ff260a677508718f88016333e2c9c5"},
+ {file = "uvloop-0.14.0-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:4315d2ec3ca393dd5bc0b0089d23101276778c304d42faff5dc4579cb6caef09"},
+ {file = "uvloop-0.14.0.tar.gz", hash = "sha256:123ac9c0c7dd71464f58f1b4ee0bbd81285d96cdda8bc3519281b8973e3a461e"},
]
vcrpy = [
-- {file = "vcrpy-4.1.0-py2.py3-none-any.whl", hash = "sha256:d833248442bbc560599add895c9ab0ef518676579e8dc72d8b0933bdb3880253"},
-- {file = "vcrpy-4.1.0.tar.gz", hash = "sha256:4138e79eb35981ad391406cbb7227bce7eba8bad788dcf1a89c2e4a8b740debe"},
++ {file = "vcrpy-4.1.1-py2.py3-none-any.whl", hash = "sha256:12c3fcdae7b88ecf11fc0d3e6d77586549d4575a2ceee18e82eee75c1f626162"},
++ {file = "vcrpy-4.1.1.tar.gz", hash = "sha256:57095bf22fc0a2d99ee9674cdafebed0f3ba763018582450706f7d3a74fff599"},
]
vine = [
{file = "vine-5.0.0-py2.py3-none-any.whl", hash = "sha256:4c9dceab6f76ed92105027c49c823800dd33cacce13bdedc5b914e3514b7fb30"},
{file = "vine-5.0.0.tar.gz", hash = "sha256:7d3b1624a953da82ef63462013bbd271d3eb75751489f9807598e8f340bd637e"},
]
virtualenv = [
-- {file = "virtualenv-20.0.31-py2.py3-none-any.whl", hash = "sha256:e0305af10299a7fb0d69393d8f04cb2965dda9351140d11ac8db4e5e3970451b"},
-- {file = "virtualenv-20.0.31.tar.gz", hash = "sha256:43add625c53c596d38f971a465553f6318decc39d98512bc100fa1b1e839c8dc"},
++ {file = "virtualenv-20.2.2-py2.py3-none-any.whl", hash = "sha256:54b05fc737ea9c9ee9f8340f579e5da5b09fb64fd010ab5757eb90268616907c"},
++ {file = "virtualenv-20.2.2.tar.gz", hash = "sha256:b7a8ec323ee02fb2312f098b6b4c9de99559b462775bc8fe3627a73706603c1b"},
+ ]
+ watchgod = [
+ {file = "watchgod-0.6-py35.py36.py37-none-any.whl", hash = "sha256:59700dab7445aa8e6067a5b94f37bae90fc367554549b1ed2e9d0f4f38a90d2a"},
+ {file = "watchgod-0.6.tar.gz", hash = "sha256:e9cca0ab9c63f17fc85df9fd8bd18156ff00aff04ebe5976cee473f4968c6858"},
]
wcwidth = [
{file = "wcwidth-0.2.5-py2.py3-none-any.whl", hash = "sha256:beb4802a9cebb9144e99086eff703a642a13d6a0052920003a230f3294bbe784"},
@@@ -3607,21 -3703,21 +3837,41 @@@ wrapt =
{file = "wrapt-1.12.1.tar.gz", hash = "sha256:b62ffa81fb85f4332a4f609cab4ac40709470da05643a082ec1eb88e6d9b97d7"},
]
yarl = [
-- {file = "yarl-1.5.1-cp35-cp35m-macosx_10_14_x86_64.whl", hash = "sha256:db6db0f45d2c63ddb1a9d18d1b9b22f308e52c83638c26b422d520a815c4b3fb"},
-- {file = "yarl-1.5.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:17668ec6722b1b7a3a05cc0167659f6c95b436d25a36c2d52db0eca7d3f72593"},
-- {file = "yarl-1.5.1-cp35-cp35m-win32.whl", hash = "sha256:040b237f58ff7d800e6e0fd89c8439b841f777dd99b4a9cca04d6935564b9409"},
-- {file = "yarl-1.5.1-cp35-cp35m-win_amd64.whl", hash = "sha256:f18d68f2be6bf0e89f1521af2b1bb46e66ab0018faafa81d70f358153170a317"},
-- {file = "yarl-1.5.1-cp36-cp36m-macosx_10_14_x86_64.whl", hash = "sha256:c52ce2883dc193824989a9b97a76ca86ecd1fa7955b14f87bf367a61b6232511"},
-- {file = "yarl-1.5.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:ce584af5de8830d8701b8979b18fcf450cef9a382b1a3c8ef189bedc408faf1e"},
-- {file = "yarl-1.5.1-cp36-cp36m-win32.whl", hash = "sha256:df89642981b94e7db5596818499c4b2219028f2a528c9c37cc1de45bf2fd3a3f"},
-- {file = "yarl-1.5.1-cp36-cp36m-win_amd64.whl", hash = "sha256:3a584b28086bc93c888a6c2aa5c92ed1ae20932f078c46509a66dce9ea5533f2"},
-- {file = "yarl-1.5.1-cp37-cp37m-macosx_10_14_x86_64.whl", hash = "sha256:da456eeec17fa8aa4594d9a9f27c0b1060b6a75f2419fe0c00609587b2695f4a"},
-- {file = "yarl-1.5.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:bc2f976c0e918659f723401c4f834deb8a8e7798a71be4382e024bcc3f7e23a8"},
-- {file = "yarl-1.5.1-cp37-cp37m-win32.whl", hash = "sha256:4439be27e4eee76c7632c2427ca5e73703151b22cae23e64adb243a9c2f565d8"},
-- {file = "yarl-1.5.1-cp37-cp37m-win_amd64.whl", hash = "sha256:48e918b05850fffb070a496d2b5f97fc31d15d94ca33d3d08a4f86e26d4e7c5d"},
-- {file = "yarl-1.5.1-cp38-cp38-macosx_10_14_x86_64.whl", hash = "sha256:9b930776c0ae0c691776f4d2891ebc5362af86f152dd0da463a6614074cb1b02"},
-- {file = "yarl-1.5.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:b3b9ad80f8b68519cc3372a6ca85ae02cc5a8807723ac366b53c0f089db19e4a"},
-- {file = "yarl-1.5.1-cp38-cp38-win32.whl", hash = "sha256:f379b7f83f23fe12823085cd6b906edc49df969eb99757f58ff382349a3303c6"},
-- {file = "yarl-1.5.1-cp38-cp38-win_amd64.whl", hash = "sha256:9102b59e8337f9874638fcfc9ac3734a0cfadb100e47d55c20d0dc6087fb4692"},
-- {file = "yarl-1.5.1.tar.gz", hash = "sha256:c22c75b5f394f3d47105045ea551e08a3e804dc7e01b37800ca35b58f856c3d6"},
++ {file = "yarl-1.6.3-cp36-cp36m-macosx_10_14_x86_64.whl", hash = "sha256:0355a701b3998dcd832d0dc47cc5dedf3874f966ac7f870e0f3a6788d802d434"},
++ {file = "yarl-1.6.3-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:bafb450deef6861815ed579c7a6113a879a6ef58aed4c3a4be54400ae8871478"},
++ {file = "yarl-1.6.3-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:547f7665ad50fa8563150ed079f8e805e63dd85def6674c97efd78eed6c224a6"},
++ {file = "yarl-1.6.3-cp36-cp36m-manylinux2014_i686.whl", hash = "sha256:63f90b20ca654b3ecc7a8d62c03ffa46999595f0167d6450fa8383bab252987e"},
++ {file = "yarl-1.6.3-cp36-cp36m-manylinux2014_ppc64le.whl", hash = "sha256:97b5bdc450d63c3ba30a127d018b866ea94e65655efaf889ebeabc20f7d12406"},
++ {file = "yarl-1.6.3-cp36-cp36m-manylinux2014_s390x.whl", hash = "sha256:d8d07d102f17b68966e2de0e07bfd6e139c7c02ef06d3a0f8d2f0f055e13bb76"},
++ {file = "yarl-1.6.3-cp36-cp36m-manylinux2014_x86_64.whl", hash = "sha256:15263c3b0b47968c1d90daa89f21fcc889bb4b1aac5555580d74565de6836366"},
++ {file = "yarl-1.6.3-cp36-cp36m-win32.whl", hash = "sha256:b5dfc9a40c198334f4f3f55880ecf910adebdcb2a0b9a9c23c9345faa9185721"},
++ {file = "yarl-1.6.3-cp36-cp36m-win_amd64.whl", hash = "sha256:b2e9a456c121e26d13c29251f8267541bd75e6a1ccf9e859179701c36a078643"},
++ {file = "yarl-1.6.3-cp37-cp37m-macosx_10_14_x86_64.whl", hash = "sha256:ce3beb46a72d9f2190f9e1027886bfc513702d748047b548b05dab7dfb584d2e"},
++ {file = "yarl-1.6.3-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:2ce4c621d21326a4a5500c25031e102af589edb50c09b321049e388b3934eec3"},
++ {file = "yarl-1.6.3-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:d26608cf178efb8faa5ff0f2d2e77c208f471c5a3709e577a7b3fd0445703ac8"},
++ {file = "yarl-1.6.3-cp37-cp37m-manylinux2014_i686.whl", hash = "sha256:4c5bcfc3ed226bf6419f7a33982fb4b8ec2e45785a0561eb99274ebbf09fdd6a"},
++ {file = "yarl-1.6.3-cp37-cp37m-manylinux2014_ppc64le.whl", hash = "sha256:4736eaee5626db8d9cda9eb5282028cc834e2aeb194e0d8b50217d707e98bb5c"},
++ {file = "yarl-1.6.3-cp37-cp37m-manylinux2014_s390x.whl", hash = "sha256:68dc568889b1c13f1e4745c96b931cc94fdd0defe92a72c2b8ce01091b22e35f"},
++ {file = "yarl-1.6.3-cp37-cp37m-manylinux2014_x86_64.whl", hash = "sha256:7356644cbed76119d0b6bd32ffba704d30d747e0c217109d7979a7bc36c4d970"},
++ {file = "yarl-1.6.3-cp37-cp37m-win32.whl", hash = "sha256:00d7ad91b6583602eb9c1d085a2cf281ada267e9a197e8b7cae487dadbfa293e"},
++ {file = "yarl-1.6.3-cp37-cp37m-win_amd64.whl", hash = "sha256:69ee97c71fee1f63d04c945f56d5d726483c4762845400a6795a3b75d56b6c50"},
++ {file = "yarl-1.6.3-cp38-cp38-macosx_10_14_x86_64.whl", hash = "sha256:e46fba844f4895b36f4c398c5af062a9808d1f26b2999c58909517384d5deda2"},
++ {file = "yarl-1.6.3-cp38-cp38-manylinux1_i686.whl", hash = "sha256:31ede6e8c4329fb81c86706ba8f6bf661a924b53ba191b27aa5fcee5714d18ec"},
++ {file = "yarl-1.6.3-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:fcbb48a93e8699eae920f8d92f7160c03567b421bc17362a9ffbbd706a816f71"},
++ {file = "yarl-1.6.3-cp38-cp38-manylinux2014_i686.whl", hash = "sha256:72a660bdd24497e3e84f5519e57a9ee9220b6f3ac4d45056961bf22838ce20cc"},
++ {file = "yarl-1.6.3-cp38-cp38-manylinux2014_ppc64le.whl", hash = "sha256:324ba3d3c6fee56e2e0b0d09bf5c73824b9f08234339d2b788af65e60040c959"},
++ {file = "yarl-1.6.3-cp38-cp38-manylinux2014_s390x.whl", hash = "sha256:e6b5460dc5ad42ad2b36cca524491dfcaffbfd9c8df50508bddc354e787b8dc2"},
++ {file = "yarl-1.6.3-cp38-cp38-manylinux2014_x86_64.whl", hash = "sha256:6d6283d8e0631b617edf0fd726353cb76630b83a089a40933043894e7f6721e2"},
++ {file = "yarl-1.6.3-cp38-cp38-win32.whl", hash = "sha256:9ede61b0854e267fd565e7527e2f2eb3ef8858b301319be0604177690e1a3896"},
++ {file = "yarl-1.6.3-cp38-cp38-win_amd64.whl", hash = "sha256:f0b059678fd549c66b89bed03efcabb009075bd131c248ecdf087bdb6faba24a"},
++ {file = "yarl-1.6.3-cp39-cp39-macosx_10_14_x86_64.whl", hash = "sha256:329412812ecfc94a57cd37c9d547579510a9e83c516bc069470db5f75684629e"},
++ {file = "yarl-1.6.3-cp39-cp39-manylinux1_i686.whl", hash = "sha256:c49ff66d479d38ab863c50f7bb27dee97c6627c5fe60697de15529da9c3de724"},
++ {file = "yarl-1.6.3-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:f040bcc6725c821a4c0665f3aa96a4d0805a7aaf2caf266d256b8ed71b9f041c"},
++ {file = "yarl-1.6.3-cp39-cp39-manylinux2014_i686.whl", hash = "sha256:d5c32c82990e4ac4d8150fd7652b972216b204de4e83a122546dce571c1bdf25"},
++ {file = "yarl-1.6.3-cp39-cp39-manylinux2014_ppc64le.whl", hash = "sha256:d597767fcd2c3dc49d6eea360c458b65643d1e4dbed91361cf5e36e53c1f8c96"},
++ {file = "yarl-1.6.3-cp39-cp39-manylinux2014_s390x.whl", hash = "sha256:8aa3decd5e0e852dc68335abf5478a518b41bf2ab2f330fe44916399efedfae0"},
++ {file = "yarl-1.6.3-cp39-cp39-manylinux2014_x86_64.whl", hash = "sha256:73494d5b71099ae8cb8754f1df131c11d433b387efab7b51849e7e1e851f07a4"},
++ {file = "yarl-1.6.3-cp39-cp39-win32.whl", hash = "sha256:5b883e458058f8d6099e4420f0cc2567989032b5f34b271c0827de9f1079a424"},
++ {file = "yarl-1.6.3-cp39-cp39-win_amd64.whl", hash = "sha256:4953fb0b4fdb7e08b2f3b3be80a00d28c5c8a2056bb066169de00e6501b986b6"},
++ {file = "yarl-1.6.3.tar.gz", hash = "sha256:8a9066529240171b68893d60dca86a763eae2139dd42f42106b03cf4b426bf10"},
]
diff --cc pyproject.toml
index 2e9185e95a,822246c224..8693cfbc08
--- a/pyproject.toml
+++ b/pyproject.toml
@@@ -67,10 -67,8 +67,10 @@@ pytimeparse = "^1.1.8
django-redis = "^4.12.1"
Adyen = "^3.0.0"
google-cloud-pubsub = ">=1.7,<3.0"
- uvicorn = ">=0.11.8,<0.13.0"
+ uvicorn = {extras = ["standard"], version = "^0.12.2"}
gunicorn = "^20.0.4"
+pybars3 = "^0.9.7"
+html2text = "^2020.1.16"
[tool.poetry.dev-dependencies]
black = "19.10b0"
diff --cc requirements.txt
index b0d5f1b22e,2a33341493..b6bf60cff7
--- a/requirements.txt
+++ b/requirements.txt
@@@ -1,25 -1,27 +1,27 @@@
- adyen==3.0.0
- amqp==5.0.1; python_version >= "3.6"
+ adyen==3.1.0
-amqp==5.0.1; python_version >= "3.6"
++amqp==5.0.2; python_version >= "3.6"
aniso8601==7.0.0
--asgiref==3.2.10; python_version >= "3.6"
- babel==2.8.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
++asgiref==3.3.1; python_version >= "3.6"
+ babel==2.9.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
beautifulsoup4==4.7.1
billiard==3.6.3.0; python_version >= "3.6"
- boto3==1.15.18
- botocore==1.18.18
- braintree==4.4.0
- cachetools==4.1.1; python_version >= "3.5" and python_version < "4.0" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.4.0")
- cairocffi==1.1.0; python_version >= "3.5"
- cairosvg==2.4.2; python_version >= "3.5"
- celery==5.0.1; python_version >= "3.6"
- certifi==2020.6.20; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
- cffi==1.14.2; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.5.0"
-boto3==1.16.30
-botocore==1.19.30
++boto3==1.16.31
++botocore==1.19.31
+ braintree==4.5.0
+ cachetools==4.1.1; python_version >= "3.5" and python_version < "4.0" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0")
-cairocffi==1.1.0; python_version >= "3.6"
-cairosvg==2.4.2; python_version >= "3.6"
-celery==5.0.2; python_version >= "3.6"
-certifi==2020.6.20; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
-cffi==1.14.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0"
++cairocffi==1.2.0; python_version >= "3.6"
++cairosvg==2.5.0; python_version >= "3.6"
++celery==5.0.4; python_version >= "3.6"
++certifi==2020.12.5; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
++cffi==1.14.4; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0"
chardet==3.0.4; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
click-didyoumean==0.0.3; python_version >= "3.6"
+ click-plugins==1.1.1; python_version >= "3.6"
click-repl==0.1.6; python_version >= "3.6"
click==7.1.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
- cssselect2==0.3.0; python_version >= "3.5"
- defusedxml==0.6.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
-colorama==0.4.3; python_version >= "2.7" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_full_version >= "3.5.0"
-cssselect2==0.3.0; python_version >= "3.6"
++colorama==0.4.4; python_version >= "2.7" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_full_version >= "3.5.0"
++cssselect2==0.4.1; python_version >= "3.6"
+ defusedxml==0.6.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
dj-database-url==0.5.0
dj-email-url==1.0.1
django-appconf==1.0.4
@@@ -34,7 -36,7 +36,7 @@@ django-prices-openexchangerates==1.1.
django-prices-vatlayer==1.1.0
django-prices==2.2.0
django-redis==4.12.1; python_version >= "3.5"
--django-render-block==0.7; python_version >= "3.5"
++django-render-block==0.8.1; python_version >= "3.5"
django-storages==1.10.1; python_version >= "3.5"
django-templated-email==2.3.0
django-versatileimagefield==2.0
@@@ -42,17 -44,17 +44,17 @@@ django==3.1.4; python_version >= "3.6
draftjs-sanitizer==1.0.0
enmerkar==0.7.1
et-xmlfile==1.0.1; python_version >= "3.6"
- faker==4.14.0; python_version >= "3.5"
-faker==4.17.1; python_version >= "3.5"
++faker==4.18.0; python_version >= "3.5"
freezegun==0.3.15; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
- google-api-core==1.22.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
- google-auth==1.21.3; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.4.0"
- google-cloud-core==1.4.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.4.0"
- google-cloud-pubsub==2.1.0; python_version >= "3.6"
- google-cloud-storage==1.31.2; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
- google-crc32c==1.0.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.5.0"
-google-api-core==1.22.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6"
-google-auth==1.21.3; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0"
-google-cloud-core==1.4.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"
++google-api-core==1.23.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6"
++google-auth==1.23.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0"
++google-cloud-core==1.4.4; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"
+ google-cloud-pubsub==2.2.0; python_version >= "3.6"
+ google-cloud-storage==1.33.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.6.0")
+ google-crc32c==1.0.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"
google-i18n-address==2.4.0
google-measurement-protocol==1.1.0
- google-resumable-media==1.0.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.5.0"
-google-resumable-media==1.0.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"
++google-resumable-media==1.1.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"
googleapis-common-protos==1.52.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
graphene-django==2.13.0
graphene-federation==0.1.0
@@@ -60,78 -62,80 +62,83 @@@ graphene==2.1.
graphql-core==2.3.2
graphql-relay==2.0.1
grpc-google-iam-v1==0.12.3; python_version >= "3.6"
--grpcio==1.31.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
++grpcio==1.34.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
gunicorn==20.0.4; python_version >= "3.4"
--h11==0.9.0
++h11==0.11.0
html-to-draftjs==1.0.1
+html2text==2020.1.16; python_version >= "3.5"
- html5lib==1.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
+ html5lib==1.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
+ httptools==0.1.1; sys_platform != "win32" and sys_platform != "cygwin" and platform_python_implementation != "PyPy"
idna==2.10; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
jaeger-client==4.3.0
jdcal==1.4.1; python_version >= "3.6"
jmespath==0.10.0; python_version >= "2.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0"
jsonfield==3.1.0; python_version >= "3.6"
kombu==5.0.2; python_version >= "3.6"
--libcst==0.3.10; python_version >= "3.6"
--lxml==4.5.2; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
- markdown==3.3.1; python_version >= "3.6"
++libcst==0.3.15; python_version >= "3.6"
++lxml==4.6.2; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
+ markdown==3.3.3; python_version >= "3.6"
maxminddb-geolite2==2018.703
maxminddb==2.0.3; python_version >= "3.6"
measurement==3.2.0
--mpmath==1.1.0; python_version >= "3.5"
++mpmath==1.1.0; python_version >= "3.6"
mypy-extensions==0.4.3; python_version >= "3.6"
oauthlib==3.1.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
openpyxl==3.0.5; python_version >= "3.6"
- opentracing==2.3.0
+ opentracing==2.4.0
petl==1.6.8; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
- phonenumberslite==8.12.11
- pillow==7.2.0; python_version >= "3.5"
+ phonenumberslite==8.12.14
-pillow==7.2.0; python_version >= "3.6"
++pillow==8.0.1; python_version >= "3.6"
prices==1.1.0
promise==2.3
--prompt-toolkit==3.0.7; python_full_version >= "3.6.1" and python_version >= "3.6"
--proto-plus==1.9.1; python_version >= "3.6"
--protobuf==3.13.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
++prompt-toolkit==3.0.8; python_full_version >= "3.6.1" and python_version >= "3.6"
++proto-plus==1.13.0; python_version >= "3.6"
++protobuf==3.14.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
psycopg2-binary==2.8.6; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
purl==1.5
- pyasn1-modules==0.2.8; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.4.0"
- pyasn1==0.4.8; python_version >= "3.5" and python_full_version < "3.0.0" and python_version < "4" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.4.0") or python_version >= "3.5" and python_full_version >= "3.4.0" and python_version < "4" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.4.0")
+ pyasn1-modules==0.2.8; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"
+ pyasn1==0.4.8; python_version >= "3.5" and python_full_version < "3.0.0" and python_version < "4" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0") or python_version >= "3.5" and python_full_version >= "3.6.0" and python_version < "4" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0")
+pybars3==0.9.7
- pycparser==2.20; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5"
+ pycparser==2.20; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
pyjwt==1.7.1
-pyphen==0.9.5; python_version >= "3.6"
+pymeta3==0.5.1
- pyphen==0.9.5; python_version >= "3.5"
++pyphen==0.10.0; python_version >= "3.6"
python-dateutil==2.8.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
-python-dotenv==0.14.0
++python-dotenv==0.15.0
python-json-logger==2.0.1; python_version >= "3.4"
python-magic-bin==0.4.14; sys_platform == "win32"
python-magic==0.4.18; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
pytimeparse==1.1.8
--pytz==2020.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
++pytz==2020.4; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
pyyaml==5.3.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
razorpay==1.2.0
redis==3.5.3; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.5.0"
- requests==2.24.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
- rsa==4.6; python_version >= "3.5" and python_version < "4" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.4.0")
+ requests==2.25.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
+ rsa==4.6; python_version >= "3.5" and python_version < "4" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0")
rx==1.6.1
s3transfer==0.3.3
--sentry-sdk==0.17.3
++sentry-sdk==0.19.4
singledispatch==3.4.0.3
six==1.15.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
soupsieve==2.0.1; python_version >= "3.5"
--sqlparse==0.3.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
- stripe==2.55.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
- sympy==1.6.2; python_version >= "3.5"
++sqlparse==0.4.1; python_version >= "3.6"
+ stripe==2.55.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
-sympy==1.6.2; python_version >= "3.5"
++sympy==1.7; python_version >= "3.6"
text-unidecode==1.3
threadloop==1.0.2
thrift==0.13.0
- tinycss2==1.0.2; python_version >= "3.5"
-tinycss2==1.0.2; python_version >= "3.6"
--tornado==6.0.4; python_version >= "3.5"
- tqdm==4.50.2; (python_version >= "2.6" and python_full_version < "3.0.0") or (python_full_version >= "3.2.0")
++tinycss2==1.1.0; python_version >= "3.6"
++tornado==6.1; python_version >= "3.5"
+ tqdm==4.54.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
typing-extensions==3.7.4.3; python_version >= "3.6"
typing-inspect==0.6.0; python_version >= "3.6"
unidecode==1.1.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0"
--urllib3==1.25.10; python_version >= "2.7" and python_full_version < "3.0.0" and python_version != "3.4" or python_full_version >= "3.5.0" and python_version < "4" and python_version != "3.4"
- uvicorn==0.12.1
++urllib3==1.26.2; python_version >= "2.7" and python_full_version < "3.0.0" and python_version != "3.4" or python_full_version >= "3.5.0" and python_version < "4" and python_version != "3.4"
+ uvicorn==0.12.3
+ uvloop==0.14.0; sys_platform != "win32" and sys_platform != "cygwin" and platform_python_implementation != "PyPy"
vine==5.0.0; python_version >= "3.6"
+ watchgod==0.6; python_version >= "3.5"
wcwidth==0.2.5; python_full_version >= "3.6.1" and python_version >= "3.6"
- weasyprint==51; python_version >= "3.5"
- webencodings==0.5.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
+ weasyprint==52.2; python_version >= "3.6"
+ webencodings==0.5.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
+ websockets==8.1; python_full_version >= "3.6.1"
diff --cc requirements_dev.txt
index f897f8ea48,017d628ed3..8583bbbb54
--- a/requirements_dev.txt
+++ b/requirements_dev.txt
@@@ -1,26 -1,26 +1,26 @@@
- adyen==3.0.0
- amqp==5.0.1; python_version >= "3.6"
+ adyen==3.1.0
-amqp==5.0.1; python_version >= "3.6"
++amqp==5.0.2; python_version >= "3.6"
aniso8601==7.0.0
apipkg==1.5; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
appdirs==1.4.4; python_version >= "3.6" and python_full_version >= "3.6.1"
--asgiref==3.2.10; python_version >= "3.6"
++asgiref==3.3.1; python_version >= "3.6"
astroid==2.4.2; python_version >= "3.5"
atomicwrites==1.4.0; python_version >= "3.5" and python_full_version < "3.0.0" and sys_platform == "win32" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5") or sys_platform == "win32" and python_version >= "3.5" and python_full_version >= "3.4.0" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5")
--attrs==20.1.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
- babel==2.8.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
++attrs==20.3.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
+ babel==2.9.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
beautifulsoup4==4.7.1
beautifultable==0.7.0
billiard==3.6.3.0; python_version >= "3.6"
black==19.10b0; python_version >= "3.6"
- boto3==1.15.18
- botocore==1.18.18
- braintree==4.4.0
- cachetools==4.1.1; python_version >= "3.5" and python_version < "4.0" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.4.0")
- cairocffi==1.1.0; python_version >= "3.5"
- cairosvg==2.4.2; python_version >= "3.5"
- celery==5.0.1; python_version >= "3.6"
- certifi==2020.6.20; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
- cffi==1.14.2; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.5.0"
-boto3==1.16.30
-botocore==1.19.30
++boto3==1.16.31
++botocore==1.19.31
+ braintree==4.5.0
+ cachetools==4.1.1; python_version >= "3.5" and python_version < "4.0" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0")
-cairocffi==1.1.0; python_version >= "3.6"
-cairosvg==2.4.2; python_version >= "3.6"
-celery==5.0.2; python_version >= "3.6"
-certifi==2020.6.20; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
-cffi==1.14.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0"
++cairocffi==1.2.0; python_version >= "3.6"
++cairosvg==2.5.0; python_version >= "3.6"
++celery==5.0.4; python_version >= "3.6"
++certifi==2020.12.5; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
++cffi==1.14.4; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0"
cfgv==3.2.0; python_full_version >= "3.6.1"
chardet==3.0.4; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
click-didyoumean==0.0.3; python_version >= "3.6"
@@@ -27,10 -28,10 +28,10 @@@ click-plugins==1.1.1; python_version >
click-repl==0.1.6; python_version >= "3.6"
click==7.1.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
codecov==2.1.10; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
- colorama==0.4.3; python_version >= "3.5" and python_full_version < "3.0.0" and sys_platform == "win32" and platform_system == "Windows" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5") or sys_platform == "win32" and python_version >= "3.5" and python_full_version >= "3.5.0" and platform_system == "Windows" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5")
-colorama==0.4.3; python_version >= "3.5" and python_full_version < "3.0.0" and sys_platform == "win32" and platform_system == "Windows" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5") or sys_platform == "win32" and python_full_version >= "3.5.0" and python_version >= "3.5" and platform_system == "Windows" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5")
++colorama==0.4.4; python_version >= "3.5" and python_full_version < "3.0.0" and sys_platform == "win32" and platform_system == "Windows" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5") or sys_platform == "win32" and python_full_version >= "3.5.0" and python_version >= "3.5" and platform_system == "Windows" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5")
coverage==5.3; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0" and python_version < "4")
- cssselect2==0.3.0; python_version >= "3.5"
- defusedxml==0.6.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
-cssselect2==0.3.0; python_version >= "3.6"
++cssselect2==0.4.1; python_version >= "3.6"
+ defusedxml==0.6.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
distlib==0.3.1; python_full_version >= "3.6.1"
dj-database-url==0.5.0
dj-email-url==1.0.1
@@@ -50,7 -51,7 +51,7 @@@ django-prices-openexchangerates==1.1.
django-prices-vatlayer==1.1.0
django-prices==2.2.0
django-redis==4.12.1; python_version >= "3.5"
--django-render-block==0.7; python_version >= "3.5"
++django-render-block==0.8.1; python_version >= "3.5"
django-storages==1.10.1; python_version >= "3.5"
django-stubs==1.2.0; python_version >= "3.6"
django-templated-email==2.3.0
@@@ -60,21 -61,21 +61,21 @@@ draftjs-sanitizer==1.0.
enmerkar==0.7.1
et-xmlfile==1.0.1; python_version >= "3.6"
execnet==1.7.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
- faker==4.14.0; python_version >= "3.5"
-faker==4.17.1; python_version >= "3.5"
++faker==4.18.0; python_version >= "3.5"
filelock==3.0.12; python_full_version >= "3.6.1"
flake8==3.8.4; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
freezegun==0.3.15; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
- gitdb==4.0.5; python_version >= "3.4" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version < "3.9" and python_version >= "3.4"
- gitpython==3.1.7; python_version >= "3.4" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version < "3.9" and python_version >= "3.4"
- google-api-core==1.22.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
- google-auth==1.21.3; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.4.0"
- google-cloud-core==1.4.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.4.0"
- google-cloud-pubsub==2.1.0; python_version >= "3.6"
- google-cloud-storage==1.31.2; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
- google-crc32c==1.0.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.5.0"
+ gitdb==4.0.5; python_version >= "3.4" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version < "3.10" and python_version >= "3.4"
-gitpython==3.1.7; python_version >= "3.4" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version < "3.10" and python_version >= "3.4"
-google-api-core==1.22.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6"
-google-auth==1.21.3; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0"
-google-cloud-core==1.4.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"
++gitpython==3.1.11; python_version >= "3.4" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version < "3.10" and python_version >= "3.4"
++google-api-core==1.23.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6"
++google-auth==1.23.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0"
++google-cloud-core==1.4.4; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"
+ google-cloud-pubsub==2.2.0; python_version >= "3.6"
+ google-cloud-storage==1.33.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.6.0")
+ google-crc32c==1.0.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"
google-i18n-address==2.4.0
google-measurement-protocol==1.1.0
- google-resumable-media==1.0.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.5.0"
-google-resumable-media==1.0.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"
++google-resumable-media==1.1.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"
googleapis-common-protos==1.52.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
graphene-django==2.13.0
graphene-federation==0.1.0
@@@ -82,15 -83,15 +83,16 @@@ graphene==2.1.
graphql-core==2.3.2
graphql-relay==2.0.1
grpc-google-iam-v1==0.12.3; python_version >= "3.6"
--grpcio==1.31.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
++grpcio==1.34.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
gunicorn==20.0.4; python_version >= "3.4"
--h11==0.9.0
++h11==0.11.0
html-to-draftjs==1.0.1
+html2text==2020.1.16; python_version >= "3.5"
- html5lib==1.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
- identify==1.4.30; python_full_version >= "3.6.1"
+ html5lib==1.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
+ httptools==0.1.1; sys_platform != "win32" and sys_platform != "cygwin" and platform_python_implementation != "PyPy"
-identify==1.4.30; python_full_version >= "3.6.1"
++identify==1.5.10; python_full_version >= "3.6.1"
idna==2.10; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
--iniconfig==1.0.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
++iniconfig==1.1.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
isort==4.3.21; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
jaeger-client==4.3.0
jdcal==1.4.1; python_version >= "3.6"
@@@ -99,42 -100,41 +101,42 @@@ jmespath==0.10.0; python_version >= "2.
jsonfield==3.1.0; python_version >= "3.6"
kombu==5.0.2; python_version >= "3.6"
lazy-object-proxy==1.4.3; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5"
--libcst==0.3.10; python_version >= "3.6"
--lxml==4.5.2; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
- markdown==3.3.1; python_version >= "3.6"
++libcst==0.3.15; python_version >= "3.6"
++lxml==4.6.2; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
+ markdown==3.3.3; python_version >= "3.6"
markupsafe==1.1.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
maxminddb-geolite2==2018.703
maxminddb==2.0.3; python_version >= "3.6"
mccabe==0.6.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5"
measurement==3.2.0
--mpmath==1.1.0; python_version >= "3.5"
--multidict==4.7.6; python_version >= "3.6"
++mpmath==1.1.0; python_version >= "3.6"
++multidict==5.1.0; python_version >= "3.6"
mypy-extensions==0.4.3; python_version >= "3.6"
mypy==0.740; python_version >= "3.5"
nodeenv==1.5.0; python_full_version >= "3.6.1"
oauthlib==3.1.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
openpyxl==3.0.5; python_version >= "3.6"
- opentracing==2.3.0
- packaging==20.4; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
- pathspec==0.8.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
+ opentracing==2.4.0
-packaging==20.4; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
-pathspec==0.8.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
++packaging==20.7; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
++pathspec==0.8.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
petl==1.6.8; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
- phonenumberslite==8.12.11
- pillow==7.2.0; python_version >= "3.5"
+ phonenumberslite==8.12.14
-pillow==7.2.0; python_version >= "3.6"
++pillow==8.0.1; python_version >= "3.6"
pluggy==0.13.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
- pre-commit==2.7.1; python_full_version >= "3.6.1"
-pre-commit==2.9.2; python_full_version >= "3.6.1"
++pre-commit==2.9.3; python_full_version >= "3.6.1"
prices==1.1.0
promise==2.3
--prompt-toolkit==3.0.7; python_full_version >= "3.6.1" and python_version >= "3.6"
--proto-plus==1.9.1; python_version >= "3.6"
--protobuf==3.13.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
++prompt-toolkit==3.0.8; python_full_version >= "3.6.1" and python_version >= "3.6"
++proto-plus==1.13.0; python_version >= "3.6"
++protobuf==3.14.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
psycopg2-binary==2.8.6; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
purl==1.5
py==1.9.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
- pyasn1-modules==0.2.8; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.4.0"
- pyasn1==0.4.8; python_version >= "3.5" and python_full_version < "3.0.0" and python_version < "4" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.4.0") or python_version >= "3.5" and python_full_version >= "3.4.0" and python_version < "4" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.4.0")
+ pyasn1-modules==0.2.8; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"
+ pyasn1==0.4.8; python_version >= "3.5" and python_full_version < "3.0.0" and python_version < "4" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0") or python_version >= "3.5" and python_full_version >= "3.6.0" and python_version < "4" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0")
+pybars3==0.9.7
pycodestyle==2.6.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
- pycparser==2.20; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5"
+ pycparser==2.20; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
pydocstyle==5.1.1; python_version >= "3.5"
pyflakes==2.2.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0"
pyjwt==1.7.1
@@@ -142,9 -142,8 +144,9 @@@ pylint-celery==0.
pylint-django==2.3.0
pylint-plugin-utils==0.6
pylint==2.6.0; python_version >= "3.5"
+pymeta3==0.5.1
pyparsing==2.4.7; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5"
- pyphen==0.9.5; python_version >= "3.5"
-pyphen==0.9.5; python_version >= "3.6"
++pyphen==0.10.0; python_version >= "3.6"
pytest-celery==0.0.0a1
pytest-cov==2.10.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
pytest-django-queries==1.1.0
@@@ -153,52 -152,56 +155,56 @@@ pytest-forked==1.3.0; python_version >
pytest-mock==3.3.1; python_version >= "3.5"
pytest-vcr==1.0.2
pytest-xdist==1.34.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
- pytest==6.1.1; python_version >= "3.5"
+ pytest==6.1.2; python_version >= "3.5"
python-dateutil==2.8.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
-python-dotenv==0.14.0
++python-dotenv==0.15.0
python-json-logger==2.0.1; python_version >= "3.4"
python-magic-bin==0.4.14; sys_platform == "win32"
python-magic==0.4.18; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
- python-slugify==4.0.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version < "3.9"
+ python-slugify==4.0.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version < "3.10"
pytimeparse==1.1.8
--pytz==2020.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
++pytz==2020.4; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
pywatchman==1.4.1
- pyyaml==5.3.1; python_full_version >= "3.6.1" and python_version >= "3.6" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5")
+ pyyaml==5.3.1; python_full_version >= "3.6.1" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6") and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5")
razorpay==1.2.0
redis==3.5.3; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.5.0"
--regex==2020.7.14; python_version >= "3.6"
- requests==2.24.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
- rsa==4.6; python_version >= "3.5" and python_version < "4" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.4.0")
++regex==2020.11.13; python_version >= "3.6"
+ requests==2.25.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
+ rsa==4.6; python_version >= "3.5" and python_version < "4" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0")
rx==1.6.1
s3transfer==0.3.3
--sentry-sdk==0.17.3
++sentry-sdk==0.19.4
singledispatch==3.4.0.3
- six==1.15.0; python_full_version >= "3.6.1" and python_version < "3.9" and python_version >= "3.6" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.5") and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5") and (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0") and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6")
- smmap==3.0.4; python_version >= "3.4" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version < "3.9" and python_version >= "3.4"
-six==1.15.0; python_full_version >= "3.6.1" and python_version < "3.10" and python_version >= "3.6" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.5") and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5") and (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0") and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6")
++six==1.15.0; python_full_version >= "3.6.1" and python_version < "3.10" and python_version >= "3.6" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.5") and (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0") and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6")
+ smmap==3.0.4; python_version >= "3.4" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version < "3.10" and python_version >= "3.4"
snowballstemmer==2.0.0; python_version >= "3.5"
soupsieve==2.0.1; python_version >= "3.5"
--sqlparse==0.3.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
- stripe==2.55.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
- sympy==1.6.2; python_version >= "3.5"
++sqlparse==0.4.1; python_version >= "3.6"
+ stripe==2.55.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
-sympy==1.6.2; python_version >= "3.5"
++sympy==1.7; python_version >= "3.6"
text-unidecode==1.3
threadloop==1.0.2
thrift==0.13.0
- tinycss2==1.0.2; python_version >= "3.5"
-tinycss2==1.0.2; python_version >= "3.6"
--toml==0.10.1; python_version >= "3.6" and python_full_version >= "3.6.1" and (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0") and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5")
--tornado==6.0.4; python_version >= "3.5"
++tinycss2==1.1.0; python_version >= "3.6"
++toml==0.10.2; python_full_version >= "3.6.1" and python_version >= "3.6" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.5") and (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0") and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5")
++tornado==6.1; python_version >= "3.5"
tox==3.20.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
- tqdm==4.50.2; (python_version >= "2.6" and python_full_version < "3.0.0") or (python_full_version >= "3.2.0")
- transifex-client==0.13.12; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0" and python_version < "3.9")
+ tqdm==4.54.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
+ transifex-client==0.14.2; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0" and python_version < "3.10")
typed-ast==1.4.1; python_version >= "3.6"
typing-extensions==3.7.4.3; python_version >= "3.6"
typing-inspect==0.6.0; python_version >= "3.6"
unidecode==1.1.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0"
- urllib3==1.25.10; python_version >= "2.7" and python_full_version < "3.0.0" and python_version != "3.4" or python_full_version >= "3.5.0" and python_version < "3.9" and python_version != "3.4"
- uvicorn==0.12.1
- vcrpy==4.1.0; python_version >= "3.5"
-urllib3==1.25.10; python_version >= "2.7" and python_full_version < "3.0.0" and python_version != "3.4" or python_full_version >= "3.5.0" and python_version < "3.10" and python_version != "3.4"
++urllib3==1.26.2; python_version >= "2.7" and python_full_version < "3.0.0" and python_version != "3.4" or python_full_version >= "3.5.0" and python_version < "3.10" and python_version != "3.4"
+ uvicorn==0.12.3
+ uvloop==0.14.0; sys_platform != "win32" and sys_platform != "cygwin" and platform_python_implementation != "PyPy"
-vcrpy==4.1.0; python_version >= "3.5"
++vcrpy==4.1.1; python_version >= "3.5"
vine==5.0.0; python_version >= "3.6"
--virtualenv==20.0.31; python_full_version >= "3.6.1"
++virtualenv==20.2.2; python_full_version >= "3.6.1"
+ watchgod==0.6; python_version >= "3.5"
wcwidth==0.2.5; python_full_version >= "3.6.1" and python_version >= "3.6"
- weasyprint==51; python_version >= "3.5"
- webencodings==0.5.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
+ weasyprint==52.2; python_version >= "3.6"
+ webencodings==0.5.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
+ websockets==8.1; python_full_version >= "3.6.1"
wrapt==1.12.1; python_version >= "3.5"
--yarl==1.5.1; python_version >= "3.6"
++yarl==1.6.3; python_version >= "3.6"
diff --cc saleor/checkout/complete_checkout.py
index 8b898b7bc9,89120f8a43..53386c6af9
--- a/saleor/checkout/complete_checkout.py
+++ b/saleor/checkout/complete_checkout.py
@@@ -25,9 -27,10 +27,10 @@@ from ..discount.utils import
increase_voucher_usage,
remove_voucher_usage_by_customer,
)
+ from ..order import OrderStatus
from ..order.actions import order_created
-from ..order.emails import send_order_confirmation, send_staff_order_confirmation
from ..order.models import Order, OrderLine
+from ..order.notifications import send_order_confirmation, send_staff_order_confirmation
from ..payment import PaymentError, gateway
from ..payment.models import Payment, Transaction
from ..payment.utils import store_customer_id
diff --cc saleor/core/notify_events.py
index 64a86ec823,0000000000..7c329e7d5d
mode 100644,000000..100644
--- a/saleor/core/notify_events.py
+++ b/saleor/core/notify_events.py
@@@ -1,48 -1,0 +1,50 @@@
+class UserNotifyEvent:
+ ACCOUNT_CONFIRMATION = "account_confirmation"
+ ACCOUNT_PASSWORD_RESET = "account_password_reset"
+ ACCOUNT_CHANGE_EMAIL_REQUEST = "account_change_email_request"
+ ACCOUNT_CHANGE_EMAIL_CONFIRM = "account_change_email_confirm"
+ ACCOUNT_DELETE = "account_delete"
+ ACCOUNT_SET_CUSTOMER_PASSWORD = "account_set_customer_password"
+ INVOICE_READY = "invoice_ready"
+ ORDER_CONFIRMATION = "order_confirmation"
++ ORDER_CONFIRMED = "order_confirmed"
+ ORDER_FULFILLMENT_CONFIRMATION = "order_fulfillment_confirmation"
+ ORDER_FULFILLMENT_UPDATE = "order_fulfillment_update"
+ ORDER_PAYMENT_CONFIRMATION = "order_payment_confirmation"
+ ORDER_CANCELED = "order_canceled"
+ ORDER_REFUND_CONFIRMATION = "order_refund_confirmation"
+
+ CHOICES = [
+ ACCOUNT_CONFIRMATION,
+ ACCOUNT_PASSWORD_RESET,
+ ACCOUNT_CHANGE_EMAIL_REQUEST,
+ ACCOUNT_CHANGE_EMAIL_CONFIRM,
+ ACCOUNT_DELETE,
+ ACCOUNT_SET_CUSTOMER_PASSWORD,
+ INVOICE_READY,
+ ORDER_CONFIRMATION,
++ ORDER_CONFIRMED,
+ ORDER_FULFILLMENT_CONFIRMATION,
+ ORDER_FULFILLMENT_UPDATE,
+ ORDER_PAYMENT_CONFIRMATION,
+ ORDER_CANCELED,
+ ORDER_REFUND_CONFIRMATION,
+ ]
+
+
+class AdminNotifyEvent:
+ ACCOUNT_SET_STAFF_PASSWORD = "account_set_staff_password"
+ CSV_PRODUCT_EXPORT_SUCCESS = "csv_export_products_success"
+ CSV_EXPORT_FAILED = "csv_export_failed"
+ STAFF_ORDER_CONFIRMATION = "staff_order_confirmation"
+
+ CHOICES = [
+ ACCOUNT_SET_STAFF_PASSWORD,
+ CSV_PRODUCT_EXPORT_SUCCESS,
+ CSV_EXPORT_FAILED,
+ STAFF_ORDER_CONFIRMATION,
+ ]
+
+
+class NotifyEventType(UserNotifyEvent, AdminNotifyEvent):
+ CHOICES = UserNotifyEvent.CHOICES + AdminNotifyEvent.CHOICES
diff --cc saleor/csv/tests/export/test_export.py
index 8ce3851802,a273cdde0e..3f7e516d9f
--- a/saleor/csv/tests/export/test_export.py
+++ b/saleor/csv/tests/export/test_export.py
@@@ -114,9 -120,9 +116,9 @@@ def test_export_products_ids
@patch("saleor.csv.utils.export.create_file_with_headers")
@patch("saleor.csv.utils.export.export_products_in_batches")
-@patch("saleor.csv.utils.export.send_email_with_link_to_download_file")
+@patch("saleor.csv.utils.export.send_export_download_link_notification")
@patch("saleor.csv.utils.export.save_csv_file_in_export_file")
- def test_export_products_filter(
+ def test_export_products_filter_is_published(
save_file_mock,
send_email_mock,
export_products_in_batches_mock,
@@@ -146,18 -157,73 +153,69 @@@
create_file_with_headers_mock.assert_called_once_with(["id"], ";", file_type)
assert export_products_in_batches_mock.call_count == 1
- args, kwargs = export_products_in_batches_mock.call_args
+ args, _ = export_products_in_batches_mock.call_args
assert set(args[0].values_list("pk", flat=True)) == set(
- Product.objects.filter(is_published=True).values_list("pk", flat=True)
+ Product.objects.filter(
+ channel_listings__is_published=True, channel_listings__channel=channel_USD
+ ).values_list("pk", flat=True)
)
assert args[1:] == (export_info, {"id"}, ["id"], ";", mock_file, file_type,)
- send_email_mock.assert_called_once_with(
- user_export_file, user_export_file.user.email, "export_products_success"
- )
+ send_email_mock.assert_called_once_with(user_export_file)
save_file_mock.assert_called_once_with(user_export_file, mock_file, ANY)
+ @patch("saleor.csv.utils.export.create_file_with_headers")
+ @patch("saleor.csv.utils.export.export_products_in_batches")
-@patch("saleor.csv.utils.export.send_email_with_link_to_download_file")
++@patch("saleor.csv.utils.export.send_export_download_link_notification")
+ @patch("saleor.csv.utils.export.save_csv_file_in_export_file")
+ def test_export_products_filter_collections(
+ save_file_mock,
+ send_email_mock,
+ export_products_in_batches_mock,
+ create_file_with_headers_mock,
+ product_list,
+ user_export_file,
+ channel_USD,
+ collection,
+ ):
+ # given
+ collection.products.add(product_list[-1])
+
+ export_info = {"fields": [], "warehouses": [], "attributes": []}
+ file_type = FileTypes.CSV
+
+ assert user_export_file.status == JobStatus.PENDING
+ assert not user_export_file.content_file
+
+ mock_file = MagicMock(spec=File)
+ create_file_with_headers_mock.return_value = mock_file
+
+ # when
+ export_products(
+ user_export_file,
+ {
+ "filter": {
+ "collections": [graphene.Node.to_global_id("Collection", collection.pk)]
+ }
+ },
+ export_info,
+ file_type,
+ )
+
+ # then
+ create_file_with_headers_mock.assert_called_once_with(["id"], ";", file_type)
+
+ assert export_products_in_batches_mock.call_count == 1
+ batch_args, _ = export_products_in_batches_mock.call_args
+ assert set(batch_args[0].values_list("pk", flat=True)) == {product_list[-1].pk}
+ assert batch_args[1:] == (export_info, {"id"}, ["id"], ";", mock_file, file_type)
- send_email_mock.assert_called_once_with(
- user_export_file, user_export_file.user.email, "export_products_success"
- )
++ send_email_mock.assert_called_once_with(user_export_file)
+ save_file_mock.assert_called_once_with(user_export_file, mock_file, ANY)
+
+
@patch("saleor.csv.utils.export.create_file_with_headers")
@patch("saleor.csv.utils.export.export_products_in_batches")
-@patch("saleor.csv.utils.export.send_email_with_link_to_download_file")
+@patch("saleor.csv.utils.export.send_export_download_link_notification")
@patch("saleor.csv.utils.export.save_csv_file_in_export_file")
def test_export_products_by_app(
save_file_mock,
diff --cc saleor/csv/tests/test_tasks.py
index 21d355040d,1cd0831fa8..89894d7944
--- a/saleor/csv/tests/test_tasks.py
+++ b/saleor/csv/tests/test_tasks.py
@@@ -61,7 -63,9 +63,7 @@@ def test_on_task_failure(send_export_fa
"error_type": info_type,
}
- send_export_failed_info_mock.called_once_with(user_export_file, "export_failed")
- send_export_failed_info_mock.assert_called_once_with(
- user_export_file, user_export_file.user.email, "export_failed"
- )
++ send_export_failed_info_mock.assert_called_once_with(user_export_file)
@patch("saleor.csv.tasks.send_export_failed_info")
diff --cc saleor/csv/utils/export.py
index 36680af65a,5918022cf1..fd26e56b5f
--- a/saleor/csv/utils/export.py
+++ b/saleor/csv/utils/export.py
@@@ -6,8 -6,9 +6,9 @@@ from django.utils import timezon
from ...product.models import Product
from .. import FileTypes
-from ..emails import send_email_with_link_to_download_file
+from ..notifications import send_export_download_link_notification
- from .products_data import get_export_fields_and_headers_info, get_products_data
+ from .product_headers import get_export_fields_and_headers_info
+ from .products_data import get_products_data
if TYPE_CHECKING:
# flake8: noqa
diff --cc saleor/graphql/account/mutations/base.py
index 07564fd14b,87aa328e30..067de28a25
--- a/saleor/graphql/account/mutations/base.py
+++ b/saleor/graphql/account/mutations/base.py
@@@ -139,7 -138,17 +138,16 @@@ class RequestPasswordReset(BaseMutation
)
}
)
-
+ if not user.is_active:
+ raise ValidationError(
+ {
+ "email": ValidationError(
+ "User with this email is inactive",
+ code=AccountErrorCode.INACTIVE,
+ )
+ }
+ )
- send_user_password_reset_email_with_url(redirect_url, user)
+ send_user_password_reset_notification(redirect_url, user, info.context.plugins)
return RequestPasswordReset()
@@@ -428,26 -437,6 +436,6 @@@ class BaseCustomerCreate(ModelMutation
account_events.customer_account_created_event(user=instance)
if cleaned_input.get("redirect_url"):
- send_set_password_email_with_url(
- cleaned_input.get("redirect_url"), instance
+ send_set_password_notification(
+ cleaned_input.get("redirect_url"), instance, info.context.plugins
)
-
-
- class UserUpdateMeta(UpdateMetaBaseMutation):
- class Meta:
- description = "Updates metadata for user."
- model = models.User
- public = True
- error_type_class = AccountError
- error_type_field = "account_errors"
- permissions = (AccountPermissions.MANAGE_USERS,)
-
-
- class UserClearMeta(ClearMetaBaseMutation):
- class Meta:
- description = "Clear metadata for user."
- model = models.User
- public = True
- error_type_class = AccountError
- error_type_field = "account_errors"
- permissions = (AccountPermissions.MANAGE_USERS,)
diff --cc saleor/graphql/account/tests/test_account.py
index 1a8d9e8ec7,eb9574ae64..30dd5c05eb
--- a/saleor/graphql/account/tests/test_account.py
+++ b/saleor/graphql/account/tests/test_account.py
@@@ -11,9 -10,9 +11,8 @@@ from django.contrib.auth.models import
from django.contrib.auth.tokens import default_token_generator
from django.core.exceptions import ValidationError
from django.core.files import File
-from django.core.validators import URLValidator
from django.test import override_settings
from freezegun import freeze_time
- from prices import Money
from ....account import events as account_events
from ....account.error_codes import AccountErrorCode
@@@ -3186,12 -3169,33 +3295,33 @@@ def test_account_reset_password_invalid
content = get_graphql_content(response)
data = content["data"]["requestPasswordReset"]
assert len(data["errors"]) == 1
- assert not send_password_reset_email_mock.called
+ mocked_notify.assert_not_called()
-@patch("saleor.account.emails._send_password_reset_email")
++@patch("saleor.plugins.manager.PluginsManager.notify")
+ def test_account_reset_password_user_is_inactive(
- send_password_reset_email_mock, user_api_client, customer_user
++ mocked_notify, user_api_client, customer_user
+ ):
+ user = customer_user
+ user.is_active = False
+ user.save()
+
+ variables = {
+ "email": customer_user.email,
+ "redirectUrl": "https://www.example.com",
+ }
+ response = user_api_client.post_graphql(REQUEST_PASSWORD_RESET_MUTATION, variables)
+ content = get_graphql_content(response)
+ data = content["data"]["requestPasswordReset"]
+ assert data["errors"] == [
+ {"field": "email", "message": "User with this email is inactive"}
+ ]
- assert not send_password_reset_email_mock.called
++ assert not mocked_notify.called
+
+
-@patch("saleor.account.emails._send_password_reset_email")
+@patch("saleor.plugins.manager.PluginsManager.notify")
def test_account_reset_password_storefront_hosts_not_allowed(
- send_password_reset_email_mock, user_api_client, customer_user
+ mocked_notify, user_api_client, customer_user
):
variables = {"email": customer_user.email, "redirectUrl": "https://www.fake.com"}
response = user_api_client.post_graphql(REQUEST_PASSWORD_RESET_MUTATION, variables)
diff --cc saleor/graphql/order/mutations/fulfillments.py
index 5c26e5f623,2b8483b070..f586cbfc9b
--- a/saleor/graphql/order/mutations/fulfillments.py
+++ b/saleor/graphql/order/mutations/fulfillments.py
@@@ -10,15 -10,17 +10,17 @@@ from ....order import FulfillmentStatus
from ....order.actions import (
cancel_fulfillment,
create_fulfillments,
+ create_refund_fulfillment,
fulfillment_tracking_updated,
)
-from ....order.emails import send_fulfillment_update
from ....order.error_codes import OrderErrorCode
+from ....order.notifications import send_fulfillment_update
from ...core.mutations import BaseMutation
+ from ...core.scalars import PositiveDecimal
from ...core.types.common import OrderError
from ...core.utils import from_global_id_strict_type, get_duplicated_values
- from ...meta.deprecated.mutations import ClearMetaBaseMutation, UpdateMetaBaseMutation
- from ...order.types import Fulfillment, Order
+ from ...order.types import Fulfillment, FulfillmentLine, Order
+ from ...utils import get_user_or_app_from_context
from ...warehouse.types import Warehouse
from ..types import OrderLine
diff --cc saleor/graphql/order/tests/test_fulfillment.py
index 38d3893913,fb0a67c9b2..ee0f6d8f89
--- a/saleor/graphql/order/tests/test_fulfillment.py
+++ b/saleor/graphql/order/tests/test_fulfillment.py
@@@ -1,11 -1,12 +1,12 @@@
+ from decimal import Decimal
-from unittest.mock import patch
+from unittest.mock import ANY, patch
import graphene
- import pytest
from django.contrib.auth.models import AnonymousUser
+ from prices import Money, TaxedMoney
from ....core.exceptions import InsufficientStock
- from ....core.permissions import OrderPermissions
+ from ....core.prices import quantize_price
from ....order import OrderStatus
from ....order.error_codes import OrderErrorCode
from ....order.events import OrderEvents
diff --cc saleor/graphql/order/tests/test_order.py
index ec4da8367a,f224f10abd..6111d144e7
--- a/saleor/graphql/order/tests/test_order.py
+++ b/saleor/graphql/order/tests/test_order.py
@@@ -10,11 -10,10 +10,12 @@@ from freezegun import freeze_tim
from prices import Money, TaxedMoney
from ....account.models import CustomerEvent
- from ....core.permissions import OrderPermissions
++from ....core.notify_events import NotifyEventType
from ....core.taxes import TaxError, zero_taxed_money
from ....order import OrderStatus, events as order_events
from ....order.error_codes import OrderErrorCode
from ....order.models import Order, OrderEvent
++from ....order.notifications import get_default_order_payload
from ....payment import ChargeStatus, CustomPaymentChoices, PaymentError
from ....payment.models import Payment
from ....plugins.manager import PluginsManager
@@@ -357,13 -565,125 +567,126 @@@ def test_order_query_shows_non_draft_or
response = staff_api_client.post_graphql(query)
edges = get_graphql_content(response)["data"]["orders"]["edges"]
- assert len(edges) == Order.objects.confirmed().count()
+ assert len(edges) == Order.objects.non_draft().count()
- def test_draft_order_query(staff_api_client, permission_manage_orders, orders):
+ ORDER_CONFIRM_MUTATION = """
+ mutation orderConfirm($id: ID!) {
+ orderConfirm(id: $id) {
+ orderErrors {
+ field
+ code
+ }
+ order {
+ status
+ }
+ }
+ }
+ """
+
+
++@patch("saleor.plugins.manager.PluginsManager.notify")
+ @patch("saleor.payment.gateway.capture")
+ def test_order_confirm(
+ capture_mock,
++ mocked_notify,
+ staff_api_client,
+ order_unconfirmed,
+ permission_manage_orders,
+ payment_txn_preauth,
+ ):
+ payment_txn_preauth.order = order_unconfirmed
+ payment_txn_preauth.save()
+ staff_api_client.user.user_permissions.add(permission_manage_orders)
+ assert not OrderEvent.objects.exists()
+ response = staff_api_client.post_graphql(
+ ORDER_CONFIRM_MUTATION,
+ {"id": graphene.Node.to_global_id("Order", order_unconfirmed.id)},
+ )
+ order_data = get_graphql_content(response)["data"]["orderConfirm"]["order"]
+
+ assert order_data["status"] == OrderStatus.UNFULFILLED.upper()
+ order_unconfirmed.refresh_from_db()
+ assert order_unconfirmed.status == OrderStatus.UNFULFILLED
- assert OrderEvent.objects.count() == 3
++ assert OrderEvent.objects.count() == 2
+ assert OrderEvent.objects.filter(
+ order=order_unconfirmed,
+ user=staff_api_client.user,
+ type=order_events.OrderEvents.CONFIRMED,
+ ).exists()
- assert OrderEvent.objects.filter(
- order=order_unconfirmed,
- user=staff_api_client.user,
- type=order_events.OrderEvents.EMAIL_SENT,
- parameters__email=order_unconfirmed.get_customer_email(),
- ).exists()
++
+ assert OrderEvent.objects.filter(
+ order=order_unconfirmed,
+ user=staff_api_client.user,
+ type=order_events.OrderEvents.PAYMENT_CAPTURED,
+ parameters__amount=payment_txn_preauth.get_total().amount,
+ ).exists()
+ capture_mock.assert_called_once_with(payment_txn_preauth)
++ expected_payload = {
++ "order": get_default_order_payload(order_unconfirmed, ""),
++ "recipient_email": order_unconfirmed.user.email,
++ "requester_user_id": staff_api_client.user.id,
++ "site_name": "mirumee.com",
++ "domain": "mirumee.com",
++ }
++ mocked_notify.assert_called_once_with(
++ NotifyEventType.ORDER_CONFIRMED, expected_payload
++ )
+
+
+ def test_order_confirm_unfulfilled(staff_api_client, order, permission_manage_orders):
+ staff_api_client.user.user_permissions.add(permission_manage_orders)
+ response = staff_api_client.post_graphql(
+ ORDER_CONFIRM_MUTATION, {"id": graphene.Node.to_global_id("Order", order.id)}
+ )
+ content = get_graphql_content(response)["data"]["orderConfirm"]
+ errors = content["orderErrors"]
+
+ order.refresh_from_db()
+ assert order.status == OrderStatus.UNFULFILLED
+ assert content["order"] is None
+ assert len(errors) == 1
+ assert errors[0]["field"] == "id"
+ assert errors[0]["code"] == OrderErrorCode.INVALID.name
+
+
+ @patch("saleor.payment.gateway.capture")
+ def test_order_confirm_wont_call_capture_for_non_active_payment(
+ capture_mock,
+ staff_api_client,
+ order_unconfirmed,
+ permission_manage_orders,
+ payment_txn_preauth,
+ ):
+ payment_txn_preauth.order = order_unconfirmed
+ payment_txn_preauth.is_active = False
+ payment_txn_preauth.save()
+ staff_api_client.user.user_permissions.add(permission_manage_orders)
+ assert not OrderEvent.objects.exists()
+ response = staff_api_client.post_graphql(
+ ORDER_CONFIRM_MUTATION,
+ {"id": graphene.Node.to_global_id("Order", order_unconfirmed.id)},
+ )
+ order_data = get_graphql_content(response)["data"]["orderConfirm"]["order"]
+
+ assert order_data["status"] == OrderStatus.UNFULFILLED.upper()
+ order_unconfirmed.refresh_from_db()
+ assert order_unconfirmed.status == OrderStatus.UNFULFILLED
- assert OrderEvent.objects.count() == 2
++ assert OrderEvent.objects.count() == 1
+ assert OrderEvent.objects.filter(
+ order=order_unconfirmed,
+ user=staff_api_client.user,
+ type=order_events.OrderEvents.CONFIRMED,
+ ).exists()
- assert OrderEvent.objects.filter(
- order=order_unconfirmed,
- user=staff_api_client.user,
- type=order_events.OrderEvents.EMAIL_SENT,
- parameters__email=order_unconfirmed.get_customer_email(),
- ).exists()
+ assert not capture_mock.called
+
+
+ def test_orders_with_channel(
+ staff_api_client, permission_manage_orders, orders, channel_USD
+ ):
query = """
- query DraftOrdersQuery {
- draftOrders(first: 10) {
+ query OrdersQuery($channel: String) {
+ orders(first: 10, channel: $channel) {
edges {
node {
id
diff --cc saleor/order/actions.py
index 6ed24efbf5,1112f94d5a..edd9924c4a
--- a/saleor/order/actions.py
+++ b/saleor/order/actions.py
@@@ -5,15 -6,27 +6,29 @@@ from django.contrib.sites.models impor
from django.db import transaction
from ..core import analytics
- from ..core.exceptions import InsufficientStock
- from ..payment import ChargeStatus, CustomPaymentChoices, PaymentError
+ from ..core.exceptions import AllocationError, InsufficientStock
-from ..order.emails import send_order_confirmed
+ from ..payment import (
+ ChargeStatus,
+ CustomPaymentChoices,
+ PaymentError,
+ TransactionKind,
+ gateway,
+ )
+ from ..payment.models import Payment, Transaction
+ from ..payment.utils import create_payment
from ..plugins.manager import get_plugins_manager
- from ..warehouse.management import deallocate_stock_for_order, decrease_stock
+ from ..warehouse.management import (
+ deallocate_stock,
+ deallocate_stock_for_order,
+ decrease_stock,
+ )
-from . import FulfillmentStatus, OrderStatus, emails, events, utils
-from .emails import (
+from . import FulfillmentStatus, OrderStatus, events, utils
- from .models import Fulfillment, FulfillmentLine
++from .events import fulfillment_refunded_event
++from .models import Fulfillment, FulfillmentLine, OrderLine
+from .notifications import (
send_fulfillment_confirmation_to_customer,
send_order_canceled_confirmation,
++ send_order_confirmed,
send_order_refunded_confirmation,
send_payment_confirmation,
)
@@@ -48,6 -61,23 +61,23 @@@ def order_created(order: "Order", user
order_authorized(
order=order, user=user, amount=payment.total, payment=payment
)
+ site_settings = Site.objects.get_current().settings
+ if site_settings.automatically_confirm_all_new_orders:
+ order_confirmed(order, user)
+
+
+ def order_confirmed(
+ order: "Order", user: "User", send_confirmation_email: bool = False
+ ):
+ """Order confirmed.
+
+ Trigger event, plugin hooks and optionally confirmation email.
+ """
+ events.order_confirmed_event(order=order, user=user)
+ manager = get_plugins_manager()
+ manager.order_confirmed(order)
+ if send_confirmation_email:
- send_order_confirmed.delay(order.pk, user.pk)
++ send_order_confirmed(order, user, manager)
def handle_fully_paid_order(order: "Order", user: Optional["User"] = None):
diff --cc saleor/order/events.py
index b588ad4f2a,8960cd02e1..07f97c6f0a
--- a/saleor/order/events.py
+++ b/saleor/order/events.py
@@@ -32,6 -32,6 +32,20 @@@ def _user_is_valid(user: UserType) -> b
return bool(user and not user.is_anonymous)
++def event_order_confirmed_notification(
++ order_id: int, user_id: Optional[int], customer_email: str
++):
++ return OrderEvent.objects.create(
++ order_id=order_id,
++ type=OrderEvents.EMAIL_SENT,
++ parameters={
++ "email": customer_email,
++ "email_type": OrderEventsEmails.CONFIRMED,
++ },
++ user_id=user_id,
++ )
++
++
def email_sent_event(
*,
order: Order,
diff --cc saleor/order/notifications.py
index 5a27604a8e,0000000000..66a23cf023
mode 100644,000000..100644
--- a/saleor/order/notifications.py
+++ b/saleor/order/notifications.py
@@@ -1,259 -1,0 +1,270 @@@
+from typing import TYPE_CHECKING, Iterable, Optional
+from urllib.parse import urlencode
+
+from django.forms import model_to_dict
+
+from ..account.models import StaffNotificationRecipient
+from ..core.notifications import get_site_context
+from ..core.notify_events import NotifyEventType
+from ..core.utils.url import prepare_url
+from ..product.models import DigitalContentUrl
+from . import events
+from .models import FulfillmentLine, Order, OrderLine
+
+if TYPE_CHECKING:
+ from decimal import Decimal
+
+ from ..account.models import User # noqa: F401
+
+
+def get_order_line_payload(line: "OrderLine"):
+ unit_tax_amount = line.unit_price_gross_amount - line.unit_price_net_amount
+ total_gross = line.unit_price_gross * line.quantity
+ total_net = line.unit_price_net * line.quantity
+ total_tax = total_gross - total_net
+ digital_url = ""
+ if line.is_digital:
+ content = DigitalContentUrl.objects.filter(line=line).first()
+ digital_url = content.get_absolute_url() if content else None # type: ignore
+ return {
+ "id": line.id,
+ "product_name": line.translated_product_name or line.product_name,
+ "variant_name": line.translated_variant_name or line.variant_name,
+ "product_sku": line.product_sku,
+ "quantity": line.quantity,
+ "quantity_fulfilled": line.quantity_fulfilled,
+ "currency": line.currency,
+ "unit_price_net_amount": line.unit_price_net_amount,
+ "unit_price_gross_amount": line.unit_price_gross_amount,
+ "unit_tax_amount": unit_tax_amount,
+ "total_gross_amount": total_gross.amount,
+ "total_net_amount": total_net.amount,
+ "total_tax_amount": total_tax.amount,
+ "tax_rate": line.tax_rate,
+ "is_shipping_required": line.is_shipping_required,
+ "is_digital": line.is_digital,
+ "digital_url": digital_url,
+ }
+
+
+def get_lines_payload(order_lines: Iterable["OrderLine"]):
+ payload = []
+ for line in order_lines:
+ payload.append(get_order_line_payload(line))
+ return payload
+
+
+ADDRESS_MODEL_FIELDS = [
+ "first_name",
+ "last_name",
+ "company_name",
+ "street_address_1",
+ "street_address_2",
+ "city",
+ "city_area",
+ "postal_code",
+ "country",
+ "country_area",
+ "phone",
+]
+
+
+def get_address_payload(address):
+ if not address:
+ return None
+ address = model_to_dict(address, fields=ADDRESS_MODEL_FIELDS)
+ address["country"] = str(address["country"])
+ address["phone"] = str(address["phone"])
+ return address
+
+
+ORDER_MODEL_FIELDS = [
+ "id",
+ "token",
+ "display_gross_prices",
+ "currency",
+ "discount_amount",
+ "total_gross_amount",
+ "total_net_amount",
+ "status",
+ "metadata",
+ "private_metadata",
+]
+
+
+def get_default_order_payload(order: "Order", redirect_url: str = ""):
+ order_details_url = ""
+ if redirect_url:
+ order_details_url = prepare_order_details_url(order, redirect_url)
+ subtotal = order.get_subtotal()
+ tax = order.total_gross_amount - order.total_net_amount
+
+ order_payload = model_to_dict(order, fields=ORDER_MODEL_FIELDS)
+ order_payload.update(
+ {
+ "created": order.created,
+ "shipping_price_net_amount": order.shipping_price_net_amount,
+ "shipping_price_gross_amount": order.shipping_price_gross_amount,
+ "order_details_url": order_details_url,
+ "email": order.get_customer_email(),
+ "subtotal_gross_amount": subtotal.gross.amount,
+ "subtotal_net_amount": subtotal.net.amount,
+ "tax_amount": tax,
+ "discount_name": order.translated_discount_name or order.discount_name,
+ "lines": get_lines_payload(order.lines.all()),
+ "billing_address": get_address_payload(order.billing_address),
+ "shipping_address": get_address_payload(order.shipping_address),
+ "shipping_method_name": order.shipping_method_name,
+ }
+ )
+ if not order.discount_amount:
+ order_payload["discount_amount"] = 0
+ return order_payload
+
+
+def get_default_fulfillment_line_payload(line: "FulfillmentLine"):
+ return {
+ "id": line.id,
+ "order_line": get_order_line_payload(line.order_line),
+ "quantity": line.quantity,
+ }
+
+
+def get_default_fulfillment_payload(order, fulfillment):
+ lines = fulfillment.lines.all()
+ physical_lines = [line for line in lines if not line.order_line.is_digital]
+
+ digital_lines = [line for line in lines if line.order_line.is_digital]
+ payload = {
- "order": get_default_order_payload(order),
++ "order": get_default_order_payload(order, order.redirect_url),
+ "fulfillment": {
+ "tracking_number": fulfillment.tracking_number,
+ "is_tracking_number_url": fulfillment.is_tracking_number_url,
+ },
+ "physical_lines": [
+ get_default_fulfillment_line_payload(line) for line in physical_lines
+ ],
+ "digital_lines": [
+ get_default_fulfillment_line_payload(line) for line in digital_lines
+ ],
+ "recipient_email": order.get_customer_email(),
+ **get_site_context(),
+ }
+ return payload
+
+
+def prepare_order_details_url(order: Order, redirect_url: str) -> str:
+ params = urlencode({"token": order.token})
+ return prepare_url(params, redirect_url)
+
+
+def send_order_confirmation(order, redirect_url, user, manager):
+ """Send notification with order confirmation."""
+ payload = {
+ "order": get_default_order_payload(order, redirect_url),
+ "recipient_email": order.get_customer_email(),
+ **get_site_context(),
+ }
+ manager.notify(NotifyEventType.ORDER_CONFIRMATION, payload)
+ events.email_sent_event(
+ order=order,
+ user=None,
+ user_pk=user.pk if user else None,
+ email_type=events.OrderEventsEmails.ORDER_CONFIRMATION,
+ )
+
+
++def send_order_confirmed(order, user, manager):
++ """Send email which tells customer that order has been confirmed."""
++ payload = {
++ "order": get_default_order_payload(order, order.redirect_url),
++ "recipient_email": order.get_customer_email(),
++ "requester_user_id": user.id,
++ **get_site_context(),
++ }
++ manager.notify(NotifyEventType.ORDER_CONFIRMED, payload)
++
++
+def send_staff_order_confirmation(order, redirect_url, manager):
+ """Send staff notification with order confirmation."""
+ staff_notifications = StaffNotificationRecipient.objects.filter(
+ active=True, user__is_active=True, user__is_staff=True
+ )
+ recipient_emails = [
+ notification.get_email() for notification in staff_notifications
+ ]
+ if recipient_emails:
+ payload = {
+ "order": get_default_order_payload(order, redirect_url),
+ "recipient_list": recipient_emails,
+ **get_site_context(),
+ }
+ manager.notify(NotifyEventType.STAFF_ORDER_CONFIRMATION, payload=payload)
+
+
+def send_fulfillment_confirmation_to_customer(order, fulfillment, user, manager):
+ payload = get_default_fulfillment_payload(order, fulfillment)
+ manager.notify(NotifyEventType.ORDER_FULFILLMENT_CONFIRMATION, payload=payload)
+
+ events.email_sent_event(
+ order=order, user=user, email_type=events.OrderEventsEmails.FULFILLMENT
+ )
+
+ # If digital lines were sent in the fulfillment email,
+ # trigger the event
+ if any((line for line in order if line.variant.is_digital())):
+ events.email_sent_event(
+ order=order, user=user, email_type=events.OrderEventsEmails.DIGITAL_LINKS
+ )
+
+
+def send_fulfillment_update(order, fulfillment, manager):
+ payload = get_default_fulfillment_payload(order, fulfillment)
+ manager.notify(NotifyEventType.ORDER_FULFILLMENT_UPDATE, payload)
+
+
+def send_payment_confirmation(order, manager):
+ """Send notification with the payment confirmation."""
+ payment = order.get_last_payment()
+ payload = {
+ "order": get_default_order_payload(order),
+ "recipient_email": order.get_customer_email(),
+ "payment": {
+ "created": payment.created,
+ "modified": payment.modified,
+ "charge_status": payment.charge_status,
+ "total": payment.total,
+ "captured_amount": payment.captured_amount,
+ "currency": payment.currency,
+ },
+ **get_site_context(),
+ }
+ manager.notify(NotifyEventType.ORDER_PAYMENT_CONFIRMATION, payload)
+
+
+def send_order_canceled_confirmation(order: "Order", user: Optional["User"], manager):
+ payload = {
+ "order": get_default_order_payload(order),
+ "recipient_email": order.get_customer_email(),
+ **get_site_context(),
+ }
+ manager.notify(NotifyEventType.ORDER_CANCELED, payload)
+ events.email_sent_event(
+ order=order, user=user, email_type=events.OrderEventsEmails.ORDER_CANCEL
+ )
+
+
+def send_order_refunded_confirmation(
+ order: "Order", user: Optional["User"], amount: "Decimal", currency: str, manager
+):
+ payload = {
+ "order": get_default_order_payload(order),
+ "recipient_email": order.get_customer_email(),
+ "amount": amount,
+ "currency": currency,
+ **get_site_context(),
+ }
+ manager.notify(NotifyEventType.ORDER_REFUND_CONFIRMATION, payload)
+ events.email_sent_event(
+ order=order, user=user, email_type=events.OrderEventsEmails.ORDER_REFUND
+ )
diff --cc saleor/order/tests/test_order.py
index 14247e61f6,fbd43f7a09..17bc6e3f41
--- a/saleor/order/tests/test_order.py
+++ b/saleor/order/tests/test_order.py
@@@ -692,8 -752,9 +756,10 @@@ def test_send_fulfillment_order_lines_m
has_standard,
has_digital,
):
+ manager = get_plugins_manager()
+ redirect_url = "http://localhost.pl"
order = fulfilled_order
+ order.redirect_url = redirect_url
assert order.lines.count() == 2
if not has_standard:
diff --cc saleor/order/tests/test_order_actions.py
index bd038419f7,19f400bc19..24b95a5b13
--- a/saleor/order/tests/test_order_actions.py
+++ b/saleor/order/tests/test_order_actions.py
@@@ -20,11 -21,7 +21,11 @@@ from ..actions import
mark_order_as_paid,
order_refunded,
)
- from ..models import Fulfillment
+ from ..models import Fulfillment, FulfillmentLine
+from ..notifications import (
+ send_fulfillment_confirmation_to_customer,
+ send_payment_confirmation,
+)
@pytest.fixture
@@@ -60,23 -57,17 +61,27 @@@ def order_with_digital_line(order, digi
return order
-@patch("saleor.order.emails.send_fulfillment_confirmation.delay")
-@patch("saleor.order.emails.send_payment_confirmation.delay")
+@patch("saleor.order.actions.get_plugins_manager")
+@patch(
+ "saleor.order.actions.send_fulfillment_confirmation_to_customer",
+ wraps=send_fulfillment_confirmation_to_customer,
+)
+@patch(
+ "saleor.order.actions.send_payment_confirmation", wraps=send_payment_confirmation
+)
def test_handle_fully_paid_order_digital_lines(
mock_send_payment_confirmation,
- mock_send_fulfillment_confirmation,
+ send_fulfillment_confirmation_to_customer,
+ mocked_get_plugins_manager,
order_with_digital_line,
):
+ manager = mocked_get_plugins_manager()
+ order = order_with_digital_line
+ order.payments.add(Payment.objects.create())
+ redirect_url = "http://localhost.pl"
+ order = order_with_digital_line
+ order.redirect_url = redirect_url
+ order.save()
handle_fully_paid_order(order)
fulfillment = order.fulfillments.first()
@@@ -322,4 -316,333 +344,333 @@@ def test_fulfill_digital_lines
assert fulfillment_lines.count() == 1
assert line.digital_content_url
- assert mock_email_fulfillment.delay.called
+ assert mock_email_fulfillment.called
+
+
+ @patch("saleor.order.actions.gateway.refund")
+ def test_create_refund_fulfillment_only_order_lines(
+ mocked_refund, order_with_lines, payment_dummy
+ ):
+ payment_dummy.captured_amount = payment_dummy.total
+ payment_dummy.charge_status = ChargeStatus.FULLY_CHARGED
+ payment_dummy.save()
+ order_with_lines.payments.add(payment_dummy)
+ payment = order_with_lines.get_last_payment()
+
+ order_lines_to_refund = order_with_lines.lines.all()
+ original_quantity = {
+ line.id: line.quantity_unfulfilled for line in order_with_lines
+ }
+ order_line_ids = order_lines_to_refund.values_list("id", flat=True)
+ original_allocations = list(
+ Allocation.objects.filter(order_line_id__in=order_line_ids)
+ )
+ lines_count = order_with_lines.lines.count()
+ order_lines_quantities_to_refund = [2 for _ in range(lines_count)]
+ fulfillment_lines_to_refund = []
+ fulfillment_lines_quantities_to_refund = []
+ returned_fulfillemnt = create_refund_fulfillment(
+ requester=None,
+ order=order_with_lines,
+ payment=payment,
+ order_lines_to_refund=order_lines_to_refund,
+ order_lines_quantities_to_refund=order_lines_quantities_to_refund,
+ fulfillment_lines_to_refund=fulfillment_lines_to_refund,
+ fulfillment_lines_quantities_to_refund=fulfillment_lines_quantities_to_refund,
+ )
+ returned_fulfillment_lines = returned_fulfillemnt.lines.all()
+ assert returned_fulfillemnt.status == FulfillmentStatus.REFUNDED
+ assert len(returned_fulfillment_lines) == lines_count
+ for fulfillment_line in returned_fulfillment_lines:
+ assert fulfillment_line.quantity == 2
+ assert fulfillment_line.order_line_id in order_line_ids
+ for line in order_lines_to_refund:
+ assert line.quantity_unfulfilled == original_quantity.get(line.pk) - 2
+
+ current_allocations = Allocation.objects.in_bulk(
+ [allocation.pk for allocation in original_allocations]
+ )
+ for original_allocation in original_allocations:
+ current_allocation = current_allocations.get(original_allocation.pk)
+ assert (
+ original_allocation.quantity_allocated - 2
+ == current_allocation.quantity_allocated
+ )
+ amount = sum([line.unit_price_gross_amount * 2 for line in order_lines_to_refund])
+ mocked_refund.assert_called_once_with(payment_dummy, amount)
+
+
+ @patch("saleor.order.actions.gateway.refund")
+ def test_create_refund_fulfillment_multiple_order_line_refunds(
+ mocked_refund, order_with_lines, payment_dummy
+ ):
+ payment_dummy.captured_amount = payment_dummy.total
+ payment_dummy.charge_status = ChargeStatus.FULLY_CHARGED
+ payment_dummy.save()
+ order_with_lines.payments.add(payment_dummy)
+ payment = order_with_lines.get_last_payment()
+ order_lines_to_refund = order_with_lines.lines.all()
+ original_quantity = {
+ line.id: line.quantity_unfulfilled for line in order_with_lines
+ }
+ order_line_ids = order_lines_to_refund.values_list("id", flat=True)
+ order_lines_quantities_to_refund = [1 for _ in range(order_lines_to_refund.count())]
+ lines_count = order_lines_to_refund.count()
+ for _ in range(2):
+ # call refund two times
+ create_refund_fulfillment(
+ requester=None,
+ order=order_with_lines,
+ payment=payment,
+ order_lines_to_refund=order_lines_to_refund,
+ order_lines_quantities_to_refund=order_lines_quantities_to_refund,
+ fulfillment_lines_to_refund=[],
+ fulfillment_lines_quantities_to_refund=[],
+ )
+ returned_fulfillemnt = Fulfillment.objects.get(
+ order=order_with_lines, status=FulfillmentStatus.REFUNDED
+ )
+ returned_fulfillment_lines = returned_fulfillemnt.lines.all()
+ assert returned_fulfillemnt.status == FulfillmentStatus.REFUNDED
+ assert len(returned_fulfillment_lines) == lines_count
+ for fulfillment_line in returned_fulfillment_lines:
+ assert fulfillment_line.quantity == 2
+ assert fulfillment_line.order_line_id in order_line_ids
+ for line in order_lines_to_refund:
+ assert line.quantity_unfulfilled == original_quantity.get(line.pk) - 2
+
+ assert mocked_refund.call_count == 2
+
+
+ @patch("saleor.order.actions.gateway.refund")
+ def test_create_refund_fulfillment_included_shipping_costs(
+ mocked_refund, order_with_lines, payment_dummy
+ ):
+ payment_dummy.captured_amount = payment_dummy.total
+ payment_dummy.charge_status = ChargeStatus.FULLY_CHARGED
+ payment_dummy.save()
+ order_with_lines.payments.add(payment_dummy)
+ payment = order_with_lines.get_last_payment()
+ order_lines_to_refund = order_with_lines.lines.all()
+ original_quantity = {
+ line.id: line.quantity_unfulfilled for line in order_with_lines
+ }
+ order_line_ids = order_lines_to_refund.values_list("id", flat=True)
+ lines_count = order_with_lines.lines.count()
+ order_lines_quantities_to_refund = [2 for _ in range(lines_count)]
+ fulfillment_lines_to_refund = []
+ fulfillment_lines_quantities_to_refund = []
+ returned_fulfillemnt = create_refund_fulfillment(
+ requester=None,
+ order=order_with_lines,
+ payment=payment,
+ order_lines_to_refund=order_lines_to_refund,
+ order_lines_quantities_to_refund=order_lines_quantities_to_refund,
+ fulfillment_lines_to_refund=fulfillment_lines_to_refund,
+ fulfillment_lines_quantities_to_refund=fulfillment_lines_quantities_to_refund,
+ refund_shipping_costs=True,
+ )
+ returned_fulfillment_lines = returned_fulfillemnt.lines.all()
+ assert returned_fulfillemnt.status == FulfillmentStatus.REFUNDED
+ assert len(returned_fulfillment_lines) == lines_count
+ for fulfillment_line in returned_fulfillment_lines:
+ assert fulfillment_line.quantity == 2
+ assert fulfillment_line.order_line_id in order_line_ids
+ for line in order_lines_to_refund:
+ assert line.quantity_unfulfilled == original_quantity.get(line.pk) - 2
+ amount = sum([line.unit_price_gross_amount * 2 for line in order_lines_to_refund])
+ amount += order_with_lines.shipping_price_gross_amount
+ mocked_refund.assert_called_once_with(payment_dummy, amount)
+
+
+ @patch("saleor.order.actions.gateway.refund")
+ def test_create_refund_fulfillment_only_fulfillment_lines(
+ mocked_refund, fulfilled_order, payment_dummy
+ ):
+ payment_dummy.captured_amount = payment_dummy.total
+ payment_dummy.charge_status = ChargeStatus.FULLY_CHARGED
+ payment_dummy.save()
+ fulfilled_order.payments.add(payment_dummy)
+ payment = fulfilled_order.get_last_payment()
+ order_line_ids = fulfilled_order.lines.all().values_list("id", flat=True)
+ fulfillment_lines = FulfillmentLine.objects.filter(order_line_id__in=order_line_ids)
+ original_quantity = {line.id: line.quantity for line in fulfillment_lines}
+ fulfillment_lines_count = fulfillment_lines.count()
+ fulfillment_lines_to_refund = fulfillment_lines
+ fulfillment_lines_quantities_to_refund = [2 for _ in range(fulfillment_lines_count)]
+ returned_fulfillemnt = create_refund_fulfillment(
+ requester=None,
+ order=fulfilled_order,
+ payment=payment,
+ order_lines_to_refund=[],
+ order_lines_quantities_to_refund=[],
+ fulfillment_lines_to_refund=fulfillment_lines_to_refund,
+ fulfillment_lines_quantities_to_refund=fulfillment_lines_quantities_to_refund,
+ )
+ returned_fulfillment_lines = returned_fulfillemnt.lines.all()
+ assert returned_fulfillemnt.status == FulfillmentStatus.REFUNDED
+ assert len(returned_fulfillment_lines) == len(order_line_ids)
+ for fulfillment_line in returned_fulfillment_lines:
+ assert fulfillment_line.quantity == 2
+ assert fulfillment_line.order_line_id in order_line_ids
+
+ for line in fulfillment_lines:
+ assert line.quantity == original_quantity.get(line.pk) - 2
+ amount = sum(
+ [line.order_line.unit_price_gross_amount * 2 for line in fulfillment_lines]
+ )
+ mocked_refund.assert_called_once_with(payment_dummy, amount)
+
+
+ @patch("saleor.order.actions.gateway.refund")
+ def test_create_refund_fulfillment_multiple_fulfillment_lines_refunds(
+ mocked_refund, fulfilled_order, payment_dummy
+ ):
+ payment_dummy.captured_amount = payment_dummy.total
+ payment_dummy.charge_status = ChargeStatus.FULLY_CHARGED
+ payment_dummy.save()
+ fulfilled_order.payments.add(payment_dummy)
+ payment = fulfilled_order.get_last_payment()
+ order_line_ids = fulfilled_order.lines.all().values_list("id", flat=True)
+ fulfillment_lines = FulfillmentLine.objects.filter(order_line_id__in=order_line_ids)
+ original_quantity = {line.id: line.quantity for line in fulfillment_lines}
+ fulfillment_lines_count = fulfillment_lines.count()
+ fulfillment_lines_to_refund = fulfillment_lines
+ fulfillment_lines_quantities_to_refund = [1 for _ in range(fulfillment_lines_count)]
+ for _ in range(2):
+ create_refund_fulfillment(
+ requester=None,
+ order=fulfilled_order,
+ payment=payment,
+ order_lines_to_refund=[],
+ order_lines_quantities_to_refund=[],
+ fulfillment_lines_to_refund=fulfillment_lines_to_refund,
+ fulfillment_lines_quantities_to_refund=(
+ fulfillment_lines_quantities_to_refund
+ ),
+ )
+ returned_fulfillemnt = Fulfillment.objects.get(
+ order=fulfilled_order, status=FulfillmentStatus.REFUNDED
+ )
+ returned_fulfillment_lines = returned_fulfillemnt.lines.all()
+ assert returned_fulfillemnt.status == FulfillmentStatus.REFUNDED
+ assert len(returned_fulfillment_lines) == len(order_line_ids)
+ for fulfillment_line in returned_fulfillment_lines:
+ assert fulfillment_line.quantity == 2
+ assert fulfillment_line.order_line_id in order_line_ids
+
+ for line in fulfillment_lines:
+ assert line.quantity == original_quantity.get(line.pk) - 2
+
+ assert mocked_refund.call_count == 2
+
+
+ @patch("saleor.order.actions.gateway.refund")
+ def test_create_refund_fulfillment_custom_amount(
+ mocked_refund, fulfilled_order, payment_dummy
+ ):
+ payment_dummy.captured_amount = payment_dummy.total
+ payment_dummy.charge_status = ChargeStatus.FULLY_CHARGED
+ payment_dummy.save()
+ fulfilled_order.payments.add(payment_dummy)
+ payment = fulfilled_order.get_last_payment()
+ order_line_ids = fulfilled_order.lines.all().values_list("id", flat=True)
+ fulfillment_lines = FulfillmentLine.objects.filter(order_line_id__in=order_line_ids)
+ original_quantity = {line.id: line.quantity for line in fulfillment_lines}
+ fulfillment_lines_count = fulfillment_lines.count()
+ fulfillment_lines_to_refund = fulfillment_lines
+ fulfillment_lines_quantities_to_refund = [2 for _ in range(fulfillment_lines_count)]
+ amount = Decimal("10.00")
+ returned_fulfillemnt = create_refund_fulfillment(
+ requester=None,
+ order=fulfilled_order,
+ payment=payment,
+ order_lines_to_refund=[],
+ order_lines_quantities_to_refund=[],
+ fulfillment_lines_to_refund=fulfillment_lines_to_refund,
+ fulfillment_lines_quantities_to_refund=fulfillment_lines_quantities_to_refund,
+ amount=amount,
+ )
+ returned_fulfillment_lines = returned_fulfillemnt.lines.all()
+ assert returned_fulfillemnt.status == FulfillmentStatus.REFUNDED
+ assert len(returned_fulfillment_lines) == len(order_line_ids)
+ for fulfillment_line in returned_fulfillment_lines:
+ assert fulfillment_line.quantity == 2
+ assert fulfillment_line.order_line_id in order_line_ids
+
+ for line in fulfillment_lines:
+ assert line.quantity == original_quantity.get(line.pk) - 2
+ mocked_refund.assert_called_once_with(payment_dummy, amount)
+
+
+ @patch("saleor.order.actions.gateway.refund")
+ def test_create_refund_fulfillment_multiple_refunds(
+ mocked_refund, fulfilled_order, variant, payment_dummy, warehouse, channel_USD
+ ):
+ payment_dummy.captured_amount = payment_dummy.total
+ payment_dummy.charge_status = ChargeStatus.FULLY_CHARGED
+ payment_dummy.save()
+ fulfilled_order.payments.add(payment_dummy)
+ payment = fulfilled_order.get_last_payment()
+
+ stock = Stock.objects.create(
+ warehouse=warehouse, product_variant=variant, quantity=5
+ )
+ net = variant.get_price(channel_USD.slug)
+ gross = Money(amount=net.amount * Decimal(1.23), currency=net.currency)
+ order_line = fulfilled_order.lines.create(
+ product_name=str(variant.product),
+ variant_name=str(variant),
+ product_sku=variant.sku,
+ is_shipping_required=variant.is_shipping_required(),
+ quantity=5,
+ quantity_fulfilled=2,
+ variant=variant,
+ unit_price=TaxedMoney(net=net, gross=gross),
+ tax_rate=23,
+ )
+ Allocation.objects.create(
+ order_line=order_line, stock=stock, quantity_allocated=order_line.quantity
+ )
+ fulfillment = fulfilled_order.fulfillments.get()
+ fulfillment.lines.create(order_line=order_line, quantity=2, stock=stock)
+
+ order_line_ids = fulfilled_order.lines.all().values_list("id", flat=True)
+ fulfillment_lines = fulfillment.lines.all()
+ original_fulfillment_quantity = {
+ line.id: line.quantity for line in fulfillment_lines
+ }
+
+ fulfillment_lines_count = fulfillment_lines.count()
+ fulfillment_lines_to_refund = fulfillment_lines
+ fulfillment_lines_quantities_to_refund = [1 for _ in range(fulfillment_lines_count)]
+
+ for _ in range(2):
+ create_refund_fulfillment(
+ requester=None,
+ order=fulfilled_order,
+ payment=payment,
+ order_lines_to_refund=[order_line],
+ order_lines_quantities_to_refund=[1],
+ fulfillment_lines_to_refund=fulfillment_lines_to_refund,
+ fulfillment_lines_quantities_to_refund=(
+ fulfillment_lines_quantities_to_refund
+ ),
+ )
+ returned_fulfillemnt = Fulfillment.objects.get(
+ order=fulfilled_order, status=FulfillmentStatus.REFUNDED
+ )
+ returned_fulfillment_lines = returned_fulfillemnt.lines.all()
+ assert returned_fulfillemnt.status == FulfillmentStatus.REFUNDED
+ assert len(returned_fulfillment_lines) == len(order_line_ids) + 1 # + order line
+ for fulfillment_line in returned_fulfillment_lines:
+ assert fulfillment_line.quantity == 2
+ assert fulfillment_line.order_line_id in order_line_ids
+
+ for line in fulfillment_lines:
+ assert line.quantity == original_fulfillment_quantity.get(line.pk) - 2
+
+ order_line.refresh_from_db()
+ assert order_line.quantity_fulfilled == 4
+ assert order_line.quantity_unfulfilled == 1
+ assert mocked_refund.call_count == 2
diff --cc saleor/plugins/base_plugin.py
index ddcc87ad6e,e1beb6bfa1..ea4045fcbc
--- a/saleor/plugins/base_plugin.py
+++ b/saleor/plugins/base_plugin.py
@@@ -17,14 -18,14 +18,15 @@@ from .models import PluginConfiguratio
if TYPE_CHECKING:
# flake8: noqa
+ from ..core.notify_events import NotifyEventType
- from ..core.taxes import TaxType
+ from ..account.models import Address, User
+ from ..channel.models import Channel
from ..checkout.models import Checkout, CheckoutLine
+ from ..core.taxes import TaxType
from ..discount import DiscountInfo
- from ..product.models import Product, ProductType
- from ..account.models import Address, User
- from ..order.models import Fulfillment, OrderLine, Order
from ..invoice.models import Invoice
+ from ..order.models import Fulfillment, Order, OrderLine
+ from ..product.models import Product, ProductType
PluginConfigurationType = List[dict]
diff --cc saleor/plugins/manager.py
index 572a52ac7e,a4b05e7e2f..5c70cd8ee1
--- a/saleor/plugins/manager.py
+++ b/saleor/plugins/manager.py
@@@ -18,22 -18,23 +18,26 @@@ from .models import PluginConfiguratio
if TYPE_CHECKING:
# flake8: noqa
- from .base_plugin import BasePlugin
- from ..checkout.models import Checkout, CheckoutLine
- from ..product.models import Product, ProductType
from ..account.models import Address, User
- from ..order.models import Fulfillment, OrderLine, Order
+ from ..channel.models import Channel
+ from ..checkout.models import Checkout, CheckoutLine
from ..invoice.models import Invoice
+ from ..order.models import Fulfillment, Order, OrderLine
from ..payment.interface import (
- PaymentData,
- TokenConfig,
- GatewayResponse,
CustomerSource,
+ GatewayResponse,
+ PaymentData,
PaymentGateway,
+ InitializedPaymentResponse,
+ TokenConfig,
)
+ from ..product.models import Product, ProductType
+ from .base_plugin import BasePlugin
+
+
+NotifyEventTypeChoice = str
+
+
class PluginsManager(PaymentInterface):
"""Base manager for handling plugins logic."""
diff --cc saleor/plugins/user_email/constants.py
index c67a5d7e31,0000000000..ce5da4965a
mode 100644,000000..100644
--- a/saleor/plugins/user_email/constants.py
+++ b/saleor/plugins/user_email/constants.py
@@@ -1,63 -1,0 +1,67 @@@
+PLUGIN_ID = "mirumee.notifications.user_email"
+
+
+ACCOUNT_CONFIRMATION_TEMPLATE_FIELD = "account_confirmation"
+ACCOUNT_SET_CUSTOMER_PASSWORD_TEMPLATE_FIELD = "account_set_customer_password"
+ACCOUNT_DELETE_TEMPLATE_FIELD = "account_delete"
+ACCOUNT_CHANGE_EMAIL_CONFIRM_TEMPLATE_FIELD = "account_change_email_confirm"
+ACCOUNT_CHANGE_EMAIL_REQUEST_TEMPLATE_FIELD = "account_change_email_request"
+ACCOUNT_PASSWORD_RESET_TEMPLATE_FIELD = "account_password_reset"
+INVOICE_READY_TEMPLATE_FIELD = "invoice_ready"
+ORDER_CONFIRMATION_TEMPLATE_FIELD = "order_confirmation"
++ORDER_CONFIRMED_TEMPLATE_FIELD = "order_confirmed"
+ORDER_FULFILLMENT_CONFIRMATION_TEMPLATE_FIELD = "order_fulfillment_confirmation"
+ORDER_FULFILLMENT_UPDATE_TEMPLATE_FIELD = "order_fulfillment_update"
+ORDER_PAYMENT_CONFIRMATION_TEMPLATE_FIELD = "order_payment_confirmation"
+ORDER_CANCELED_TEMPLATE_FIELD = "order_canceled"
+ORDER_REFUND_CONFIRMATION_TEMPLATE_FIELD = "order_refund_confirmation"
+
+
+ACCOUNT_CONFIRMATION_DEFAULT_TEMPLATE = "confirm.html"
+ACCOUNT_SET_CUSTOMER_PASSWORD_DEFAULT_TEMPLATE = "set_customer_password.html"
+ACCOUNT_DELETE_DEFAULT_TEMPLATE = "account_delete.html"
+ACCOUNT_CHANGE_EMAIL_CONFIRM_DEFAULT_TEMPLATE = "email_changed_notification.html"
+ACCOUNT_CHANGE_EMAIL_REQUEST_DEFAULT_TEMPLATE = "request_email_change.html"
+ACCOUNT_PASSWORD_RESET_DEFAULT_TEMPLATE = "password_reset.html"
+INVOICE_READY_DEFAULT_TEMPLATE = "send_invoice.html"
+ORDER_CONFIRMATION_DEFAULT_TEMPLATE = "confirm_order.html"
++ORDER_CONFIRMED_DEFAULT_TEMPLATE = "confirmed_order.html"
+ORDER_FULFILLMENT_CONFIRMATION_DEFAULT_TEMPLATE = "confirm_fulfillment.html"
+ORDER_FULFILLMENT_UPDATE_DEFAULT_TEMPLATE = "update_fulfillment.html"
+ORDER_PAYMENT_CONFIRMATION_DEFAULT_TEMPLATE = "confirm_payment.html"
+ORDER_CANCELED_DEFAULT_TEMPLATE = "order_cancel.html"
+ORDER_REFUND_CONFIRMATION_DEFAULT_TEMPLATE = "order_refund.html"
+
+
+ACCOUNT_CONFIRMATION_SUBJECT_FIELD = "account_confirmation_subject"
+ACCOUNT_SET_CUSTOMER_PASSWORD_SUBJECT_FIELD = "account_set_customer_password_subject"
+ACCOUNT_DELETE_SUBJECT_FIELD = "account_delete_subject"
+ACCOUNT_CHANGE_EMAIL_CONFIRM_SUBJECT_FIELD = "account_change_email_confirm_subject"
+ACCOUNT_CHANGE_EMAIL_REQUEST_SUBJECT_FIELD = "account_change_email_request_subject"
+ACCOUNT_PASSWORD_RESET_SUBJECT_FIELD = "account_password_reset_subject"
+INVOICE_READY_SUBJECT_FIELD = "invoice_ready_subject"
+ORDER_CONFIRMATION_SUBJECT_FIELD = "order_confirmation_subject"
++ORDER_CONFIRMED_SUBJECT_FIELD = "order_confirmed_subject"
+ORDER_FULFILLMENT_CONFIRMATION_SUBJECT_FIELD = "order_fulfillment_confirmation_subject"
+ORDER_FULFILLMENT_UPDATE_SUBJECT_FIELD = "order_fulfillment_update_subject"
+ORDER_PAYMENT_CONFIRMATION_SUBJECT_FIELD = "order_payment_confirmation_subject"
+ORDER_CANCELED_SUBJECT_FIELD = "order_canceled_subject"
+ORDER_REFUND_CONFIRMATION_SUBJECT_FIELD = "order_refund_confirmation_subject"
+
+
+ACCOUNT_CONFIRMATION_DEFAULT_SUBJECT = "Account confirmation e-mail"
+ACCOUNT_SET_CUSTOMER_PASSWORD_DEFAULT_SUBJECT = "Hello from {{ site_name }}!"
+ACCOUNT_DELETE_DEFAULT_SUBJECT = "Delete your account"
+ACCOUNT_CHANGE_EMAIL_CONFIRM_DEFAULT_SUBJECT = "Email change e-mail"
+ACCOUNT_CHANGE_EMAIL_REQUEST_DEFAULT_SUBJECT = "Email change e-mail"
+ACCOUNT_PASSWORD_RESET_DEFAULT_SUBJECT = "Password reset e-mail"
+INVOICE_READY_DEFAULT_SUBJECT = "Invoice"
+ORDER_CONFIRMATION_DEFAULT_SUBJECT = "Order #{{ order.id }} details"
++ORDER_CONFIRMED_DEFAULT_SUBJECT = "Order #{{ order.id }} confirmed"
+ORDER_FULFILLMENT_CONFIRMATION_DEFAULT_SUBJECT = (
+ "Your order {{ id }} has been fulfilled"
+)
+ORDER_FULFILLMENT_UPDATE_DEFAULT_SUBJECT = "Shipping update for order {{ order.id }}"
+ORDER_PAYMENT_CONFIRMATION_DEFAULT_SUBJECT = "Order {{ order.id }} payment details"
+ORDER_CANCELED_DEFAULT_SUBJECT = "Order {{ order.id }} canceled"
+ORDER_REFUND_CONFIRMATION_DEFAULT_SUBJECT = "Order {{ order.id }} refunded"
diff --cc saleor/plugins/user_email/notify_events.py
index bfdbdaa720,0000000000..f695478028
mode 100644,000000..100644
--- a/saleor/plugins/user_email/notify_events.py
+++ b/saleor/plugins/user_email/notify_events.py
@@@ -1,86 -1,0 +1,92 @@@
+from .tasks import (
+ send_account_confirmation_email_task,
+ send_account_delete_confirmation_email_task,
+ send_fulfillment_confirmation_email_task,
+ send_fulfillment_update_email_task,
+ send_invoice_email_task,
+ send_order_canceled_email_task,
+ send_order_confirmation_email_task,
++ send_order_confirmed_email_task,
+ send_order_refund_email_task,
+ send_password_reset_email_task,
+ send_payment_confirmation_email_task,
+ send_request_email_change_email_task,
+ send_set_user_password_email_task,
+ send_user_change_email_notification_task,
+)
+
+
+def send_account_password_reset_event(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_password_reset_email_task.delay(
+ recipient_email, payload, config,
+ )
+
+
+def send_account_confirmation(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_account_confirmation_email_task.delay(recipient_email, payload, config)
+
+
+def send_account_change_email_request(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_request_email_change_email_task.delay(
+ recipient_email, payload, config,
+ )
+
+
+def send_account_change_email_confirm(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_user_change_email_notification_task.delay(recipient_email, payload, config)
+
+
+def send_account_delete(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_account_delete_confirmation_email_task.delay(recipient_email, payload, config)
+
+
+def send_account_set_customer_password(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_set_user_password_email_task.delay(recipient_email, payload, config)
+
+
+def send_invoice(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_invoice_email_task.delay(
+ recipient_email, payload, config,
+ )
+
+
+def send_order_confirmation(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_order_confirmation_email_task.delay(recipient_email, payload, config)
+
+
+def send_fulfillment_confirmation(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_fulfillment_confirmation_email_task.delay(recipient_email, payload, config)
+
+
+def send_fulfillment_update(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_fulfillment_update_email_task.delay(recipient_email, payload, config)
+
+
+def send_payment_confirmation(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_payment_confirmation_email_task.delay(recipient_email, payload, config)
+
+
+def send_order_canceled(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_order_canceled_email_task.delay(recipient_email, payload, config)
+
+
+def send_order_refund(payload: dict, config: dict):
+ recipient_email = payload["recipient_email"]
+ send_order_refund_email_task.delay(recipient_email, payload, config)
++
++
++def send_order_confirmed(payload: dict, config: dict):
++ recipient_email = payload["recipient_email"]
++ send_order_confirmed_email_task.delay(recipient_email, payload, config)
diff --cc saleor/plugins/user_email/plugin.py
index 527353c05a,0000000000..d389008d5b
mode 100644,000000..100644
--- a/saleor/plugins/user_email/plugin.py
+++ b/saleor/plugins/user_email/plugin.py
@@@ -1,405 -1,0 +1,428 @@@
+import logging
+from dataclasses import asdict, dataclass
+from typing import Optional
+
+from ...core.notify_events import NotifyEventType, UserNotifyEvent
+from ..base_plugin import BasePlugin, ConfigurationTypeField
+from ..email_common import (
+ DEFAULT_EMAIL_CONFIG_STRUCTURE,
+ DEFAULT_EMAIL_CONFIGURATION,
+ DEFAULT_EMAIL_VALUE,
+ DEFAULT_SUBJECT_MESSAGE,
+ DEFAULT_TEMPLATE_MESSAGE,
+ EmailConfig,
+ validate_default_email_configuration,
+)
+from ..models import PluginConfiguration
+from . import constants
+from .notify_events import (
+ send_account_change_email_confirm,
+ send_account_change_email_request,
+ send_account_confirmation,
+ send_account_delete,
+ send_account_password_reset_event,
+ send_account_set_customer_password,
+ send_fulfillment_confirmation,
+ send_fulfillment_update,
+ send_invoice,
+ send_order_canceled,
+ send_order_confirmation,
++ send_order_confirmed,
+ send_order_refund,
+ send_payment_confirmation,
+)
+
+logger = logging.getLogger(__name__)
+
+
+@dataclass
+class UserTemplate:
+ account_confirmation: Optional[str]
+ account_set_customer_password: Optional[str]
+ account_delete: Optional[str]
+ account_change_email_confirm: Optional[str]
+ account_change_email_request: Optional[str]
+ account_password_reset: Optional[str]
+ invoice_ready: Optional[str]
+ order_confirmation: Optional[str]
++ order_confirmed: Optional[str]
+ order_fulfillment_confirmation: Optional[str]
+ order_fulfillment_update: Optional[str]
+ order_payment_confirmation: Optional[str]
+ order_canceled: Optional[str]
+ order_refund_confirmation: Optional[str]
+
+
+def get_user_template_map(templates: UserTemplate):
+ return {
+ UserNotifyEvent.ACCOUNT_CONFIRMATION: templates.account_confirmation,
+ UserNotifyEvent.ACCOUNT_SET_CUSTOMER_PASSWORD: (
+ templates.account_set_customer_password
+ ),
+ UserNotifyEvent.ACCOUNT_DELETE: templates.account_delete,
+ UserNotifyEvent.ACCOUNT_CHANGE_EMAIL_CONFIRM: (
+ templates.account_change_email_confirm
+ ),
+ UserNotifyEvent.ACCOUNT_CHANGE_EMAIL_REQUEST: (
+ templates.account_change_email_request
+ ),
+ UserNotifyEvent.ACCOUNT_PASSWORD_RESET: templates.account_password_reset,
+ UserNotifyEvent.INVOICE_READY: templates.invoice_ready,
+ UserNotifyEvent.ORDER_CONFIRMATION: templates.order_confirmation,
++ UserNotifyEvent.ORDER_CONFIRMED: templates.order_confirmed,
+ UserNotifyEvent.ORDER_FULFILLMENT_CONFIRMATION: (
+ templates.order_fulfillment_confirmation
+ ),
+ UserNotifyEvent.ORDER_FULFILLMENT_UPDATE: templates.order_fulfillment_update,
+ UserNotifyEvent.ORDER_PAYMENT_CONFIRMATION: (
+ templates.order_payment_confirmation
+ ),
+ UserNotifyEvent.ORDER_CANCELED: templates.order_canceled,
+ UserNotifyEvent.ORDER_REFUND_CONFIRMATION: templates.order_refund_confirmation,
+ }
+
+
+def get_user_event_map():
+ return {
+ UserNotifyEvent.ACCOUNT_CONFIRMATION: send_account_confirmation,
+ UserNotifyEvent.ACCOUNT_SET_CUSTOMER_PASSWORD: (
+ send_account_set_customer_password
+ ),
+ UserNotifyEvent.ACCOUNT_DELETE: send_account_delete,
+ UserNotifyEvent.ACCOUNT_CHANGE_EMAIL_CONFIRM: send_account_change_email_confirm,
+ UserNotifyEvent.ACCOUNT_CHANGE_EMAIL_REQUEST: send_account_change_email_request,
+ UserNotifyEvent.ACCOUNT_PASSWORD_RESET: send_account_password_reset_event,
+ UserNotifyEvent.INVOICE_READY: send_invoice,
+ UserNotifyEvent.ORDER_CONFIRMATION: send_order_confirmation,
++ UserNotifyEvent.ORDER_CONFIRMED: send_order_confirmed,
+ UserNotifyEvent.ORDER_FULFILLMENT_CONFIRMATION: send_fulfillment_confirmation,
+ UserNotifyEvent.ORDER_FULFILLMENT_UPDATE: send_fulfillment_update,
+ UserNotifyEvent.ORDER_PAYMENT_CONFIRMATION: send_payment_confirmation,
+ UserNotifyEvent.ORDER_CANCELED: send_order_canceled,
+ UserNotifyEvent.ORDER_REFUND_CONFIRMATION: send_order_refund,
+ }
+
+
+class UserEmailPlugin(BasePlugin):
+ PLUGIN_ID = constants.PLUGIN_ID
+ PLUGIN_NAME = "User emails"
+ # TODO the configuration will be implemented in separate pull request
+
+ DEFAULT_CONFIGURATION = [
+ {
+ "name": constants.ACCOUNT_CONFIRMATION_SUBJECT_FIELD,
+ "value": constants.ACCOUNT_CONFIRMATION_DEFAULT_SUBJECT,
+ },
+ {
+ "name": constants.ACCOUNT_CONFIRMATION_TEMPLATE_FIELD,
+ "value": DEFAULT_EMAIL_VALUE,
+ },
+ {
+ "name": constants.ACCOUNT_SET_CUSTOMER_PASSWORD_SUBJECT_FIELD,
+ "value": constants.ACCOUNT_SET_CUSTOMER_PASSWORD_DEFAULT_SUBJECT,
+ },
+ {
+ "name": constants.ACCOUNT_SET_CUSTOMER_PASSWORD_TEMPLATE_FIELD,
+ "value": DEFAULT_EMAIL_VALUE,
+ },
+ {
+ "name": constants.ACCOUNT_DELETE_SUBJECT_FIELD,
+ "value": constants.ACCOUNT_DELETE_DEFAULT_SUBJECT,
+ },
+ {"name": constants.ACCOUNT_DELETE_TEMPLATE_FIELD, "value": DEFAULT_EMAIL_VALUE},
+ {
+ "name": constants.ACCOUNT_CHANGE_EMAIL_CONFIRM_SUBJECT_FIELD,
+ "value": constants.ACCOUNT_CHANGE_EMAIL_CONFIRM_DEFAULT_SUBJECT,
+ },
+ {
+ "name": constants.ACCOUNT_CHANGE_EMAIL_CONFIRM_TEMPLATE_FIELD,
+ "value": DEFAULT_EMAIL_VALUE,
+ },
+ {
+ "name": constants.ACCOUNT_CHANGE_EMAIL_REQUEST_SUBJECT_FIELD,
+ "value": constants.ACCOUNT_CHANGE_EMAIL_REQUEST_DEFAULT_SUBJECT,
+ },
+ {
+ "name": constants.ACCOUNT_CHANGE_EMAIL_REQUEST_TEMPLATE_FIELD,
+ "value": DEFAULT_EMAIL_VALUE,
+ },
+ {
+ "name": constants.ACCOUNT_PASSWORD_RESET_SUBJECT_FIELD,
+ "value": constants.ACCOUNT_PASSWORD_RESET_DEFAULT_SUBJECT,
+ },
+ {
+ "name": constants.ACCOUNT_PASSWORD_RESET_TEMPLATE_FIELD,
+ "value": DEFAULT_EMAIL_VALUE,
+ },
+ {
+ "name": constants.INVOICE_READY_SUBJECT_FIELD,
+ "value": constants.INVOICE_READY_DEFAULT_SUBJECT,
+ },
+ {"name": constants.INVOICE_READY_TEMPLATE_FIELD, "value": DEFAULT_EMAIL_VALUE},
+ {
+ "name": constants.ORDER_CONFIRMATION_SUBJECT_FIELD,
+ "value": constants.ORDER_CONFIRMATION_DEFAULT_SUBJECT,
+ },
+ {
+ "name": constants.ORDER_CONFIRMATION_TEMPLATE_FIELD,
+ "value": DEFAULT_EMAIL_VALUE,
+ },
++ {
++ "name": constants.ORDER_CONFIRMED_SUBJECT_FIELD,
++ "value": constants.ORDER_CONFIRMED_DEFAULT_SUBJECT,
++ },
++ {
++ "name": constants.ORDER_CONFIRMED_TEMPLATE_FIELD,
++ "value": DEFAULT_EMAIL_VALUE,
++ },
+ {
+ "name": constants.ORDER_FULFILLMENT_CONFIRMATION_SUBJECT_FIELD,
+ "value": constants.ORDER_FULFILLMENT_CONFIRMATION_DEFAULT_SUBJECT,
+ },
+ {
+ "name": constants.ORDER_FULFILLMENT_CONFIRMATION_TEMPLATE_FIELD,
+ "value": DEFAULT_EMAIL_VALUE,
+ },
+ {
+ "name": constants.ORDER_FULFILLMENT_UPDATE_SUBJECT_FIELD,
+ "value": constants.ORDER_FULFILLMENT_UPDATE_DEFAULT_SUBJECT,
+ },
+ {
+ "name": constants.ORDER_FULFILLMENT_UPDATE_TEMPLATE_FIELD,
+ "value": DEFAULT_EMAIL_VALUE,
+ },
+ {
+ "name": constants.ORDER_PAYMENT_CONFIRMATION_SUBJECT_FIELD,
+ "value": constants.ORDER_PAYMENT_CONFIRMATION_DEFAULT_SUBJECT,
+ },
+ {
+ "name": constants.ORDER_PAYMENT_CONFIRMATION_TEMPLATE_FIELD,
+ "value": DEFAULT_EMAIL_VALUE,
+ },
+ {
+ "name": constants.ORDER_CANCELED_SUBJECT_FIELD,
+ "value": constants.ORDER_CANCELED_DEFAULT_SUBJECT,
+ },
+ {"name": constants.ORDER_CANCELED_TEMPLATE_FIELD, "value": DEFAULT_EMAIL_VALUE},
+ {
+ "name": constants.ORDER_REFUND_CONFIRMATION_SUBJECT_FIELD,
+ "value": constants.ORDER_REFUND_CONFIRMATION_DEFAULT_SUBJECT,
+ },
+ {
+ "name": constants.ORDER_REFUND_CONFIRMATION_TEMPLATE_FIELD,
+ "value": DEFAULT_EMAIL_VALUE,
+ },
+ ] + DEFAULT_EMAIL_CONFIGURATION # type: ignore
+
+ CONFIG_STRUCTURE = {
+ constants.ACCOUNT_CONFIRMATION_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Account confirmation - subject",
+ },
+ constants.ACCOUNT_CONFIRMATION_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Account confirmation - template",
+ },
+ constants.ACCOUNT_SET_CUSTOMER_PASSWORD_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Set customer password - subject",
+ },
+ constants.ACCOUNT_SET_CUSTOMER_PASSWORD_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Set customer password - template",
+ },
+ constants.ACCOUNT_DELETE_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Account delete - subject",
+ },
+ constants.ACCOUNT_DELETE_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Account delete - template",
+ },
+ constants.ACCOUNT_CHANGE_EMAIL_CONFIRM_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Account change email confirm - subject",
+ },
+ constants.ACCOUNT_CHANGE_EMAIL_CONFIRM_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Account change email confirm - template",
+ },
+ constants.ACCOUNT_CHANGE_EMAIL_REQUEST_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Account change email request - subject",
+ },
+ constants.ACCOUNT_CHANGE_EMAIL_REQUEST_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Account change email request - template",
+ },
+ constants.ACCOUNT_PASSWORD_RESET_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Account password reset - subject",
+ },
+ constants.ACCOUNT_PASSWORD_RESET_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Account password reset - template",
+ },
+ constants.INVOICE_READY_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Invoice ready - subject",
+ },
+ constants.INVOICE_READY_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Invoice ready - template",
+ },
+ constants.ORDER_CONFIRMATION_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Order confirmation - subject",
+ },
+ constants.ORDER_CONFIRMATION_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Order confirmation - template",
+ },
++ constants.ORDER_CONFIRMED_SUBJECT_FIELD: {
++ "type": ConfigurationTypeField.STRING,
++ "help_text": DEFAULT_SUBJECT_MESSAGE,
++ "label": "Order confirmed - subject",
++ },
++ constants.ORDER_CONFIRMED_TEMPLATE_FIELD: {
++ "type": ConfigurationTypeField.STRING,
++ "help_text": DEFAULT_TEMPLATE_MESSAGE,
++ "label": "Order confirmed - template",
++ },
+ constants.ORDER_FULFILLMENT_CONFIRMATION_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Order fulfillment confirmation - subject",
+ },
+ constants.ORDER_FULFILLMENT_CONFIRMATION_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Order fulfillment confirmation - template",
+ },
+ constants.ORDER_FULFILLMENT_UPDATE_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Order fulfillment update - subject",
+ },
+ constants.ORDER_FULFILLMENT_UPDATE_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Order fulfillment update - template",
+ },
+ constants.ORDER_PAYMENT_CONFIRMATION_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Payment confirmation - subject",
+ },
+ constants.ORDER_PAYMENT_CONFIRMATION_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Payment confirmation - template",
+ },
+ constants.ORDER_CANCELED_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Order canceled - subject",
+ },
+ constants.ORDER_CANCELED_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Order canceled - template",
+ },
+ constants.ORDER_REFUND_CONFIRMATION_SUBJECT_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_SUBJECT_MESSAGE,
+ "label": "Order refund - subject",
+ },
+ constants.ORDER_REFUND_CONFIRMATION_TEMPLATE_FIELD: {
+ "type": ConfigurationTypeField.STRING,
+ "help_text": DEFAULT_TEMPLATE_MESSAGE,
+ "label": "Order refund - template",
+ },
+ }
+ CONFIG_STRUCTURE.update(DEFAULT_EMAIL_CONFIG_STRUCTURE)
+
+ def __init__(self, *args, **kwargs):
+ super().__init__(*args, **kwargs)
+ configuration = {item["name"]: item["value"] for item in self.configuration}
+ self.config = EmailConfig(
+ host=configuration["host"],
+ port=configuration["port"],
+ username=configuration["username"],
+ password=configuration["password"],
+ sender_name=configuration["sender_name"],
+ sender_address=configuration["sender_address"],
+ use_tls=configuration["use_tls"],
+ use_ssl=configuration["use_ssl"],
+ )
+ self.templates = UserTemplate(
+ account_confirmation=configuration[
+ constants.ACCOUNT_CONFIRMATION_TEMPLATE_FIELD
+ ],
+ account_set_customer_password=configuration[
+ constants.ACCOUNT_SET_CUSTOMER_PASSWORD_TEMPLATE_FIELD
+ ],
+ account_delete=configuration[constants.ACCOUNT_DELETE_TEMPLATE_FIELD],
+ account_change_email_confirm=configuration[
+ constants.ACCOUNT_CHANGE_EMAIL_CONFIRM_TEMPLATE_FIELD
+ ],
+ account_change_email_request=configuration[
+ constants.ACCOUNT_CHANGE_EMAIL_REQUEST_TEMPLATE_FIELD
+ ],
+ account_password_reset=configuration[
+ constants.ACCOUNT_PASSWORD_RESET_TEMPLATE_FIELD
+ ],
+ invoice_ready=configuration[constants.INVOICE_READY_TEMPLATE_FIELD],
+ order_confirmation=configuration[
+ constants.ORDER_CONFIRMATION_TEMPLATE_FIELD
+ ],
++ order_confirmed=configuration[constants.ORDER_CONFIRMED_TEMPLATE_FIELD],
+ order_fulfillment_confirmation=configuration[
+ constants.ORDER_FULFILLMENT_CONFIRMATION_TEMPLATE_FIELD
+ ],
+ order_fulfillment_update=configuration[
+ constants.ORDER_FULFILLMENT_UPDATE_TEMPLATE_FIELD
+ ],
+ order_payment_confirmation=configuration[
+ constants.ORDER_PAYMENT_CONFIRMATION_TEMPLATE_FIELD
+ ],
+ order_canceled=configuration[constants.ORDER_CANCELED_TEMPLATE_FIELD],
+ order_refund_confirmation=configuration[
+ constants.ORDER_REFUND_CONFIRMATION_TEMPLATE_FIELD
+ ],
+ )
+
+ def notify(self, event: NotifyEventType, payload: dict, previous_value):
+ if not self.active:
+ return previous_value
+ event_map = get_user_event_map()
+ if event not in UserNotifyEvent.CHOICES:
+ return previous_value
+ if event not in event_map:
+ logger.warning(f"Missing handler for event {event}")
+ return previous_value
+ template_map = get_user_template_map(self.templates)
+ if not template_map.get(event):
+ return previous_value
+ event_map[event](payload, asdict(self.config)) # type: ignore
+
+ @classmethod
+ def validate_plugin_configuration(cls, plugin_configuration: "PluginConfiguration"):
+ """Validate if provided configuration is correct."""
+ validate_default_email_configuration(plugin_configuration)
diff --cc saleor/plugins/user_email/tasks.py
index 287d27d63f,0000000000..fb6508ce5c
mode 100644,000000..100644
--- a/saleor/plugins/user_email/tasks.py
+++ b/saleor/plugins/user_email/tasks.py
@@@ -1,342 -1,0 +1,373 @@@
+from ...account import events as account_events
+from ...celeryconf import app
++from ...order import events as order_events
+from ..email_common import (
+ EmailConfig,
+ get_email_subject,
+ get_email_template_or_default,
+ send_email,
+)
+from . import constants
+
+
+def send_account_confirmation_email_task(recipient_email, payload, config):
+ email_config = EmailConfig(**config)
+
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.ACCOUNT_CONFIRMATION_TEMPLATE_FIELD,
+ constants.ACCOUNT_CONFIRMATION_DEFAULT_TEMPLATE,
+ )
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.ACCOUNT_CONFIRMATION_SUBJECT_FIELD,
+ constants.ACCOUNT_CONFIRMATION_DEFAULT_SUBJECT,
+ )
+
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
+
+
+def send_password_reset_email_task(recipient_email, payload, config):
+ user_id = payload.get("user", {}).get("id")
+ email_config = EmailConfig(**config)
+
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.ACCOUNT_PASSWORD_RESET_TEMPLATE_FIELD,
+ constants.ACCOUNT_PASSWORD_RESET_DEFAULT_TEMPLATE,
+ )
+
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.ACCOUNT_PASSWORD_RESET_SUBJECT_FIELD,
+ constants.ACCOUNT_PASSWORD_RESET_DEFAULT_SUBJECT,
+ )
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
+ account_events.customer_password_reset_link_sent_event(user_id=user_id)
+
+
+def send_request_email_change_email_task(recipient_email, payload, config):
+ user_id = payload.get("user", {}).get("id")
+ email_config = EmailConfig(**config)
+
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.ACCOUNT_CHANGE_EMAIL_REQUEST_TEMPLATE_FIELD,
+ constants.ACCOUNT_CHANGE_EMAIL_REQUEST_DEFAULT_TEMPLATE,
+ )
+
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.ACCOUNT_CHANGE_EMAIL_REQUEST_SUBJECT_FIELD,
+ constants.ACCOUNT_CHANGE_EMAIL_REQUEST_DEFAULT_SUBJECT,
+ )
+
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
+ account_events.customer_email_change_request_event(
+ user_id=user_id,
+ parameters={
+ "old_email": payload.get("old_email"),
+ "new_email": recipient_email,
+ },
+ )
+
+
+def send_user_change_email_notification_task(recipient_email, payload, config):
+ email_config = EmailConfig(**config)
+
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.ACCOUNT_CHANGE_EMAIL_CONFIRM_TEMPLATE_FIELD,
+ constants.ACCOUNT_CHANGE_EMAIL_CONFIRM_DEFAULT_TEMPLATE,
+ )
+
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.ACCOUNT_CHANGE_EMAIL_CONFIRM_SUBJECT_FIELD,
+ constants.ACCOUNT_CHANGE_EMAIL_CONFIRM_DEFAULT_SUBJECT,
+ )
+
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
+
+
+def send_account_delete_confirmation_email_task(recipient_email, payload, config):
+ email_config = EmailConfig(**config)
+
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.ACCOUNT_DELETE_TEMPLATE_FIELD,
+ constants.ACCOUNT_DELETE_DEFAULT_TEMPLATE,
+ )
+
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.ACCOUNT_DELETE_SUBJECT_FIELD,
+ constants.ACCOUNT_DELETE_DEFAULT_SUBJECT,
+ )
+
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
+
+
+def send_set_user_password_email_task(recipient_email, payload, config):
+ email_config = EmailConfig(**config)
+
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.ACCOUNT_SET_CUSTOMER_PASSWORD_TEMPLATE_FIELD,
+ constants.ACCOUNT_SET_CUSTOMER_PASSWORD_DEFAULT_TEMPLATE,
+ )
+
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.ACCOUNT_SET_CUSTOMER_PASSWORD_SUBJECT_FIELD,
+ constants.ACCOUNT_SET_CUSTOMER_PASSWORD_DEFAULT_SUBJECT,
+ )
+
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
+
+
+def send_invoice_email_task(recipient_email, payload, config):
+ """Send an invoice to user of related order with URL to download it."""
+ email_config = EmailConfig(**config)
+
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.INVOICE_READY_TEMPLATE_FIELD,
+ constants.INVOICE_READY_DEFAULT_TEMPLATE,
+ )
+
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.INVOICE_READY_SUBJECT_FIELD,
+ constants.INVOICE_READY_DEFAULT_SUBJECT,
+ )
+
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
+
+
+def send_order_confirmation_email_task(recipient_email, payload, config):
+ """Send order confirmation email."""
+ email_config = EmailConfig(**config)
+
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.ORDER_CONFIRMATION_TEMPLATE_FIELD,
+ constants.ORDER_CONFIRMATION_DEFAULT_TEMPLATE,
+ )
+
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.ORDER_CONFIRMATION_SUBJECT_FIELD,
+ constants.ORDER_CONFIRMATION_DEFAULT_SUBJECT,
+ )
+
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
+
+
+def send_fulfillment_confirmation_email_task(recipient_email, payload, config):
+ email_config = EmailConfig(**config)
+
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.ORDER_FULFILLMENT_CONFIRMATION_TEMPLATE_FIELD,
+ constants.ORDER_FULFILLMENT_CONFIRMATION_DEFAULT_TEMPLATE,
+ )
+
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.ORDER_FULFILLMENT_CONFIRMATION_SUBJECT_FIELD,
+ constants.ORDER_FULFILLMENT_CONFIRMATION_DEFAULT_SUBJECT,
+ )
+
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
+
+
+def send_fulfillment_update_email_task(recipient_email, payload, config):
+ email_config = EmailConfig(**config)
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.ORDER_FULFILLMENT_UPDATE_TEMPLATE_FIELD,
+ constants.ORDER_FULFILLMENT_UPDATE_DEFAULT_TEMPLATE,
+ )
+
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.ORDER_FULFILLMENT_UPDATE_SUBJECT_FIELD,
+ constants.ORDER_FULFILLMENT_UPDATE_DEFAULT_SUBJECT,
+ )
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
+
+
+def send_payment_confirmation_email_task(recipient_email, payload, config):
+ email_config = EmailConfig(**config)
+
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.ORDER_PAYMENT_CONFIRMATION_TEMPLATE_FIELD,
+ constants.ORDER_PAYMENT_CONFIRMATION_DEFAULT_TEMPLATE,
+ )
+
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.ORDER_PAYMENT_CONFIRMATION_SUBJECT_FIELD,
+ constants.ORDER_PAYMENT_CONFIRMATION_DEFAULT_SUBJECT,
+ )
+
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
+
+
+def send_order_canceled_email_task(recipient_email, payload, config):
+ email_config = EmailConfig(**config)
+
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.ORDER_CANCELED_TEMPLATE_FIELD,
+ constants.ORDER_CANCELED_DEFAULT_TEMPLATE,
+ )
+
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.ORDER_CANCELED_SUBJECT_FIELD,
+ constants.ORDER_CANCELED_DEFAULT_SUBJECT,
+ )
+
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
+
+
+def send_order_refund_email_task(recipient_email, payload, config):
+ email_config = EmailConfig(**config)
+
+ email_template_str = get_email_template_or_default(
+ constants.PLUGIN_ID,
+ constants.ORDER_REFUND_CONFIRMATION_TEMPLATE_FIELD,
+ constants.ORDER_REFUND_CONFIRMATION_DEFAULT_TEMPLATE,
+ )
+
+ subject = get_email_subject(
+ constants.PLUGIN_ID,
+ constants.ORDER_REFUND_CONFIRMATION_SUBJECT_FIELD,
+ constants.ORDER_REFUND_CONFIRMATION_DEFAULT_SUBJECT,
+ )
+
+ send_email(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=subject,
+ template_str=email_template_str,
+ )
++
++
++def send_order_confirmed_email_task(recipient_email, payload, config):
++ email_config = EmailConfig(**config)
++
++ email_template_str = get_email_template_or_default(
++ constants.PLUGIN_ID,
++ constants.ORDER_CONFIRMED_TEMPLATE_FIELD,
++ constants.ORDER_CONFIRMED_DEFAULT_TEMPLATE,
++ )
++
++ subject = get_email_subject(
++ constants.PLUGIN_ID,
++ constants.ORDER_CONFIRMED_SUBJECT_FIELD,
++ constants.ORDER_CONFIRMED_DEFAULT_SUBJECT,
++ )
++
++ send_email(
++ config=email_config,
++ recipient_list=[recipient_email],
++ context=payload,
++ subject=subject,
++ template_str=email_template_str,
++ )
++ order_events.event_order_confirmed_notification(
++ order_id=payload.get("order", {}).get("id"),
++ user_id=payload.get("requester_user_id"),
++ customer_email=recipient_email,
++ )
diff --cc saleor/plugins/user_email/tests/conftest.py
index 218e62332f,0000000000..56b64dfe01
mode 100644,000000..100644
--- a/saleor/plugins/user_email/tests/conftest.py
+++ b/saleor/plugins/user_email/tests/conftest.py
@@@ -1,231 -1,0 +1,244 @@@
+from unittest.mock import patch
+
+import pytest
+
+from ...email_common import DEFAULT_EMAIL_VALUE
+from ...manager import get_plugins_manager
+from ..constants import (
+ ACCOUNT_CHANGE_EMAIL_CONFIRM_DEFAULT_SUBJECT,
+ ACCOUNT_CHANGE_EMAIL_CONFIRM_SUBJECT_FIELD,
+ ACCOUNT_CHANGE_EMAIL_CONFIRM_TEMPLATE_FIELD,
+ ACCOUNT_CHANGE_EMAIL_REQUEST_DEFAULT_SUBJECT,
+ ACCOUNT_CHANGE_EMAIL_REQUEST_SUBJECT_FIELD,
+ ACCOUNT_CHANGE_EMAIL_REQUEST_TEMPLATE_FIELD,
+ ACCOUNT_CONFIRMATION_DEFAULT_SUBJECT,
+ ACCOUNT_CONFIRMATION_SUBJECT_FIELD,
+ ACCOUNT_CONFIRMATION_TEMPLATE_FIELD,
+ ACCOUNT_DELETE_DEFAULT_SUBJECT,
+ ACCOUNT_DELETE_SUBJECT_FIELD,
+ ACCOUNT_DELETE_TEMPLATE_FIELD,
+ ACCOUNT_PASSWORD_RESET_DEFAULT_SUBJECT,
+ ACCOUNT_PASSWORD_RESET_SUBJECT_FIELD,
+ ACCOUNT_PASSWORD_RESET_TEMPLATE_FIELD,
+ ACCOUNT_SET_CUSTOMER_PASSWORD_DEFAULT_SUBJECT,
+ ACCOUNT_SET_CUSTOMER_PASSWORD_SUBJECT_FIELD,
+ ACCOUNT_SET_CUSTOMER_PASSWORD_TEMPLATE_FIELD,
+ INVOICE_READY_DEFAULT_SUBJECT,
+ INVOICE_READY_SUBJECT_FIELD,
+ INVOICE_READY_TEMPLATE_FIELD,
+ ORDER_CANCELED_DEFAULT_SUBJECT,
+ ORDER_CANCELED_SUBJECT_FIELD,
+ ORDER_CANCELED_TEMPLATE_FIELD,
+ ORDER_CONFIRMATION_DEFAULT_SUBJECT,
+ ORDER_CONFIRMATION_SUBJECT_FIELD,
+ ORDER_CONFIRMATION_TEMPLATE_FIELD,
++ ORDER_CONFIRMED_DEFAULT_SUBJECT,
++ ORDER_CONFIRMED_SUBJECT_FIELD,
++ ORDER_CONFIRMED_TEMPLATE_FIELD,
+ ORDER_FULFILLMENT_CONFIRMATION_DEFAULT_SUBJECT,
+ ORDER_FULFILLMENT_CONFIRMATION_SUBJECT_FIELD,
+ ORDER_FULFILLMENT_CONFIRMATION_TEMPLATE_FIELD,
+ ORDER_FULFILLMENT_UPDATE_DEFAULT_SUBJECT,
+ ORDER_FULFILLMENT_UPDATE_SUBJECT_FIELD,
+ ORDER_FULFILLMENT_UPDATE_TEMPLATE_FIELD,
+ ORDER_PAYMENT_CONFIRMATION_DEFAULT_SUBJECT,
+ ORDER_PAYMENT_CONFIRMATION_SUBJECT_FIELD,
+ ORDER_PAYMENT_CONFIRMATION_TEMPLATE_FIELD,
+ ORDER_REFUND_CONFIRMATION_DEFAULT_SUBJECT,
+ ORDER_REFUND_CONFIRMATION_SUBJECT_FIELD,
+ ORDER_REFUND_CONFIRMATION_TEMPLATE_FIELD,
+)
+from ..plugin import UserEmailPlugin
+
+
+def user_email_dict_config():
+ return {
+ "host": "localhost",
+ "port": "1025",
+ "username": None,
+ "password": None,
+ "use_ssl": False,
+ "use_tls": False,
+ }
+
+
+def user_email_plugin(settings):
+ def fun(
+ host="localhost",
+ port="1025",
+ username=None,
+ password=None,
+ sender_name="Admin Name",
+ sender_address="[email protected]",
+ use_tls=False,
+ use_ssl=False,
+ active=True,
+ account_confirmation_template=DEFAULT_EMAIL_VALUE,
+ account_confirmation_subject=ACCOUNT_CONFIRMATION_DEFAULT_SUBJECT,
+ password_reset_template=DEFAULT_EMAIL_VALUE,
+ password_reset_subject=ACCOUNT_PASSWORD_RESET_DEFAULT_SUBJECT,
+ email_change_request_template=DEFAULT_EMAIL_VALUE,
+ email_change_request_subject=ACCOUNT_CHANGE_EMAIL_REQUEST_DEFAULT_SUBJECT,
+ email_change_confirm_template=DEFAULT_EMAIL_VALUE,
+ email_change_confirm_subject=ACCOUNT_CHANGE_EMAIL_CONFIRM_DEFAULT_SUBJECT,
+ account_delete_template=DEFAULT_EMAIL_VALUE,
+ account_delete_subject=ACCOUNT_DELETE_DEFAULT_SUBJECT,
+ account_set_password_template=DEFAULT_EMAIL_VALUE,
+ account_set_password_subject=ACCOUNT_SET_CUSTOMER_PASSWORD_DEFAULT_SUBJECT,
+ invoice_ready_template=DEFAULT_EMAIL_VALUE,
+ invoice_ready_subject=INVOICE_READY_DEFAULT_SUBJECT,
+ order_confirmation_template=DEFAULT_EMAIL_VALUE,
+ order_confirmation_subject=ORDER_CONFIRMATION_DEFAULT_SUBJECT,
++ order_confirmed_template=DEFAULT_EMAIL_VALUE,
++ order_confirmed_subject=ORDER_CONFIRMED_DEFAULT_SUBJECT,
+ fulfillment_confirmation_template=DEFAULT_EMAIL_VALUE,
+ fulfillment_confirmation_subject=ORDER_FULFILLMENT_CONFIRMATION_DEFAULT_SUBJECT,
+ fulfillment_update_template=DEFAULT_EMAIL_VALUE,
+ fulfillment_update_subject=ORDER_FULFILLMENT_UPDATE_DEFAULT_SUBJECT,
+ payment_confirmation_template=DEFAULT_EMAIL_VALUE,
+ payment_confirmation_subject=ORDER_PAYMENT_CONFIRMATION_DEFAULT_SUBJECT,
+ order_cancel_template=DEFAULT_EMAIL_VALUE,
+ order_cancel_subject=ORDER_CANCELED_DEFAULT_SUBJECT,
+ order_refund_template=DEFAULT_EMAIL_VALUE,
+ order_refund_subject=ORDER_REFUND_CONFIRMATION_DEFAULT_SUBJECT,
+ ):
+
+ settings.PLUGINS = ["saleor.plugins.user_email.plugin.UserEmailPlugin"]
+ manager = get_plugins_manager()
+ with patch(
+ "saleor.plugins.user_email.plugin.validate_default_email_configuration"
+ ):
+ manager.save_plugin_configuration(
+ UserEmailPlugin.PLUGIN_ID,
+ {
+ "active": active,
+ "configuration": [
+ {"name": "host", "value": host},
+ {"name": "port", "value": port},
+ {"name": "username", "value": username},
+ {"name": "password", "value": password},
+ {"name": "sender_name", "value": sender_name},
+ {"name": "sender_address", "value": sender_address},
+ {"name": "use_tls", "value": use_tls},
+ {"name": "use_ssl", "value": use_ssl},
+ {
+ "name": ACCOUNT_CONFIRMATION_TEMPLATE_FIELD,
+ "value": account_confirmation_template,
+ },
+ {
+ "name": ACCOUNT_CONFIRMATION_SUBJECT_FIELD,
+ "value": account_confirmation_subject,
+ },
+ {
+ "name": ACCOUNT_PASSWORD_RESET_TEMPLATE_FIELD,
+ "value": password_reset_template,
+ },
+ {
+ "name": ACCOUNT_PASSWORD_RESET_SUBJECT_FIELD,
+ "value": password_reset_subject,
+ },
+ {
+ "name": ACCOUNT_CHANGE_EMAIL_REQUEST_TEMPLATE_FIELD,
+ "value": email_change_request_template,
+ },
+ {
+ "name": ACCOUNT_CHANGE_EMAIL_REQUEST_SUBJECT_FIELD,
+ "value": email_change_request_subject,
+ },
+ {
+ "name": ACCOUNT_CHANGE_EMAIL_CONFIRM_TEMPLATE_FIELD,
+ "value": email_change_confirm_template,
+ },
+ {
+ "name": ACCOUNT_CHANGE_EMAIL_CONFIRM_SUBJECT_FIELD,
+ "value": email_change_confirm_subject,
+ },
+ {
+ "name": ACCOUNT_DELETE_TEMPLATE_FIELD,
+ "value": account_delete_template,
+ },
+ {
+ "name": ACCOUNT_DELETE_SUBJECT_FIELD,
+ "value": account_delete_subject,
+ },
+ {
+ "name": ACCOUNT_SET_CUSTOMER_PASSWORD_TEMPLATE_FIELD,
+ "value": account_set_password_template,
+ },
+ {
+ "name": ACCOUNT_SET_CUSTOMER_PASSWORD_SUBJECT_FIELD,
+ "value": account_set_password_subject,
+ },
+ {
+ "name": INVOICE_READY_TEMPLATE_FIELD,
+ "value": invoice_ready_template,
+ },
+ {
+ "name": INVOICE_READY_SUBJECT_FIELD,
+ "value": invoice_ready_subject,
+ },
+ {
+ "name": ORDER_CONFIRMATION_TEMPLATE_FIELD,
+ "value": order_confirmation_template,
+ },
+ {
+ "name": ORDER_CONFIRMATION_SUBJECT_FIELD,
+ "value": order_confirmation_subject,
+ },
++ {
++ "name": ORDER_CONFIRMED_TEMPLATE_FIELD,
++ "value": order_confirmed_template,
++ },
++ {
++ "name": ORDER_CONFIRMED_SUBJECT_FIELD,
++ "value": order_confirmed_subject,
++ },
+ {
+ "name": ORDER_FULFILLMENT_CONFIRMATION_TEMPLATE_FIELD,
+ "value": fulfillment_confirmation_template,
+ },
+ {
+ "name": ORDER_FULFILLMENT_CONFIRMATION_SUBJECT_FIELD,
+ "value": fulfillment_confirmation_subject,
+ },
+ {
+ "name": ORDER_FULFILLMENT_UPDATE_TEMPLATE_FIELD,
+ "value": fulfillment_update_template,
+ },
+ {
+ "name": ORDER_FULFILLMENT_UPDATE_SUBJECT_FIELD,
+ "value": fulfillment_update_subject,
+ },
+ {
+ "name": ORDER_PAYMENT_CONFIRMATION_TEMPLATE_FIELD,
+ "value": payment_confirmation_template,
+ },
+ {
+ "name": ORDER_PAYMENT_CONFIRMATION_SUBJECT_FIELD,
+ "value": payment_confirmation_subject,
+ },
+ {
+ "name": ORDER_CANCELED_TEMPLATE_FIELD,
+ "value": order_cancel_template,
+ },
+ {
+ "name": ORDER_CANCELED_SUBJECT_FIELD,
+ "value": order_cancel_subject,
+ },
+ {
+ "name": ORDER_REFUND_CONFIRMATION_TEMPLATE_FIELD,
+ "value": order_refund_template,
+ },
+ {
+ "name": ORDER_REFUND_CONFIRMATION_SUBJECT_FIELD,
+ "value": order_refund_subject,
+ },
+ ],
+ },
+ )
+ manager = get_plugins_manager()
+ return manager.plugins[0]
+
+ return fun
diff --cc saleor/plugins/user_email/tests/test_notify_events.py
index d7e53a875b,0000000000..1e5e40eea7
mode 100644,000000..100644
--- a/saleor/plugins/user_email/tests/test_notify_events.py
+++ b/saleor/plugins/user_email/tests/test_notify_events.py
@@@ -1,265 -1,0 +1,283 @@@
+from unittest import mock
+
+from ....account.notifications import get_default_user_payload
+from ....order.notifications import (
+ get_default_fulfillment_payload,
+ get_default_order_payload,
+)
+from ..notify_events import (
+ send_account_change_email_confirm,
+ send_account_change_email_request,
+ send_account_confirmation,
+ send_account_delete,
+ send_account_password_reset_event,
+ send_account_set_customer_password,
+ send_fulfillment_confirmation,
+ send_fulfillment_update,
+ send_invoice,
+ send_order_canceled,
+ send_order_confirmation,
++ send_order_confirmed,
+ send_order_refund,
+ send_payment_confirmation,
+)
+
+
+ "saleor.plugins.user_email.notify_events.send_password_reset_email_task.delay"
+)
+def test_send_account_password_reset_event(mocked_email_task, customer_user):
+ token = "token123"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": "[email protected]",
+ "token": token,
+ "reset_url": f"http://localhost:8000/redirect{token}",
+ "domain": "localhost:8000",
+ "site_name": "Saleor",
+ }
+ config = {"host": "localhost", "port": "1025"}
+ send_account_password_reset_event(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
+
+
+ "saleor.plugins.user_email.notify_events.send_account_confirmation_email_task.delay"
+)
+def test_send_account_confirmation(mocked_email_task, customer_user):
+ token = "token123"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": "[email protected]",
+ "token": token,
+ "confirm_url": f"http://localhost:8000/redirect{token}",
+ "domain": "localhost:8000",
+ "site_name": "Saleor",
+ }
+ config = {"host": "localhost", "port": "1025"}
+ send_account_confirmation(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
+
+
+ "saleor.plugins.user_email.notify_events.send_request_email_change_email_task.delay"
+)
+def test_send_account_change_email_request(mocked_email_task, customer_user):
+ token = "token123"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": "[email protected]",
+ "token": token,
+ "redirect_url": f"http://localhost:8000/redirect{token}",
+ "old_email": "[email protected]",
+ "new_email": "[email protected]",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+ config = {"host": "localhost", "port": "1025"}
+ send_account_change_email_request(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
+
+
+ "saleor.plugins.user_email.notify_events.send_user_change_email_notification_task."
+ "delay"
+)
+def test_send_account_change_email_confirm(mocked_email_task, customer_user):
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": "[email protected]",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+ config = {"host": "localhost", "port": "1025"}
+ send_account_change_email_confirm(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
+
+
+ "saleor.plugins.user_email.notify_events."
+ "send_account_delete_confirmation_email_task.delay"
+)
+def test_send_account_delete(mocked_email_task, customer_user):
+ token = "token123"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": "[email protected]",
+ "token": token,
+ "delete_url": f"http://localhost:8000/redirect{token}",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+ config = {"host": "localhost", "port": "1025"}
+ send_account_delete(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
+
+
+ "saleor.plugins.user_email.notify_events.send_set_user_password_email_task.delay"
+)
+def test_send_account_set_customer_password(mocked_email_task, customer_user):
+ token = "token123"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": "[email protected]",
+ "token": token,
+ "password_set_url": f"http://localhost:8000/redirect{token}",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+ config = {"host": "localhost", "port": "1025"}
+ send_account_set_customer_password(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
+
+
[email protected]("saleor.plugins.user_email.notify_events.send_invoice_email_task.delay")
+def test_send_invoice(mocked_email_task,):
+ payload = {
+ "invoice": {
+ "id": 1,
+ "number": 999,
+ "download_url": "http://localhost:8000/download",
+ },
+ "recipient_email": "[email protected]",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+ config = {"host": "localhost", "port": "1025"}
+ send_invoice(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
+
+
+ "saleor.plugins.user_email.notify_events.send_order_confirmation_email_task.delay"
+)
+def test_send_order_confirmation(mocked_email_task, order):
+ payload = {
+ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
+ "recipient_email": "[email protected]",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+ config = {"host": "localhost", "port": "1025"}
+ send_order_confirmation(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
+
+
+ "saleor.plugins.user_email.notify_events.send_fulfillment_confirmation_email_task."
+ "delay"
+)
+def test_send_fulfillment_confirmation(mocked_email_task, order, fulfillment):
+ payload = get_default_fulfillment_payload(order, fulfillment)
+ config = {"host": "localhost", "port": "1025"}
+ send_fulfillment_confirmation(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
+
+
+ "saleor.plugins.user_email.notify_events.send_fulfillment_update_email_task.delay"
+)
+def test_send_fulfillment_update(mocked_email_task, order, fulfillment):
+ payload = get_default_fulfillment_payload(order, fulfillment)
+ config = {"host": "localhost", "port": "1025"}
+ send_fulfillment_update(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
+
+
+ "saleor.plugins.user_email.notify_events.send_payment_confirmation_email_task.delay"
+)
+def test_send_payment_confirmation(mocked_email_task, order, payment_dummy):
+ payload = {
+ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
+ "recipient_email": "[email protected]",
+ "payment": {
+ "created": payment_dummy.created,
+ "modified": payment_dummy.modified,
+ "charge_status": payment_dummy.charge_status,
+ "total": payment_dummy.total,
+ "captured_amount": payment_dummy.captured_amount,
+ "currency": payment_dummy.currency,
+ },
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+ config = {"host": "localhost", "port": "1025"}
+ send_payment_confirmation(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
+
+
+ "saleor.plugins.user_email.notify_events.send_order_canceled_email_task.delay"
+)
+def test_send_order_canceled(mocked_email_task, order):
+ payload = {
+ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
+ "recipient_email": "[email protected]",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+ config = {"host": "localhost", "port": "1025"}
+ send_order_canceled(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
+
+
+ "saleor.plugins.user_email.notify_events.send_order_refund_email_task.delay"
+)
+def test_send_order_refund(mocked_email_task, order):
+ payload = {
+ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
+ "recipient_email": "[email protected]",
+ "amount": order.total_gross_amount,
+ "currency": order.currency,
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+ config = {"host": "localhost", "port": "1025"}
+ send_order_refund(
+ payload=payload, config=config,
+ )
+ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
++
++
++ "saleor.plugins.user_email.notify_events.send_order_confirmed_email_task.delay"
++)
++def test_send_order_confirmed(mocked_email_task, order):
++ payload = {
++ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
++ "recipient_email": "[email protected]",
++ "site_name": "Saleor",
++ "domain": "localhost:8000",
++ }
++ config = {"host": "localhost", "port": "1025"}
++ send_order_confirmed(
++ payload=payload, config=config,
++ )
++ mocked_email_task.assert_called_with(payload["recipient_email"], payload, config)
diff --cc saleor/plugins/user_email/tests/test_plugin.py
index aba2a1fbe2,0000000000..5795fa50b0
mode 100644,000000..100644
--- a/saleor/plugins/user_email/tests/test_plugin.py
+++ b/saleor/plugins/user_email/tests/test_plugin.py
@@@ -1,174 -1,0 +1,176 @@@
+from dataclasses import asdict
+from smtplib import SMTPNotSupportedError
+from unittest.mock import MagicMock, Mock, patch
+
+import pytest
+from django.core.exceptions import ValidationError
+from django.core.mail.backends.smtp import EmailBackend
+
+from ....core.notify_events import NotifyEventType
+from ...models import PluginConfiguration
+from ..notify_events import (
+ send_account_change_email_confirm,
+ send_account_change_email_request,
+ send_account_confirmation,
+ send_account_delete,
+ send_account_password_reset_event,
+ send_account_set_customer_password,
+ send_fulfillment_confirmation,
+ send_fulfillment_update,
+ send_invoice,
+ send_order_canceled,
+ send_order_confirmation,
++ send_order_confirmed,
+ send_order_refund,
+ send_payment_confirmation,
+)
+from ..plugin import get_user_event_map
+
+
+def test_event_map():
+ assert get_user_event_map() == {
+ NotifyEventType.ACCOUNT_CONFIRMATION: send_account_confirmation,
+ NotifyEventType.ACCOUNT_SET_CUSTOMER_PASSWORD: (
+ send_account_set_customer_password
+ ),
+ NotifyEventType.ACCOUNT_DELETE: send_account_delete,
+ NotifyEventType.ACCOUNT_CHANGE_EMAIL_CONFIRM: send_account_change_email_confirm,
+ NotifyEventType.ACCOUNT_CHANGE_EMAIL_REQUEST: send_account_change_email_request,
+ NotifyEventType.ACCOUNT_PASSWORD_RESET: send_account_password_reset_event,
+ NotifyEventType.INVOICE_READY: send_invoice,
+ NotifyEventType.ORDER_CONFIRMATION: send_order_confirmation,
+ NotifyEventType.ORDER_FULFILLMENT_CONFIRMATION: send_fulfillment_confirmation,
+ NotifyEventType.ORDER_FULFILLMENT_UPDATE: send_fulfillment_update,
+ NotifyEventType.ORDER_PAYMENT_CONFIRMATION: send_payment_confirmation,
+ NotifyEventType.ORDER_CANCELED: send_order_canceled,
+ NotifyEventType.ORDER_REFUND_CONFIRMATION: send_order_refund,
++ NotifyEventType.ORDER_CONFIRMED: send_order_confirmed,
+ }
+
+
+ "event_type",
+ [
+ NotifyEventType.ACCOUNT_CONFIRMATION,
+ NotifyEventType.ACCOUNT_SET_CUSTOMER_PASSWORD,
+ NotifyEventType.ACCOUNT_DELETE,
+ NotifyEventType.ACCOUNT_CHANGE_EMAIL_CONFIRM,
+ NotifyEventType.ACCOUNT_CHANGE_EMAIL_REQUEST,
+ NotifyEventType.ACCOUNT_PASSWORD_RESET,
+ NotifyEventType.INVOICE_READY,
+ NotifyEventType.ORDER_CONFIRMATION,
+ NotifyEventType.ORDER_FULFILLMENT_CONFIRMATION,
+ NotifyEventType.ORDER_FULFILLMENT_UPDATE,
+ NotifyEventType.ORDER_PAYMENT_CONFIRMATION,
+ NotifyEventType.ORDER_CANCELED,
+ NotifyEventType.ORDER_REFUND_CONFIRMATION,
+ ],
+)
+@patch("saleor.plugins.user_email.plugin.get_user_event_map")
+def test_notify(mocked_get_event_map, event_type, user_email_plugin):
+ payload = {
+ "field1": 1,
+ "field2": 2,
+ }
+ mocked_event = Mock()
+ mocked_get_event_map.return_value = {event_type: mocked_event}
+
+ plugin = user_email_plugin()
+ plugin.notify(event_type, payload, previous_value=None)
+
+ mocked_event.assert_called_with(payload, asdict(plugin.config))
+
+
+@patch("saleor.plugins.user_email.plugin.get_user_event_map")
+def test_notify_event_not_related(mocked_get_event_map, user_email_plugin):
+ event_type = NotifyEventType.STAFF_ORDER_CONFIRMATION
+ payload = {
+ "field1": 1,
+ "field2": 2,
+ }
+ mocked_event = Mock()
+ mocked_get_event_map.return_value = {event_type: mocked_event}
+
+ plugin = user_email_plugin()
+ plugin.notify(event_type, payload, previous_value=None)
+
+ assert not mocked_event.called
+
+
+@patch("saleor.plugins.user_email.plugin.get_user_event_map")
+def test_notify_event_missing_handler(mocked_get_event_map, user_email_plugin):
+ event_type = NotifyEventType.ORDER_PAYMENT_CONFIRMATION
+ payload = {
+ "field1": 1,
+ "field2": 2,
+ }
+ mocked_event_map = MagicMock()
+ mocked_get_event_map.return_value = mocked_event_map
+
+ plugin = user_email_plugin()
+ plugin.notify(event_type, payload, previous_value=None)
+
+ assert not mocked_event_map.__getitem__.called
+
+
+@patch("saleor.plugins.user_email.plugin.get_user_event_map")
+def test_notify_event_plugin_is_not_active(mocked_get_event_map, user_email_plugin):
+ event_type = NotifyEventType.ORDER_PAYMENT_CONFIRMATION
+ payload = {
+ "field1": 1,
+ "field2": 2,
+ }
+
+ plugin = user_email_plugin(active=False)
+ plugin.notify(event_type, payload, previous_value=None)
+
+ assert not mocked_get_event_map.called
+
+
+def test_save_plugin_configuration_tls_and_ssl_are_mutually_exclusive(
+ user_email_plugin,
+):
+ plugin = user_email_plugin()
+ configuration = PluginConfiguration.objects.get()
+ data_to_save = {
+ "configuration": [
+ {"name": "use_tls", "value": True},
+ {"name": "use_ssl", "value": True},
+ ]
+ }
+ with pytest.raises(ValidationError):
+ plugin.save_plugin_configuration(configuration, data_to_save)
+
+
[email protected](EmailBackend, "open")
+def test_save_plugin_configuration(mocked_open, user_email_plugin):
+ plugin = user_email_plugin()
+ configuration = PluginConfiguration.objects.get()
+ data_to_save = {
+ "configuration": [
+ {"name": "use_tls", "value": False},
+ {"name": "use_ssl", "value": True},
+ ]
+ }
+
+ plugin.save_plugin_configuration(configuration, data_to_save)
+
+ mocked_open.assert_called_with()
+
+
[email protected](EmailBackend, "open")
+def test_save_plugin_configuration_incorrect_email_backend_configuration(
+ mocked_open, user_email_plugin
+):
+ plugin = user_email_plugin()
+ mocked_open.side_effect = SMTPNotSupportedError()
+ configuration = PluginConfiguration.objects.get()
+ data_to_save = {
+ "configuration": [
+ {"name": "use_tls", "value": False},
+ {"name": "use_ssl", "value": True},
+ ]
+ }
+
+ with pytest.raises(ValidationError):
+ plugin.save_plugin_configuration(configuration, data_to_save)
diff --cc saleor/plugins/user_email/tests/test_tasks.py
index 85387710e1,0000000000..cd94e8e07c
mode 100644,000000..100644
--- a/saleor/plugins/user_email/tests/test_tasks.py
+++ b/saleor/plugins/user_email/tests/test_tasks.py
@@@ -1,708 -1,0 +1,775 @@@
+from unittest import mock
+
+from saleor.account.notifications import get_default_user_payload
++from saleor.order import OrderEvents, OrderEventsEmails
+from saleor.order.notifications import (
+ get_default_fulfillment_payload,
+ get_default_order_payload,
+)
+from saleor.plugins.email_common import EmailConfig
+from saleor.plugins.user_email.tasks import (
+ send_account_confirmation_email_task,
+ send_account_delete_confirmation_email_task,
+ send_fulfillment_confirmation_email_task,
+ send_fulfillment_update_email_task,
+ send_invoice_email_task,
+ send_order_canceled_email_task,
+ send_order_confirmation_email_task,
++ send_order_confirmed_email_task,
+ send_order_refund_email_task,
+ send_password_reset_email_task,
+ send_payment_confirmation_email_task,
+ send_request_email_change_email_task,
+ send_set_user_password_email_task,
+ send_user_change_email_notification_task,
+)
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_account_confirmation_email_task_default_template(
+ mocked_send_mail, user_email_dict_config, customer_user
+):
+ recipient_email = "[email protected]"
+ token = "token123"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": recipient_email,
+ "token": token,
+ "reset_url": f"http://localhost:8000/redirect{token}",
+ "domain": "localhost:8000",
+ "site_name": "Saleor",
+ }
+
+ send_account_confirmation_email_task(
+ recipient_email, payload, user_email_dict_config
+ )
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_account_confirmation_email_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin, customer_user
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ account_confirmation_template=expected_template_str,
+ account_confirmation_subject=expected_subject,
+ )
+ recipient_email = "[email protected]"
+ token = "token123"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": "[email protected]",
+ "token": token,
+ "reset_url": f"http://localhost:8000/redirect{token}",
+ "domain": "localhost:8000",
+ "site_name": "Saleor",
+ }
+
+ send_account_confirmation_email_task(
+ recipient_email, payload, user_email_dict_config
+ )
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_password_reset_email_task_default_template(
+ mocked_send_mail, user_email_dict_config, customer_user
+):
+ token = "token123"
+ recipient_email = "[email protected]"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": recipient_email,
+ "token": token,
+ "reset_url": f"http://localhost:8000/redirect{token}",
+ "domain": "localhost:8000",
+ "site_name": "Saleor",
+ }
+
+ send_password_reset_email_task(recipient_email, payload, user_email_dict_config)
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_password_reset_email_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin, customer_user
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ password_reset_template=expected_template_str,
+ password_reset_subject=expected_subject,
+ )
+ token = "token123"
+ recipient_email = "[email protected]"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": recipient_email,
+ "token": token,
+ "reset_url": f"http://localhost:8000/redirect{token}",
+ "domain": "localhost:8000",
+ "site_name": "Saleor",
+ }
+
+ send_password_reset_email_task(recipient_email, payload, user_email_dict_config)
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_request_email_change_email_task_default_template(
+ mocked_send_mail, user_email_dict_config, customer_user
+):
+ token = "token123"
+ recipient_email = "[email protected]"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": recipient_email,
+ "token": token,
+ "redirect_url": f"http://localhost:8000/redirect{token}",
+ "old_email": "[email protected]",
+ "new_email": "[email protected]",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_request_email_change_email_task(
+ recipient_email, payload, user_email_dict_config
+ )
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_request_email_change_email_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin, customer_user
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ email_change_request_template=expected_template_str,
+ email_change_request_subject=expected_subject,
+ )
+ token = "token123"
+ recipient_email = "[email protected]"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": recipient_email,
+ "token": token,
+ "redirect_url": f"http://localhost:8000/redirect{token}",
+ "old_email": "[email protected]",
+ "new_email": "[email protected]",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_request_email_change_email_task(
+ recipient_email, payload, user_email_dict_config
+ )
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_user_change_email_notification_task_default_template(
+ mocked_send_mail, user_email_dict_config, customer_user
+):
+ recipient_email = "[email protected]"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": recipient_email,
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_user_change_email_notification_task(
+ recipient_email, payload, user_email_dict_config
+ )
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_user_change_email_notification_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin, customer_user
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ email_change_confirm_template=expected_template_str,
+ email_change_confirm_subject=expected_subject,
+ )
+ recipient_email = "[email protected]"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": recipient_email,
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_user_change_email_notification_task(
+ recipient_email, payload, user_email_dict_config
+ )
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_account_delete_confirmation_email_task_default_template(
+ mocked_send_mail, user_email_dict_config, customer_user
+):
+ recipient_email = "[email protected]"
+ token = "token123"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": recipient_email,
+ "token": token,
+ "delete_url": f"http://localhost:8000/redirect{token}",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_account_delete_confirmation_email_task(
+ recipient_email, payload, user_email_dict_config
+ )
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_account_delete_confirmation_email_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin, customer_user
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ account_delete_template=expected_template_str,
+ account_delete_subject=expected_subject,
+ )
+ recipient_email = "[email protected]"
+ token = "token123"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": recipient_email,
+ "token": token,
+ "delete_url": f"http://localhost:8000/redirect{token}",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_account_delete_confirmation_email_task(
+ recipient_email, payload, user_email_dict_config
+ )
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_set_user_password_email_task_default_template(
+ mocked_send_mail, user_email_dict_config, customer_user
+):
+ recipient_email = "[email protected]"
+ token = "token123"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": recipient_email,
+ "token": token,
+ "password_set_url": f"http://localhost:8000/redirect{token}",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_set_user_password_email_task(recipient_email, payload, user_email_dict_config)
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_set_user_password_email_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin, customer_user
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ account_set_password_template=expected_template_str,
+ account_set_password_subject=expected_subject,
+ )
+ recipient_email = "[email protected]"
+ token = "token123"
+ payload = {
+ "user": get_default_user_payload(customer_user),
+ "recipient_email": recipient_email,
+ "token": token,
+ "password_set_url": f"http://localhost:8000/redirect{token}",
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_set_user_password_email_task(recipient_email, payload, user_email_dict_config)
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_invoice_email_task_default_template(
+ mocked_send_mail, user_email_dict_config,
+):
+ recipient_email = "[email protected]"
+ payload = {
+ "invoice": {
+ "id": 1,
+ "number": 999,
+ "download_url": "http://localhost:8000/download",
+ },
+ "recipient_email": recipient_email,
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_invoice_email_task(recipient_email, payload, user_email_dict_config)
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_invoice_email_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin,
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ invoice_ready_template=expected_template_str,
+ invoice_ready_subject=expected_subject,
+ )
+ recipient_email = "[email protected]"
+ payload = {
+ "invoice": {
+ "id": 1,
+ "number": 999,
+ "download_url": "http://localhost:8000/download",
+ },
+ "recipient_email": recipient_email,
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_invoice_email_task(recipient_email, payload, user_email_dict_config)
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_order_confirmation_email_task_default_template(
+ mocked_send_mail, user_email_dict_config, order
+):
+ recipient_email = "[email protected]"
+ payload = {
+ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
+ "recipient_email": recipient_email,
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_order_confirmation_email_task(recipient_email, payload, user_email_dict_config)
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_order_confirmation_email_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin, order
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ order_confirmation_template=expected_template_str,
+ order_confirmation_subject=expected_subject,
+ )
+ recipient_email = "[email protected]"
+ payload = {
+ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
+ "recipient_email": recipient_email,
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_order_confirmation_email_task(recipient_email, payload, user_email_dict_config)
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_fulfillment_confirmation_email_task_default_template(
+ mocked_send_mail, user_email_dict_config, order, fulfillment
+):
+ payload = get_default_fulfillment_payload(order, fulfillment)
+
+ send_fulfillment_confirmation_email_task(
+ payload["recipient_email"], payload, user_email_dict_config
+ )
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_fulfillment_confirmation_email_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin, order, fulfillment
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ fulfillment_confirmation_template=expected_template_str,
+ fulfillment_confirmation_subject=expected_subject,
+ )
+ payload = get_default_fulfillment_payload(order, fulfillment)
+ recipient_email = payload["recipient_email"]
+ send_fulfillment_confirmation_email_task(
+ recipient_email, payload, user_email_dict_config
+ )
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_fulfillment_update_email_task_default_template(
+ mocked_send_mail, user_email_dict_config, order, fulfillment
+):
+ payload = get_default_fulfillment_payload(order, fulfillment)
+
+ send_fulfillment_update_email_task(
+ payload["recipient_email"], payload, user_email_dict_config
+ )
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_fulfillment_update_email_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin, order, fulfillment
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ fulfillment_update_template=expected_template_str,
+ fulfillment_update_subject=expected_subject,
+ )
+ payload = get_default_fulfillment_payload(order, fulfillment)
+ recipient_email = payload["recipient_email"]
+ send_fulfillment_update_email_task(recipient_email, payload, user_email_dict_config)
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_payment_confirmation_email_task_default_template(
+ mocked_send_mail, user_email_dict_config, order, payment_dummy
+):
+ recipient_email = "[email protected]"
+ payload = {
+ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
+ "recipient_email": recipient_email,
+ "payment": {
+ "created": payment_dummy.created,
+ "modified": payment_dummy.modified,
+ "charge_status": payment_dummy.charge_status,
+ "total": payment_dummy.total,
+ "captured_amount": payment_dummy.captured_amount,
+ "currency": payment_dummy.currency,
+ },
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_payment_confirmation_email_task(
+ recipient_email, payload, user_email_dict_config
+ )
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_payment_confirmation_email_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin, order, payment_dummy
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ payment_confirmation_template=expected_template_str,
+ payment_confirmation_subject=expected_subject,
+ )
+ recipient_email = "[email protected]"
+ payload = {
+ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
+ "recipient_email": recipient_email,
+ "payment": {
+ "created": payment_dummy.created,
+ "modified": payment_dummy.modified,
+ "charge_status": payment_dummy.charge_status,
+ "total": payment_dummy.total,
+ "captured_amount": payment_dummy.captured_amount,
+ "currency": payment_dummy.currency,
+ },
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+ send_payment_confirmation_email_task(
+ recipient_email, payload, user_email_dict_config
+ )
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_order_canceled_email_task_default_template(
+ mocked_send_mail, user_email_dict_config, order
+):
+ recipient_email = "[email protected]"
+ payload = {
+ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
+ "recipient_email": recipient_email,
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_order_canceled_email_task(recipient_email, payload, user_email_dict_config)
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_order_canceled_email_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin, order
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ order_cancel_template=expected_template_str,
+ order_cancel_subject=expected_subject,
+ )
+ recipient_email = "[email protected]"
+ payload = {
+ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
+ "recipient_email": recipient_email,
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+ send_order_canceled_email_task(recipient_email, payload, user_email_dict_config)
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
+
+
[email protected]("saleor.plugins.email_common.send_mail")
+def test_send_order_refund_email_task_default_template(
+ mocked_send_mail, user_email_dict_config, order
+):
+ recipient_email = "[email protected]"
+ payload = {
+ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
+ "recipient_email": recipient_email,
+ "amount": order.total_gross_amount,
+ "currency": order.currency,
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+
+ send_order_refund_email_task(recipient_email, payload, user_email_dict_config)
+
+ # confirm that mail has correct structure and email was sent
+ assert mocked_send_mail.called
+
+
[email protected]("saleor.plugins.user_email.tasks.send_email")
+def test_send_order_refund_email_task_custom_template(
+ mocked_send_email, user_email_dict_config, user_email_plugin, order
+):
+ expected_template_str = "<html><body>Template body</body></html>"
+ expected_subject = "Test Email Subject"
+ user_email_plugin(
+ order_refund_template=expected_template_str,
+ order_refund_subject=expected_subject,
+ )
+ recipient_email = "[email protected]"
+ payload = {
+ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
+ "recipient_email": recipient_email,
+ "amount": order.total_gross_amount,
+ "currency": order.currency,
+ "site_name": "Saleor",
+ "domain": "localhost:8000",
+ }
+ send_order_refund_email_task(recipient_email, payload, user_email_dict_config)
+
+ email_config = EmailConfig(**user_email_dict_config)
+ mocked_send_email.assert_called_with(
+ config=email_config,
+ recipient_list=[recipient_email],
+ context=payload,
+ subject=expected_subject,
+ template_str=expected_template_str,
+ )
++
++
[email protected]("saleor.plugins.email_common.send_mail")
++def test_send_order_confirmed_email_task_default_template(
++ mocked_send_mail, user_email_dict_config, order, staff_user
++):
++ recipient_email = "[email protected]"
++ payload = {
++ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
++ "recipient_email": recipient_email,
++ "requester_user_id": staff_user.id,
++ "site_name": "Saleor",
++ "domain": "localhost:8000",
++ }
++
++ send_order_confirmed_email_task(recipient_email, payload, user_email_dict_config)
++
++ # confirm that mail has correct structure and email was sent
++ assert mocked_send_mail.called
++
++ assert order.events.filter(
++ type=OrderEvents.EMAIL_SENT,
++ order=order,
++ user=staff_user.id,
++ parameters__email=recipient_email,
++ parameters__email_type=OrderEventsEmails.CONFIRMED,
++ ).exists()
++
++
[email protected]("saleor.plugins.user_email.tasks.send_email")
++def test_send_order_confirmed_email_task_custom_template(
++ mocked_send_email, user_email_dict_config, user_email_plugin, order, staff_user
++):
++ expected_template_str = "<html><body>Template body</body></html>"
++ expected_subject = "Test Email Subject"
++ user_email_plugin(
++ order_confirmed_template=expected_template_str,
++ order_confirmed_subject=expected_subject,
++ )
++ recipient_email = "[email protected]"
++ payload = {
++ "order": get_default_order_payload(order, "http://localhost:8000/redirect"),
++ "recipient_email": recipient_email,
++ "requester_user_id": staff_user.id,
++ "site_name": "Saleor",
++ "domain": "localhost:8000",
++ }
++
++ send_order_confirmed_email_task(recipient_email, payload, user_email_dict_config)
++
++ email_config = EmailConfig(**user_email_dict_config)
++ mocked_send_email.assert_called_with(
++ config=email_config,
++ recipient_list=[recipient_email],
++ context=payload,
++ subject=expected_subject,
++ template_str=expected_template_str,
++ )
++ assert order.events.filter(
++ type=OrderEvents.EMAIL_SENT,
++ order=order,
++ user=staff_user.id,
++ parameters__email=recipient_email,
++ parameters__email_type=OrderEventsEmails.CONFIRMED,
++ ).exists()
diff --cc setup.cfg
index 7d862537f5,7d862537f5..0484cb786b
--- a/setup.cfg
+++ b/setup.cfg
@@@ -61,7 -61,7 +61,7 @@@ include_trailing_comma: Tru
line_length = 88
known_first_party = saleor
--known_third_party =
++known_third_party =Adyen,PIL,babel,boto3,braintree,celery,dj_database_url,dj_email_url,django,django_cache_url,django_countries,django_filters,django_measurement,django_prices,django_prices_openexchangerates,django_prices_vatlayer,draftjs_sanitizer,faker,freezegun,geolite2,google,google_measurement_protocol,graphene,graphene_django,graphene_federation,graphql,graphql_relay,html2text,html_to_draftjs,i18naddress,jaeger_client,jwt,kombu,markdown,measurement,mptt,oauthlib,openpyxl,opentracing,petl,phonenumber_field,phonenumbers,pkg_resources,prices,promise,pybars,pytest,pythonjsonlogger,pytimeparse,pytz,razorpay,requests,sentry_sdk,storages,stripe,tqdm,urllib3,versatileimagefield,weasyprint
[mypy]
diff --cc templates/templated_email/compiled/confirm_fulfillment.html
index 71fcef4028,bb7268ab64..bc8145bbfc
--- a/templates/templated_email/compiled/confirm_fulfillment.html
+++ b/templates/templated_email/compiled/confirm_fulfillment.html
@@@ -105,20 -103,26 +105,29 @@@
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
- <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#blocktrans "Fulfillment confirmation email text"}}
- <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{% if order_details_url %}
- {% blocktrans trimmed context "Fulfillment confirmation email text with order details" %}
- Thank you for your order. Below is the list of fulfilled products. To see your order details please visit: <a href="{{ order_details_url }}">{{ order_details_url }}</a>
- {% endblocktrans %}
- {% else %}
- {% blocktrans trimmed context "Fulfillment confirmation email text" %}
++ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order.order_details_url}}
++ {{#blocktrans "Fulfillment confirmation email text with order details"}}
++ Thank you for your order. Below is the list of fulfilled products. To see your order details please visit: <a href="{{ order.order_details_url }}">{{ order.order_details_url }}</a>
++ {{/blocktrans}}
++ {{else}}
++ {{#blocktrans "Fulfillment confirmation email text"}}
+ Thank you for your order. Below is the list of fulfilled products.
- {% endblocktrans %}
- {% endif %}
- {% if fulfillment.tracking_number %}
- {% if fulfillment.is_tracking_number_url %}
- {% blocktrans trimmed with tracking_number=fulfillment.tracking_number context "Fulfillment confirmation email text" %}
- You can track your shipment with <a href="{{ tracking_number }}">{{ tracking_number }}</a> link.
- {% endblocktrans %}
- {% else %}
- {% blocktrans trimmed with tracking_number=fulfillment.tracking_number context "Fulfillment confirmation email text" %}
- You can track your shipment with {{ tracking_number }} code.
- {% endblocktrans %}
- {% endif %}
- {% endif %}</div>
++ {{/blocktrans}}
++ {{/if}}
++ {{#blocktrans "Fulfillment confirmation email text"}}
+ Thank you for your order. Below is the list of fulfilled products.
+ {{/blocktrans}}
+ {{#if fulfillment.tracking_number}}
+ {{#if fulfillment.is_tracking_number_url}}
+ {{#blocktrans "Fulfillment confirmation email text"}}
+ You can track your shipment with <a href="{{fulfillment.tracking_number}}">{{fulfillment.tracking_number}}</a> link.
+ {{/blocktrans}}
+ {{else}}
+ {{#blocktrans "Fulfillment confirmation email text"}}
+ You can track your shipment with {{fulfillment.tracking_number}} code.
+ {{/blocktrans}}
+ {{/if}}
+ {{/if}}</div>
</td>
</tr>
diff --cc templates/templated_email/compiled/confirm_order.html
index 5b8d6bb9a4,fb30a47675..7f014f9c93
--- a/templates/templated_email/compiled/confirm_order.html
+++ b/templates/templated_email/compiled/confirm_order.html
@@@ -105,15 -104,15 +105,15 @@@
<tr>
<td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
- <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order_details_url}}
- <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{% if order_details_url %}
- {% blocktrans trimmed context "Order confirmation e-mail text with payment details" %}
- Thank you for your order. Below is the list of ordered products. To see your payment details please visit: <a href="{{ order_details_url }}">{{ order_details_url }}</a>
- {% endblocktrans %}
- {% else %}
- {% blocktrans trimmed context "Order confirmation e-mail text" %}
++ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order.order_details_url}}
+ {{#blocktrans "Order confirmation e-mail text with payment details"}}
- Thank you for your order. Below is the list of ordered products. To see your payment details please visit: <a href="{{order_details_url}}">{{order_details_url}}</a>
++ Thank you for your order. Below is the list of ordered products. To see your payment details please visit: <a href="{{order.order_details_url}}">{{order.order_details_url}}</a>
+ {{/blocktrans}}
+ {{else}}
+ {{#blocktrans "Order confirmation e-mail text"}}
Thank you for your order. Below is the list of ordered products.
- {% endblocktrans %}
- {% endif %}</div>
+ {{/blocktrans}}
+ {{/if}}</div>
</td>
</tr>
diff --cc templates/templated_email/compiled/confirmed_order.html
index 0000000000,e20ce5e41e..b137ee4631
mode 000000,100644..100644
--- a/templates/templated_email/compiled/confirmed_order.html
+++ b/templates/templated_email/compiled/confirmed_order.html
@@@ -1,0 -1,556 +1,582 @@@
+
+ <!doctype html>
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
+ <head>
+ <title>
+
+ </title>
+ <!--[if !mso]><!-- -->
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <!--<![endif]-->
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <style type="text/css">
+ #outlook a { padding:0; }
+ body { margin:0;padding:0;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%; }
+ table, td { border-collapse:collapse;mso-table-lspace:0pt;mso-table-rspace:0pt; }
+ img { border:0;height:auto;line-height:100%; outline:none;text-decoration:none;-ms-interpolation-mode:bicubic; }
+ p { display:block;margin:13px 0; }
+ </style>
+ <!--[if mso]>
+ <xml>
+ <o:OfficeDocumentSettings>
+ <o:AllowPNG/>
+ <o:PixelsPerInch>96</o:PixelsPerInch>
+ </o:OfficeDocumentSettings>
+ </xml>
+ <![endif]-->
+ <!--[if lte mso 11]>
+ <style type="text/css">
+ .mj-outlook-group-fix { width:100% !important; }
+ </style>
+ <![endif]-->
+
+ <!--[if !mso]><!-->
+ <link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
+ <style type="text/css">
+ @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700);
+ </style>
+ <!--<![endif]-->
+
+
+
+ <style type="text/css">
+ @media only screen and (min-width:480px) {
+ .mj-column-per-100 { width:100% !important; max-width: 100%; }
+ }
+ </style>
+
+
+ <style type="text/css">
+
+
+ </style>
+ <style type="text/css">address {
+ font-style: inherit;
+ font-family: Ubuntu, Helvetica, Arial;
+ }</style>
+
+ </head>
+ <body>
+
+
+ <div style>
- {% load i18n %}
- {% load i18n_address_tags %}{% load static %}
++
+
+ <!--[if mso | IE]>
+ <table
+ align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
+ >
+ <tr>
+ <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
+ <![endif]-->
+
+
+ <div style="margin:0px auto;max-width:600px;">
+
+ <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
+ <tbody>
+ <tr>
+ <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
+ <!--[if mso | IE]>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+
+ <tr>
+
+ <td
+ class="" style="vertical-align:top;width:600px;"
+ >
+ <![endif]-->
+
+ <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
+
+ <tr>
+ <td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
+
- <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">{% trans "Hi!" context "Standard e-mail greeting" %}</div>
++ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">{{#blocktrans "Standard e-mail greeting"}}
++ Hi!
++ {{/blocktrans}}</div>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
+
- <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{% if order_details_url %}
- {% blocktrans trimmed context "Order confirmed e-mail text with order details" %}
- Your order has been confirmed by staff. To see your order details please visit: <a href="{{ order_details_url }}">{{ order_details_url }}</a>
- {% endblocktrans %}
- {% else %}
- {% blocktrans trimmed context "Order confirmed e-mail text" %}
++ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order.order_details_url}}
++ {{#blocktrans "Order confirmed e-mail text with order details"}}
++ Your order has been confirmed by staff. To see your order details please visit: <a href="{{order.order_details_url}}">{{order.order_details_url}}</a>
++ {{/blocktrans}}
++ {{else}}
++ {{#blocktrans "Order confirmed e-mail text"}}
+ Your order has been confirmed by staff. Below is the list of ordered products.
- {% endblocktrans %}
- {% endif %}</div>
++ {{/blocktrans}}
++ {{/if}}</div>
+
+ </td>
+ </tr>
+
+ </table>
+
+ </div>
+
+ <!--[if mso | IE]>
+ </td>
+
+ </tr>
+
+ </table>
+ <![endif]-->
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ </div>
+
+
+ <!--[if mso | IE]>
+ </td>
+ </tr>
+ </table>
- <![endif]-->
-
- {% load display_translated_order_line_name from order_lines %}
- {% load price from taxed_prices %}
- {% load voucher %}
+
- <!--[if mso | IE]>
+ <table
+ align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
+ >
+ <tr>
+ <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
+ <![endif]-->
+
+
+ <div style="margin:0px auto;max-width:600px;">
+
+ <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
+ <tbody>
+ <tr>
+ <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
+ <!--[if mso | IE]>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+
+ <tr>
+
+ <td
+ class="" style="vertical-align:top;width:600px;"
+ >
+ <![endif]-->
+
+ <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
+
+ <tr>
+ <td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
+
+ <table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#000000;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
+ <tfoot>
+ <tr>
+ <td colspan="3" style="padding: 5px; text-align: right;" align="right">
- {% trans "Subtotal" context "E-mail order lines summary table" %}
++ {{#blocktrans "E-mail order lines summary table"}}
++ Subtotal
++ {{/blocktrans}}
+ </td>
+ <td style="padding: 5px; text-align: right;" align="right">
- {% price order.get_subtotal display_gross=order.display_gross_prices html=False %}
++ {{price order.subtotal_net_amount order.subtotal_gross_amount order.currency display_gross=order.display_gross_prices}}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" style="padding: 5px; text-align: right;" align="right">
- {% trans "Shipping" context "E-mail order lines summary table" %}
++ {{#blocktrans "E-mail order lines summary table"}}
++ Shipping
++ {{/blocktrans}}
+ </td>
+ <td style="padding: 5px; text-align: right;" align="right">
- {% price order.shipping_price display_gross=order.display_gross_prices html=False %}
++ {{price order.shipping_price_net_amount order.shipping_price_gross_amount order.currency display_gross=order.display_gross_prices}}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" style="padding: 5px; text-align: right;" align="right">
- {% if order.display_gross_prices %}
- {% trans "Taxes (included)" context "E-mail order lines summary table" %}
- {% else %}
- {% trans "Taxes" context "E-mail order lines summary table" %}
- {% endif %}
++ {{#if order.display_gross_prices}}
++ {{#blocktrans "E-mail order lines summary table"}}
++ Taxes (included)
++ {{/blocktrans}}
++ {{else}}
++ {{#blocktrans "E-mail order lines summary table"}}
++ Taxes
++ {{/blocktrans}}
++ {{/if}}
+ </td>
+ <td style="padding: 5px; text-align: right;" align="right">
- {% price order.total.tax html=False %}
++ {{price order.tax_amount order.tax_amount order.currency display_gross=order.display_gross_prices}}
+ </td>
+ </tr>
- {% if order.discount_amount %}
++ {{#if order.discount_amount}}
+ <tr>
+ <td colspan="3" style="padding: 5px; text-align: right;" align="right">
- {% trans "Discount" context "E-mail order lines summary table" %}
++ {{order.discount_amount}}
++ {{#blocktrans "E-mail order lines summary table"}}
++ Discount
++ {{/blocktrans}}
+ </td>
+ <td style="padding: 5px; text-align: right;" align="right">
- {% discount_as_negative order.discount html=True %}
++ {{price order.discount_amount order.discount_amount order.currency display_gross=order.display_gross_prices}}
+ </td>
+ </tr>
- {% endif %}
++ {{/if}}
+ <tr>
+ <td colspan="3" style="padding: 5px; text-align: right;" align="right">
- <strong>{% trans "Total" context "E-mail order lines summary table" %}</strong>
++ <strong>
++ {{#blocktrans "E-mail order lines summary table"}}Total{{/blocktrans}}
++ </strong>
+ </td>
+ <td style="padding: 5px; text-align: right;" align="right">
- <strong>{% price order.total display_gross=order.display_gross_prices html=False %}</strong>
++ <strong>
++ {{price order.total_net_amount order.total_gross_amount order.currency display_gross=order.display_gross_prices}}
++ </strong>
+ </td>
+ </tr>
+ </tfoot>
+ <thead class="table-header-row" style="border-bottom: 2px solid #000;">
+ <tr>
- <th style="padding: 5px;">{% trans "Item" context "Ordered item name" %}</th>
- <th style="padding: 5px;">{% trans "Quantity" context "Quantity ordered of a product" %}</th>
- <th style="padding: 5px;">{% trans "Per unit" context "Unit price of a product" %}</th>
- <th style="padding: 5px;">{% trans "Subtotal" context "Ordered item subtotal (unit price * quantity)" %}</th>
++ <th style="padding: 5px;">{{#blocktrans "Ordered item name"}}Item{{/blocktrans}}</th>
++ <th style="padding: 5px;">{{#blocktrans "Quantity ordered of a product"}}Quantity{{/blocktrans}}</th>
++ <th style="padding: 5px;">{{#blocktrans "Unit price of a product"}}Per unit{{/blocktrans}}</th>
++ <th style="padding: 5px;">{{#blocktrans "Ordered item subtotal (unit price * quantity)"}}Subtotal{{/blocktrans}}</th>
+ </tr>
+ </thead>
+ <tbody>
- {% for line in order %}
++ {{#each order.lines}}
+ <tr class="table-item-row" style="border-bottom: 1px solid #D3D1D0;">
- <td style="padding: 5px;">{% display_translated_order_line_name line %}</td>
- <td style="padding: 5px; text-align: right;" align="right">{{ line.quantity }}</td>
++ {{#if variant_name}}
++ <td style="padding: 5px;">{{product_name}} ({{variant_name}})</td>
++ {{else}}
++ <td style="padding: 5px;">{{product_name}}</td>
++ {{/if}}
++ <td style="padding: 5px; text-align: right;" align="right">{{quantity}}</td>
++ <td style="padding: 5px; text-align: right;" align="right">
++ {{price unit_price_net_amount unit_price_gross_amount ../order.currency display_gross=../order.display_gross_prices}}
++ </td>
+ <td style="padding: 5px; text-align: right;" align="right">
- {% price line.unit_price display_gross=order.display_gross_prices html=False %}
++ {{price total_net_amount total_gross_amount ../order.currency display_gross=../order.display_gross_prices}}
+ </td>
- <td style="padding: 5px; text-align: right;" align="right">{% price line.get_total display_gross=order.display_gross_prices html=False %}</td>
+ </tr>
- {% endfor %}
++ {{/each}}
+ </tbody>
+ </table>
+
+ </td>
+ </tr>
+
+ </table>
+
+ </div>
+
+ <!--[if mso | IE]>
+ </td>
+
+ </tr>
+
+ </table>
+ <![endif]-->
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ </div>
+
+
+ <!--[if mso | IE]>
+ </td>
+ </tr>
+ </table>
+
+ <table
+ align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
+ >
+ <tr>
+ <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
+ <![endif]-->
+
+
+ <div style="margin:0px auto;max-width:600px;">
+
+ <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
+ <tbody>
+ <tr>
+ <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
+ <!--[if mso | IE]>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+
+ <tr>
+
+ <td
+ class="" style="vertical-align:top;width:600px;"
+ >
+ <![endif]-->
+
+ <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
+
+ <tr>
+ <td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
+
+ <table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#000000;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
+ <thead class="table-header-row" style="border-bottom: 2px solid #000;">
+ <tr>
- <th style="padding: 5px;">{% trans "Billing address" context "Order confirmed e-mail billing address" %}</th>
- <th style="padding: 5px;">{% trans "Shipping address" context "Order confirmed e-mail shipping address" %}</th>
++ <th style="padding: 5px;">
++ {{#blocktrans "Order confirmation e-mail billing address"}}
++ Billing address
++ {{/blocktrans}}
++ </th>
++ <th style="padding: 5px;">
++ {{#blocktrans "Order confirmation e-mail shipping address"}}
++ Shipping address
++ {{/blocktrans}}
++ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
- <td class="address" style="padding: 5px;">
- {% if order.billing_address %}
- {% format_address order.billing_address %}
- {% else %}
- {% trans "No billing address" context "Order confirmed e-mail text" %}
- {% endif %}
++ <td class="address" style="padding: 5px;">
++ {{#if order.billing_address}}
++ {{format_address order.billing_address}}
++ {{else}}
++ {{#blocktrans "Order confirmed e-mail text"}}No billing address{{/blocktrans}}
++ {{/if}}
+ </td>
+ <td css-class="address" style="padding: 5px;">
- {% if order.shipping_address %}
- {% format_address order.shipping_address %}
- {% else %}
- {% trans "No shipping required" context "Order confirmed e-mail text" %}
- {% endif %}
++ {{#if order.shipping_address}}
++ {{format_address order.shipping_address}}
++ {{else}}
++ {{#blocktrans "Order confirmed e-mail text"}}No shipping required{{/blocktrans}}
++ {{/if}}
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ </td>
+ </tr>
+
+ </table>
+
+ </div>
+
+ <!--[if mso | IE]>
+ </td>
+
+ </tr>
+
+ </table>
+ <![endif]-->
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ </div>
+
+
+ <!--[if mso | IE]>
+ </td>
+ </tr>
+ </table>
+
+ <table
+ align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
+ >
+ <tr>
+ <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
+ <![endif]-->
+
+
+ <div style="margin:0px auto;max-width:600px;">
+
+ <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
+ <tbody>
+ <tr>
+ <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
+ <!--[if mso | IE]>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+
+ <tr>
+
+ <td
+ class="" style="vertical-align:top;width:600px;"
+ >
+ <![endif]-->
+
+ <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
+
+ <tr>
+ <td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
+
- <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{% blocktrans trimmed context "Base email text" %}
++ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#blocktrans "Base email text" }}
+ This is an automatically generated e-mail, please do not reply.
- {% endblocktrans %}</div>
++ {{/blocktrans}}</div>
+
+ </td>
+ </tr>
+
+ </table>
+
+ </div>
+
+ <!--[if mso | IE]>
+ </td>
+
+ </tr>
+
+ </table>
+ <![endif]-->
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ </div>
+
+
+ <!--[if mso | IE]>
+ </td>
+ </tr>
+ </table>
+
+ <table
+ align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
+ >
+ <tr>
+ <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
+ <![endif]-->
+
+
+ <div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">
+
+ <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">
+ <tbody>
+ <tr>
+ <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
+ <!--[if mso | IE]>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+
+ <tr>
+
+ <td
+ class="" style="vertical-align:top;width:600px;"
+ >
+ <![endif]-->
+
+ <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
+
+ <tr>
+ <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
+
- <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">{% blocktrans trimmed context "Base email footer" %}
++ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">{{#blocktrans "Base email footer" }}
+ Sincerely, {{ site_name }}
- {% endblocktrans %}</div>
++ {{/blocktrans}}</div>
+
+ </td>
+ </tr>
+
+ </table>
+
+ </div>
+
+ <!--[if mso | IE]>
+ </td>
+
+ </tr>
+
+ </table>
+ <![endif]-->
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ </div>
+
+
+ <!--[if mso | IE]>
+ </td>
+ </tr>
+ </table>
+
+ <table
+ align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"
+ >
+ <tr>
+ <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
+ <![endif]-->
+
+
+ <div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">
+
+ <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
+ <tbody>
+ <tr>
+ <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
+ <!--[if mso | IE]>
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
+
+ <tr>
+
+ <td
+ class="" style="vertical-align:top;width:600px;"
+ >
+ <![endif]-->
+
+ <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
+
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
+
+ <tr>
+ <td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">
+
- <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{% if schema_markup %}
- <script type="application/ld+json">{{ schema_markup|safe }}</script>
- {% endif %}</div>
++ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{{#if order}}
++ <script type="application/ld+json">
++ {{{{raw}}}}{{schema_markup}}{{{{/raw}}}}
++ </script>
++ {{/if}}</div>
+
+ </td>
+ </tr>
+
+ </table>
+
+ </div>
+
+ <!--[if mso | IE]>
+ </td>
+
+ </tr>
+
+ </table>
+ <![endif]-->
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ </div>
+
+
+ <!--[if mso | IE]>
+ </td>
+ </tr>
+ </table>
+ <![endif]-->
+
+
+ </div>
+
+ </body>
+ </html>
+
diff --cc templates/templated_email/source/confirm_fulfillment.mjml
index ecbc6ebb6d,87a2c7f71b..d292f1a4b3
--- a/templates/templated_email/source/confirm_fulfillment.mjml
+++ b/templates/templated_email/source/confirm_fulfillment.mjml
@@@ -7,32 -10,36 +7,41 @@@
<mj-section>
<mj-column>
<mj-text font-size="16px">
- {% trans "Hi!" context "Standard e-mail greeting" %}
+ {{#blocktrans "Standard e-mail greeting"}}
+ Hi!
+ {{/blocktrans}}
</mj-text>
<mj-text>
- {% if order_details_url %}
- {% blocktrans trimmed context "Fulfillment confirmation email text with order details" %}
- Thank you for your order. Below is the list of fulfilled products. To see your order details please visit: <a href="{{ order_details_url }}">{{ order_details_url }}</a>
- {% endblocktrans %}
- {% else %}
- {% blocktrans trimmed context "Fulfillment confirmation email text" %}
++ {{#if order.order_details_url}}
++ {{#blocktrans "Fulfillment confirmation email text with order details"}}
++ Thank you for your order. Below is the list of fulfilled products. To see your order details please visit: <a href="{{ order.order_details_url }}">{{ order.order_details_url }}</a>
++ {{/blocktrans}}
++ {{else}}
++ {{#blocktrans "Fulfillment confirmation email text"}}
+ Thank you for your order. Below is the list of fulfilled products.
- {% endblocktrans %}
- {% endif %}
- {% if fulfillment.tracking_number %}
- {% if fulfillment.is_tracking_number_url %}
- {% blocktrans trimmed with tracking_number=fulfillment.tracking_number context "Fulfillment confirmation email text" %}
- You can track your shipment with <a href="{{ tracking_number }}">{{ tracking_number }}</a> link.
- {% endblocktrans %}
- {% else %}
- {% blocktrans trimmed with tracking_number=fulfillment.tracking_number context "Fulfillment confirmation email text" %}
- You can track your shipment with {{ tracking_number }} code.
- {% endblocktrans %}
- {% endif %}
- {% endif %}
++ {{/blocktrans}}
++ {{/if}}
+ {{#blocktrans "Fulfillment confirmation email text"}}
+ Thank you for your order. Below is the list of fulfilled products.
+ {{/blocktrans}}
+ {{#if fulfillment.tracking_number}}
+ {{#if fulfillment.is_tracking_number_url}}
+ {{#blocktrans "Fulfillment confirmation email text"}}
+ You can track your shipment with <a href="{{fulfillment.tracking_number}}">{{fulfillment.tracking_number}}</a> link.
+ {{/blocktrans}}
+ {{else}}
+ {{#blocktrans "Fulfillment confirmation email text"}}
+ You can track your shipment with {{fulfillment.tracking_number}} code.
+ {{/blocktrans}}
+ {{/if}}
+ {{/if}}
</mj-text>
<mj-text>
- {% if digital_lines %}
- {% blocktrans trimmed context "Fulfillment digital products email text" %}
+ {{#if digital_lines}}
+ {{#blocktrans "Fulfillment digital products email text"}}
You can download your digital products by clicking in download link(s).
- {% endblocktrans %}
- {% endif %}
+ {{/blocktrans}}
+ {{/if}}
</mj-text>
</mj-column>
</mj-section>
diff --cc templates/templated_email/source/confirm_order.mjml
index 9cde261188,0291f7d618..ece8124950
--- a/templates/templated_email/source/confirm_order.mjml
+++ b/templates/templated_email/source/confirm_order.mjml
@@@ -7,20 -11,18 +7,20 @@@
<mj-section>
<mj-column>
<mj-text font-size="16px">
- {% trans "Hi!" context "Standard e-mail greeting" %}
+ {{#blocktrans "Standard e-mail greeting"}}
+ Hi!
+ {{/blocktrans}}
</mj-text>
<mj-text>
- {{#if order_details_url}}
- {% if order_details_url %}
- {% blocktrans trimmed context "Order confirmation e-mail text with payment details" %}
- Thank you for your order. Below is the list of ordered products. To see your payment details please visit: <a href="{{ order_details_url }}">{{ order_details_url }}</a>
- {% endblocktrans %}
- {% else %}
- {% blocktrans trimmed context "Order confirmation e-mail text" %}
++ {{#if order.order_details_url}}
+ {{#blocktrans "Order confirmation e-mail text with payment details"}}
- Thank you for your order. Below is the list of ordered products. To see your payment details please visit: <a href="{{order_details_url}}">{{order_details_url}}</a>
++ Thank you for your order. Below is the list of ordered products. To see your payment details please visit: <a href="{{order.order_details_url}}">{{order.order_details_url}}</a>
+ {{/blocktrans}}
+ {{else}}
+ {{#blocktrans "Order confirmation e-mail text"}}
Thank you for your order. Below is the list of ordered products.
- {% endblocktrans %}
- {% endif %}
+ {{/blocktrans}}
+ {{/if}}
</mj-text>
</mj-column>
</mj-section>
diff --cc templates/templated_email/source/confirmed_order.mjml
index 0000000000,5ced846174..9f1efc06f8
mode 000000,100644..100644
--- a/templates/templated_email/source/confirmed_order.mjml
+++ b/templates/templated_email/source/confirmed_order.mjml
@@@ -1,0 -1,62 +1,68 @@@
+ <mjml>
+ <mj-head>
+ <mj-include path="./shared/styles.mjml" />
+ </mj-head>
+ <mj-body>
- <mj-raw>
- {% load i18n %}
- {% load i18n_address_tags %}
- </mj-raw>
+ <mj-include path="./shared/header.mjml" />
+ <mj-section>
+ <mj-column>
+ <mj-text font-size="16px">
- {% trans "Hi!" context "Standard e-mail greeting" %}
++ {{#blocktrans "Standard e-mail greeting"}}
++ Hi!
++ {{/blocktrans}}
+ </mj-text>
+ <mj-text>
- {% if order_details_url %}
- {% blocktrans trimmed context "Order confirmed e-mail text with order details" %}
- Your order has been confirmed by staff. To see your order details please visit: <a href="{{ order_details_url }}">{{ order_details_url }}</a>
- {% endblocktrans %}
- {% else %}
- {% blocktrans trimmed context "Order confirmed e-mail text" %}
++ {{#if order.order_details_url}}
++ {{#blocktrans "Order confirmed e-mail text with order details"}}
++ Your order has been confirmed by staff. To see your order details please visit: <a href="{{order.order_details_url}}">{{order.order_details_url}}</a>
++ {{/blocktrans}}
++ {{else}}
++ {{#blocktrans "Order confirmed e-mail text"}}
+ Your order has been confirmed by staff. Below is the list of ordered products.
- {% endblocktrans %}
- {% endif %}
++ {{/blocktrans}}
++ {{/if}}
+ </mj-text>
+ </mj-column>
+ </mj-section>
+ <mj-include path="./partials/_order_lines.mjml" />
+ <mj-section>
+ <mj-column>
+ <mj-table>
+ <thead class="table-header-row">
+ <tr>
- <th>{% trans "Billing address" context "Order confirmed e-mail billing address" %}</th>
- <th>{% trans "Shipping address" context "Order confirmed e-mail shipping address" %}</th>
++ <th>
++ {{#blocktrans "Order confirmation e-mail billing address"}}
++ Billing address
++ {{/blocktrans}}
++ </th>
++ <th>
++ {{#blocktrans "Order confirmation e-mail shipping address"}}
++ Shipping address
++ {{/blocktrans}}
++ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
- <td class="address">
- {% if order.billing_address %}
- {% format_address order.billing_address %}
- {% else %}
- {% trans "No billing address" context "Order confirmed e-mail text" %}
- {% endif %}
++ <td class="address">
++ {{#if order.billing_address}}
++ {{format_address order.billing_address}}
++ {{else}}
++ {{#blocktrans "Order confirmed e-mail text"}}No billing address{{/blocktrans}}
++ {{/if}}
+ </td>
+ <td css-class="address">
- {% if order.shipping_address %}
- {% format_address order.shipping_address %}
- {% else %}
- {% trans "No shipping required" context "Order confirmed e-mail text" %}
- {% endif %}
++ {{#if order.shipping_address}}
++ {{format_address order.shipping_address}}
++ {{else}}
++ {{#blocktrans "Order confirmed e-mail text"}}No shipping required{{/blocktrans}}
++ {{/if}}
+ </td>
+ </tr>
+ </tbody>
+ </mj-table>
+ </mj-column>
+ </mj-section>
+ <mj-include path="./shared/footer.mjml" />
+ </mj-body>
+ </mjml>