Skip to content

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

Merge branch 'master' into rebuild-jwt-authentication

Maciej Korycinski349f0c5272df
diff --cc .isort.cfg
index 7259f4a544,332869e190..6473a94a41
--- a/.isort.cfg
+++ b/.isort.cfg
@@@ -1,2 -1,2 +1,2 @@@
[settings]
- known_third_party = PIL,babel,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_measurement_protocol,graphene,graphene_django,graphene_federation,graphql,graphql_relay,html_to_draftjs,i18naddress,jaeger_client,jwt,markdown,measurement,mptt,oauthlib,opentracing,phonenumber_field,phonenumbers,prices,promise,pytest,pytz,razorpay,requests,sentry_sdk,storages,stripe,templated_email,text_unidecode,tqdm,versatileimagefield
-known_third_party = PIL,babel,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_measurement_protocol,graphene,graphene_django,graphene_federation,graphql,graphql_jwt,graphql_relay,html_to_draftjs,i18naddress,jaeger_client,jwt,markdown,measurement,mptt,oauthlib,opentracing,phonenumber_field,phonenumbers,pkg_resources,prices,promise,pytest,pytz,razorpay,requests,sentry_sdk,storages,stripe,templated_email,text_unidecode,tqdm,versatileimagefield
++known_third_party = PIL,babel,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_measurement_protocol,graphene,graphene_django,graphene_federation,graphql,graphql_relay,html_to_draftjs,i18naddress,jaeger_client,jwt,markdown,measurement,mptt,oauthlib,opentracing,phonenumber_field,phonenumbers,pkg_resources,prices,promise,pytest,pytz,razorpay,requests,sentry_sdk,storages,stripe,templated_email,text_unidecode,tqdm,versatileimagefield
diff --cc poetry.lock
index e09fb84fe4,64b651d1ec..3b54b5d297
--- a/poetry.lock
+++ b/poetry.lock
@@@ -50,7 -50,7 +50,7 @@@ description = "An abstract syntax tree
name = "astroid"
optional = false
python-versions = ">=3.5"
--version = "2.4.1"
++version = "2.4.2"
[package.dependencies]
lazy-object-proxy = ">=1.4.0,<1.5.0"
@@@ -148,10 -148,10 +148,10 @@@ description = "The AWS SDK for Python
name = "boto3"
optional = false
python-versions = "*"
- version = "1.13.16"
-version = "1.13.24"
++version = "1.13.25"
[package.dependencies]
- botocore = ">=1.16.16,<1.17.0"
-botocore = ">=1.16.24,<1.17.0"
++botocore = ">=1.16.25,<1.17.0"
jmespath = ">=0.7.1,<1.0.0"
s3transfer = ">=0.3.0,<0.4.0"
@@@ -161,7 -161,7 +161,7 @@@ description = "Low-level, data-driven c
name = "botocore"
optional = false
python-versions = "*"
- version = "1.16.16"
-version = "1.16.24"
++version = "1.16.25"
[package.dependencies]
docutils = ">=0.10,<0.16"
@@@ -285,7 -286,7 +286,7 @@@ description = "Python package for provi
name = "certifi"
optional = false
python-versions = "*"
--version = "2020.4.5.1"
++version = "2020.4.5.2"
[[package]]
category = "main"
@@@ -408,7 -409,7 +409,7 @@@ description = "A high-level Python Web
name = "django"
optional = false
python-versions = ">=3.6"
--version = "3.0.6"
++version = "3.0.7"
[package.dependencies]
asgiref = ">=3.2,<4.0"
@@@ -469,7 -470,7 +470,7 @@@ description = "Request History Panel fo
name = "django-debug-toolbar-request-history"
optional = false
python-versions = "*"
--version = "0.1.1"
++version = "0.1.3"
[package.dependencies]
django-debug-toolbar = ">=2.0"
@@@ -490,11 -491,11 +491,11 @@@ category = "main
description = "Django-filter is a reusable Django application for allowing users to filter querysets dynamically."
name = "django-filter"
optional = false
--python-versions = ">=3.4"
--version = "2.2.0"
++python-versions = ">=3.5"
++version = "2.3.0"
[package.dependencies]
--Django = ">=1.11"
++Django = ">=2.2"
[[package]]
category = "dev"
@@@ -744,7 -759,7 +745,7 @@@ description = "the modular source code
name = "flake8"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7"
--version = "3.8.2"
++version = "3.8.3"
[package.dependencies]
mccabe = ">=0.6.0,<0.7.0"
@@@ -769,7 -792,7 +778,7 @@@ description = "Google API client core l
name = "google-api-core"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
--version = "1.17.0"
++version = "1.19.1"
[package.dependencies]
google-auth = ">=1.14.0,<2.0dev"
@@@ -781,7 -804,7 +790,7 @@@ setuptools = ">=34.0.0
six = ">=1.10.0"
[package.extras]
--grpc = ["grpcio (>=1.8.2,<2.0dev)"]
++grpc = ["grpcio (>=1.29.0,<2.0dev)"]
grpcgcp = ["grpcio-gcp (>=0.2.2)"]
grpcio-gcp = ["grpcio-gcp (>=0.2.2)"]
@@@ -791,7 -814,7 +800,7 @@@ description = "Google Authentication Li
name = "google-auth"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
--version = "1.14.3"
++version = "1.16.1"
[package.dependencies]
cachetools = ">=2.0.0,<5.0"
@@@ -856,8 -879,8 +865,8 @@@ category = "main
description = "Utilities for Google Media Downloads and Resumable Uploads"
name = "google-resumable-media"
optional = false
--python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
--version = "0.5.0"
++python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*"
++version = "0.5.1"
[package.dependencies]
six = "*"
@@@ -870,8 -893,8 +879,8 @@@ category = "main
description = "Common protobufs used in Google APIs"
name = "googleapis-common-protos"
optional = false
--python-versions = "*"
--version = "1.51.0"
++python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
++version = "1.52.0"
[package.dependencies]
protobuf = ">=3.6.0"
@@@ -936,7 -959,7 +945,7 @@@ description = "GraphQL implementation f
name = "graphql-core"
optional = false
python-versions = "*"
--version = "2.3.1"
++version = "2.3.2"
[package.dependencies]
promise = ">=2.3,<3"
@@@ -945,7 -968,7 +954,7 @@@ six = ">=1.10.0
[package.extras]
gevent = ["gevent (>=1.1)"]
--test = ["pytest (4.6.9)", "pytest-django (3.8.0)", "pytest-cov (2.8.1)", "coveralls (1.10.0)", "gevent (1.4.0)", "six (>=1.10.0)", "pytest-benchmark (3.2.3)", "pytest-mock (2.0.0)"]
++test = ["six (1.14.0)", "pyannotate (1.2.0)", "pytest (4.6.10)", "pytest-django (3.9.0)", "pytest-cov (2.8.1)", "coveralls (1.11.1)", "cython (0.29.17)", "gevent (1.5.0)", "pytest-benchmark (3.2.3)", "pytest-mock (2.0.0)"]
[[package]]
category = "main"
@@@ -1000,7 -1023,7 +1009,7 @@@ description = "File identification libr
name = "identify"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7"
--version = "1.4.15"
++version = "1.4.19"
[package.extras]
license = ["editdistance"]
@@@ -1063,8 -1086,8 +1072,8 @@@ category = "main
description = "JSON Matching Expressions"
name = "jmespath"
optional = false
--python-versions = "*"
--version = "0.9.5"
++python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
++version = "0.10.0"
[[package]]
category = "main"
@@@ -1118,7 -1141,7 +1127,7 @@@ description = "Powerful and Pythonic XM
name = "lxml"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*"
--version = "4.5.0"
++version = "4.5.1"
[package.extras]
cssselect = ["cssselect (>=0.7)"]
@@@ -1189,7 -1212,7 +1198,7 @@@ description = "More routines for operat
name = "more-itertools"
optional = false
python-versions = ">=3.5"
--version = "8.2.0"
++version = "8.3.0"
[[package]]
category = "main"
@@@ -1206,7 -1229,7 +1215,7 @@@ marker = "python_version >= \"3.6\"
name = "multidict"
optional = false
python-versions = ">=3.5"
--version = "4.7.5"
++version = "4.7.6"
[[package]]
category = "dev"
@@@ -1238,7 -1261,7 +1247,7 @@@ description = "Node.js virtual environm
name = "nodeenv"
optional = false
python-versions = "*"
--version = "1.3.5"
++version = "1.4.0"
[[package]]
category = "main"
@@@ -1270,7 -1293,7 +1279,7 @@@ description = "Core utilities for Pytho
name = "packaging"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
--version = "20.3"
++version = "20.4"
[package.dependencies]
pyparsing = ">=2.0.2"
@@@ -1290,7 -1313,7 +1299,7 @@@ description = "Python version of Google
name = "phonenumberslite"
optional = false
python-versions = "*"
--version = "8.12.4"
++version = "8.12.5"
[[package]]
category = "main"
@@@ -1317,7 -1340,7 +1326,7 @@@ description = "A framework for managin
name = "pre-commit"
optional = false
python-versions = ">=3.6.1"
--version = "2.4.0"
++version = "2.5.0"
[package.dependencies]
cfgv = ">=2.0.0"
@@@ -1359,7 -1382,7 +1368,7 @@@ description = "Protocol Buffers
name = "protobuf"
optional = false
python-versions = "*"
--version = "3.11.3"
++version = "3.12.2"
[package.dependencies]
setuptools = "*"
@@@ -1465,7 -1488,7 +1474,7 @@@ description = "python code static check
name = "pylint"
optional = false
python-versions = ">=3.5.*"
--version = "2.5.2"
++version = "2.5.3"
[package.dependencies]
astroid = ">=2.4.0,<=2.5"
@@@ -1621,7 -1644,7 +1630,7 @@@ description = "Thin-wrapper around the
name = "pytest-mock"
optional = false
python-versions = ">=3.5"
--version = "3.1.0"
++version = "3.1.1"
[package.dependencies]
pytest = ">=2.7"
@@@ -1730,7 -1753,7 +1739,7 @@@ description = "Python client for Redis
name = "redis"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
--version = "3.5.1"
++version = "3.5.3"
[package.extras]
hiredis = ["hiredis (>=0.1.3)"]
@@@ -1741,7 -1764,7 +1750,7 @@@ description = "Alternative regular expr
name = "regex"
optional = false
python-versions = "*"
--version = "2020.5.7"
++version = "2020.6.8"
[[package]]
category = "main"
@@@ -1834,7 -1857,7 +1843,7 @@@ description = "Python 2 and 3 compatibi
name = "six"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
--version = "1.14.0"
++version = "1.15.0"
[[package]]
category = "dev"
@@@ -1850,7 -1873,7 +1859,7 @@@ description = "A modern CSS selector im
name = "soupsieve"
optional = false
python-versions = ">=3.5"
--version = "2.0"
++version = "2.0.1"
[[package]]
category = "main"
@@@ -1878,8 -1901,8 +1887,8 @@@ category = "main
description = "Computer algebra system (CAS) in Python"
name = "sympy"
optional = false
--python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
--version = "1.5.1"
++python-versions = ">=3.5"
++version = "1.6"
[package.dependencies]
mpmath = ">=0.19"
@@@ -1941,7 -1964,7 +1950,7 @@@ description = "Python Library for Tom'
name = "toml"
optional = false
python-versions = "*"
--version = "0.10.0"
++version = "0.10.1"
[[package]]
category = "main"
@@@ -1957,7 -1980,7 +1966,7 @@@ description = "tox is a generic virtual
name = "tox"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7"
--version = "3.15.1"
++version = "3.15.2"
[package.dependencies]
colorama = ">=0.4.1"
@@@ -2083,7 -2106,7 +2092,7 @@@ description = "Virtual Python Environme
name = "virtualenv"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7"
--version = "20.0.20"
++version = "20.0.21"
[package.dependencies]
appdirs = ">=1.4.3,<2"
@@@ -2097,11 -2120,11 +2106,11 @@@ testing = ["pytest (>=4)", "coverage (>
[[package]]
category = "dev"
--description = "Measures number of Terminal column cells of wide-character codes"
++description = "Measures the displayed width of unicode strings in a terminal"
name = "wcwidth"
optional = false
python-versions = "*"
--version = "0.1.9"
++version = "0.2.4"
[[package]]
category = "main"
@@@ -2155,7 -2178,7 +2164,7 @@@ idna = ">=2.0
multidict = ">=4.0"
[metadata]
- content-hash = "0b716b15e52775f0fa662feb204de9a592d68e8724f204da898d422708b24915"
-content-hash = "40bd1f9a5d437ffb3b519017fc0232e647e9da1639b216798ece041bb60474ea"
++content-hash = "92d583aded572499e528c8ac53e27e1953bc0a4c7edc166d864e1fc82048b375"
python-versions = "~3.8"
[metadata.files]
@@@ -2180,8 -2203,8 +2189,8 @@@ asgiref =
{file = "asgiref-3.2.7.tar.gz", hash = "sha256:8036f90603c54e93521e5777b2b9a39ba1bad05773fcf2d208f0299d1df58ce5"},
]
astroid = [
-- {file = "astroid-2.4.1-py3-none-any.whl", hash = "sha256:d8506842a3faf734b81599c8b98dcc423de863adcc1999248480b18bd31a0f38"},
-- {file = "astroid-2.4.1.tar.gz", hash = "sha256:4c17cea3e592c21b6e222f673868961bad77e1f985cb1694ed077475a89229c1"},
++ {file = "astroid-2.4.2-py3-none-any.whl", hash = "sha256:bc58d83eb610252fd8de6363e39d4f1d0619c894b0ed24603b881c02e64c7386"},
++ {file = "astroid-2.4.2.tar.gz", hash = "sha256:2f4078c2a41bf377eea06d71c9d2ba4eb8f6b1af2135bec27bbbb7d8f12bb703"},
]
atomicwrites = [
{file = "atomicwrites-1.4.0-py2.py3-none-any.whl", hash = "sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197"},
@@@ -2213,12 -2236,12 +2222,12 @@@ black =
{file = "black-19.10b0.tar.gz", hash = "sha256:c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539"},
]
boto3 = [
- {file = "boto3-1.13.16-py2.py3-none-any.whl", hash = "sha256:650d67b0d47b7bc0d79f04cc944506823dbbc2f76f60e64ce6d7cdd89f60a2eb"},
- {file = "boto3-1.13.16.tar.gz", hash = "sha256:2a97c9e8fd2c0f8d8a92262a0ccbd00aad8c4786acb74f620f54164070cb72ff"},
- {file = "boto3-1.13.24-py2.py3-none-any.whl", hash = "sha256:d19fb5b7f27c29a7a036e36888e9584132e2f8edfa6ef906ea5a712e3e29962c"},
- {file = "boto3-1.13.24.tar.gz", hash = "sha256:5df1f3f84587b4d812f6f178031119b80920822b459bbb70ad49f431128655dc"},
++ {file = "boto3-1.13.25-py2.py3-none-any.whl", hash = "sha256:89ad0d7bb0a619fa5b10d4b23bba8f2f97ee500055038da2723a96d4f0f97447"},
++ {file = "boto3-1.13.25.tar.gz", hash = "sha256:1c37c727e0e6f872f5262a893a1ed5422ef0f1ed6075d35b809e20c3072dad5b"},
]
botocore = [
- {file = "botocore-1.16.16-py2.py3-none-any.whl", hash = "sha256:0275023d023f0e3f9c27e5f23c437dd09ee715577cc628cf724e8bfbba2b459e"},
- {file = "botocore-1.16.16.tar.gz", hash = "sha256:70d52f606bab2867971c0ea0c7723a769d81aa3cfd09f819d2b56e186e64ea0b"},
- {file = "botocore-1.16.24-py2.py3-none-any.whl", hash = "sha256:e44b11b1c47c06b0f6524b0ff1fa1cae5ddea4eb06f359e4a9730e8e881b397a"},
- {file = "botocore-1.16.24.tar.gz", hash = "sha256:17bc71415186efb86a25dd674f78064cdd85139485967d5a0741c7b83d62cf5b"},
++ {file = "botocore-1.16.25-py2.py3-none-any.whl", hash = "sha256:66a92cc8cb070483d1c013748a96b9bf76cfb8dbcba9ffd942dae749e432afe1"},
++ {file = "botocore-1.16.25.tar.gz", hash = "sha256:b55b3acab42b58c24481a9fbb33d53fb7d8d03dfc0338af0132f6c5010006d0d"},
]
braintree = [
{file = "braintree-4.1.0-py2.py3-none-any.whl", hash = "sha256:152fa9e3b30a7757db0061e1c022c944216bf881209376b28a3f07043cff009b"},
@@@ -2236,12 -2259,12 +2245,12 @@@ cairosvg =
{file = "CairoSVG-2.4.2.tar.gz", hash = "sha256:4e668f96653326780036ebb0a9ff2bb59a8443d7bcfc51a14aab77b57a8e67ad"},
]
celery = [
- {file = "celery-4.4.2-py2.py3-none-any.whl", hash = "sha256:5b4b37e276033fe47575107a2775469f0b721646a08c96ec2c61531e4fe45f2a"},
- {file = "celery-4.4.2.tar.gz", hash = "sha256:108a0bf9018a871620936c33a3ee9f6336a89f8ef0a0f567a9001f4aa361415f"},
+ {file = "celery-4.4.5-py2.py3-none-any.whl", hash = "sha256:d1762d6065522879f341c3d67c2b9fe4615eb79756d59acb1434601d4aca474b"},
+ {file = "celery-4.4.5.tar.gz", hash = "sha256:c3f4173f83ceb5a5c986c5fdaefb9456de3b0729a72a5776e46bd405fda7b647"},
]
certifi = [
-- {file = "certifi-2020.4.5.1-py2.py3-none-any.whl", hash = "sha256:1d987a998c75633c40847cc966fcf5904906c920a7f17ef374f5aa4282abd304"},
-- {file = "certifi-2020.4.5.1.tar.gz", hash = "sha256:51fcb31174be6e6664c5f69e3e1691a2d72a1a12e90f872cbdb1567eb47b6519"},
++ {file = "certifi-2020.4.5.2-py2.py3-none-any.whl", hash = "sha256:9cd41137dc19af6a5e03b630eefe7d1f458d964d406342dd3edf625839b944cc"},
++ {file = "certifi-2020.4.5.2.tar.gz", hash = "sha256:5ad7e9a056d25ffa5082862e36f119f7f7cec6457fa07ee2f8c339814b80c9b1"},
]
cffi = [
{file = "cffi-1.14.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:1cae98a7054b5c9391eb3249b86e0e99ab1e02bb0cc0575da191aedadbdf4384"},
@@@ -2342,12 -2366,12 +2352,12 @@@ dj-database-url =
{file = "dj_database_url-0.5.0-py2.py3-none-any.whl", hash = "sha256:851785365761ebe4994a921b433062309eb882fedd318e1b0fcecc607ed02da9"},
]
dj-email-url = [
- {file = "dj-email-url-1.0.0.tar.gz", hash = "sha256:0cb37ac18ffdfecf362a7ff59a8e4ddeb01ac0b0325092e69206656a50bd068a"},
- {file = "dj_email_url-1.0.0-py2.py3-none-any.whl", hash = "sha256:19a0450378831e2707e00404866e632837efc67dcc2e7e7a98f72df94b89c1f6"},
+ {file = "dj-email-url-1.0.1.tar.gz", hash = "sha256:32dc567c5cc3d4106710ec36dd645c8c1b20e2d8f588a17ab88bcc23e347d00a"},
+ {file = "dj_email_url-1.0.1-py2.py3-none-any.whl", hash = "sha256:557c07b3039befdc1c561c4038b155d659c09f996d5e33c91189c2e23969da90"},
]
django = [
-- {file = "Django-3.0.6-py3-none-any.whl", hash = "sha256:051ba55d42daa3eeda3944a8e4df2bc96d4c62f94316dea217248a22563c3621"},
-- {file = "Django-3.0.6.tar.gz", hash = "sha256:9aaa6a09678e1b8f0d98a948c56482eac3e3dd2ddbfb8de70a868135ef3b5e01"},
++ {file = "Django-3.0.7-py3-none-any.whl", hash = "sha256:e1630333248c9b3d4e38f02093a26f1e07b271ca896d73097457996e0fae12e8"},
++ {file = "Django-3.0.7.tar.gz", hash = "sha256:5052b34b34b3425233c682e0e11d658fd6efd587d11335a0203d827224ada8f2"},
]
django-appconf = [
{file = "django-appconf-1.0.4.tar.gz", hash = "sha256:be58deb54a43d77d2e1621fe59f787681376d3cd0b8bd8e4758ef6c3a6453380"},
@@@ -2366,16 -2390,16 +2376,16 @@@ django-debug-toolbar =
{file = "django_debug_toolbar-2.2-py3-none-any.whl", hash = "sha256:ff94725e7aae74b133d0599b9bf89bd4eb8f5d2c964106e61d11750228c8774c"},
]
django-debug-toolbar-request-history = [
-- {file = "django-debug-toolbar-request-history-0.1.1.tar.gz", hash = "sha256:b4e53f1da523d6fe7d2a9cb1b0cf4ce7c83c8a02fad56555ec041911371e62cd"},
-- {file = "django_debug_toolbar_request_history-0.1.1-py2.py3-none-any.whl", hash = "sha256:79013b50ba59d93d998b6f168ca4325eb5be3a9b859d48fb14aae80819f3a734"},
++ {file = "django-debug-toolbar-request-history-0.1.3.tar.gz", hash = "sha256:05935afec547a90149965caad07e2893cabf6ce79db2131e24ffd8ce3361c879"},
++ {file = "django_debug_toolbar_request_history-0.1.3-py2.py3-none-any.whl", hash = "sha256:6bc86251e283be3f9c94b8e70a63c3783eb20bf320fad363adbfa8e1e698149b"},
]
django-extensions = [
{file = "django-extensions-2.2.9.tar.gz", hash = "sha256:2f81b618ba4d1b0e58603e25012e5c74f88a4b706e0022a3b21f24f0322a6ce6"},
{file = "django_extensions-2.2.9-py2.py3-none-any.whl", hash = "sha256:b19182d101a441fe001c5753553a901e2ef3ff60e8fbbe38881eb4a61fdd17c4"},
]
django-filter = [
-- {file = "django-filter-2.2.0.tar.gz", hash = "sha256:c3deb57f0dd7ff94d7dce52a047516822013e2b441bed472b722a317658cfd14"},
-- {file = "django_filter-2.2.0-py3-none-any.whl", hash = "sha256:558c727bce3ffa89c4a7a0b13bc8976745d63e5fd576b3a9a851650ef11c401b"},
++ {file = "django-filter-2.3.0.tar.gz", hash = "sha256:11e63dd759835d9ba7a763926ffb2662cf8a6dcb4c7971a95064de34dbc7e5af"},
++ {file = "django_filter-2.3.0-py3-none-any.whl", hash = "sha256:616848eab6fc50193a1b3730140c49b60c57a3eda1f7fc57fa8505ac156c6c75"},
]
django-graphiql-debug-toolbar = [
{file = "django-graphiql-debug-toolbar-0.1.4.tar.gz", hash = "sha256:946fba21418b3fd57e7e357d4cd110fb7881e08d3b7a0a8a00400fa2e75965f5"},
@@@ -2451,20 -2479,23 +2461,23 @@@ filelock =
{file = "filelock-3.0.12.tar.gz", hash = "sha256:18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59"},
]
flake8 = [
-- {file = "flake8-3.8.2-py2.py3-none-any.whl", hash = "sha256:ccaa799ef9893cebe69fdfefed76865aeaefbb94cb8545617b2298786a4de9a5"},
-- {file = "flake8-3.8.2.tar.gz", hash = "sha256:c69ac1668e434d37a2d2880b3ca9aafd54b3a10a3ac1ab101d22f29e29cf8634"},
++ {file = "flake8-3.8.3-py2.py3-none-any.whl", hash = "sha256:15e351d19611c887e482fb960eae4d44845013cc142d42896e9862f775d8cf5c"},
++ {file = "flake8-3.8.3.tar.gz", hash = "sha256:f04b9fcbac03b0a3e58c0ab3a0ecc462e023a9faf046d57794184028123aa208"},
]
freezegun = [
{file = "freezegun-0.3.15-py2.py3-none-any.whl", hash = "sha256:82c757a05b7c7ca3e176bfebd7d6779fd9139c7cb4ef969c38a28d74deef89b2"},
{file = "freezegun-0.3.15.tar.gz", hash = "sha256:e2062f2c7f95cc276a834c22f1a17179467176b624cc6f936e8bc3be5535ad1b"},
]
+ future = [
+ {file = "future-0.18.2.tar.gz", hash = "sha256:b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d"},
+ ]
google-api-core = [
-- {file = "google-api-core-1.17.0.tar.gz", hash = "sha256:e4082a0b479dc2dee2f8d7b80ea8b5d0184885b773caab15ab1836277a01d689"},
-- {file = "google_api_core-1.17.0-py2.py3-none-any.whl", hash = "sha256:c0e430658ed6be902d7ba7095fb0a9cac810270d71bf7ac4484e76c300407aae"},
++ {file = "google-api-core-1.19.1.tar.gz", hash = "sha256:6ce7609320449ad8680312395b89396a7d6951032f1886bb1a16534e4ff3867d"},
++ {file = "google_api_core-1.19.1-py2.py3-none-any.whl", hash = "sha256:30beef3c1a98789e380e157ed915fc57f8fb53b22c2410b20e9f9aad332741bc"},
]
google-auth = [
-- {file = "google-auth-1.14.3.tar.gz", hash = "sha256:82d32f6601f35309c95d5917bcdf72f3ec193c7f46c79e433b8d76ccbe68e21d"},
-- {file = "google_auth-1.14.3-py2.py3-none-any.whl", hash = "sha256:4942ab1ff530e740866571c0416fb5a7dc9ec53233a8f8dff63e8cd7371003d1"},
++ {file = "google-auth-1.16.1.tar.gz", hash = "sha256:2f1a6bc3031fc7cd0c1aeb225ad34febcb60268f71f5df75d5976dd20a52c002"},
++ {file = "google_auth-1.16.1-py2.py3-none-any.whl", hash = "sha256:c041ffe8887fda3b040b39700d839fe38260c281ee11dbf6627978e21c99a626"},
]
google-cloud-core = [
{file = "google-cloud-core-1.3.0.tar.gz", hash = "sha256:878f9ad080a40cdcec85b92242c4b5819eeb8f120ebc5c9f640935e24fc129d8"},
@@@ -2482,11 -2513,11 +2495,12 @@@ google-measurement-protocol =
{file = "google-measurement-protocol-1.0.0.tar.gz", hash = "sha256:7618c44b875a0c9e80e6cf55e44ed80c04cf74cd2eff7eacdd76bf9b03029551"},
]
google-resumable-media = [
-- {file = "google-resumable-media-0.5.0.tar.gz", hash = "sha256:2a8fd188afe1cbfd5998bf20602f76b0336aa892de88fe842a806b9a3ed78d2a"},
-- {file = "google_resumable_media-0.5.0-py2.py3-none-any.whl", hash = "sha256:b86140d5a0b6d290084b11bde90ee9aecad357ba0e0d67388d016b8340320927"},
++ {file = "google-resumable-media-0.5.1.tar.gz", hash = "sha256:97155236971970382b738921f978a6f86a7b5a0b0311703d991e065d3cb55773"},
++ {file = "google_resumable_media-0.5.1-py2.py3-none-any.whl", hash = "sha256:cdc64378dc9a7a7bf963a8d0c944c99b549dc0c195a9acbf1fcd465f380b9002"},
]
googleapis-common-protos = [
-- {file = "googleapis-common-protos-1.51.0.tar.gz", hash = "sha256:013c91704279119150e44ef770086fdbba158c1f978a6402167d47d5409e226e"},
++ {file = "googleapis-common-protos-1.52.0.tar.gz", hash = "sha256:560716c807117394da12cecb0a54da5a451b5cf9866f1d37e9a5e2329a665351"},
++ {file = "googleapis_common_protos-1.52.0-py2.py3-none-any.whl", hash = "sha256:c8961760f5aad9a711d37b675be103e0cc4e9a39327e0d6d857872f698403e24"},
]
graphene = [
{file = "graphene-2.1.8-py2.py3-none-any.whl", hash = "sha256:09165f03e1591b76bf57b133482db9be6dac72c74b0a628d3c93182af9c5a896"},
@@@ -2500,8 -2531,8 +2514,8 @@@ graphene-federation =
{file = "graphene-federation-0.1.0.tar.gz", hash = "sha256:e44e8e354d0c8eeb03547d5c262d01c868d4ea7d1458512c994176eed80fd2bf"},
]
graphql-core = [
-- {file = "graphql-core-2.3.1.tar.gz", hash = "sha256:74a8f509ae8c4a58271f5d6b46d5c75b4aed116821ab62dea252d8041bfe057a"},
-- {file = "graphql_core-2.3.1-py2.py3-none-any.whl", hash = "sha256:c06e59153246dd48ddbf86ca94a8f045c1b71daf8154b4635e1a0e2e11d9b60b"},
++ {file = "graphql-core-2.3.2.tar.gz", hash = "sha256:aac46a9ac524c9855910c14c48fc5d60474def7f99fd10245e76608eba7af746"},
++ {file = "graphql_core-2.3.2-py2.py3-none-any.whl", hash = "sha256:44c9bac4514e5e30c5a595fac8e3c76c1975cae14db215e8174c7fe995825bad"},
]
graphql-relay = [
{file = "graphql-relay-2.0.1.tar.gz", hash = "sha256:870b6b5304123a38a0b215a79eace021acce5a466bf40cd39fa18cb8528afabb"},
@@@ -2515,8 -2546,8 +2529,8 @@@ html5lib =
{file = "html5lib-1.0.1.tar.gz", hash = "sha256:66cb0dcfdbbc4f9c3ba1a63fdb511ffdbd4f513b2b6d81b80cd26ce6b3fb3736"},
]
identify = [
-- {file = "identify-1.4.15-py2.py3-none-any.whl", hash = "sha256:88ed90632023e52a6495749c6732e61e08ec9f4f04e95484a5c37b9caf40283c"},
-- {file = "identify-1.4.15.tar.gz", hash = "sha256:23c18d97bb50e05be1a54917ee45cc61d57cb96aedc06aabb2b02331edf0dbf0"},
++ {file = "identify-1.4.19-py2.py3-none-any.whl", hash = "sha256:781fd3401f5d2b17b22a8b18b493a48d5d948e3330634e82742e23f9c20234ef"},
++ {file = "identify-1.4.19.tar.gz", hash = "sha256:249ebc7e2066d6393d27c1b1be3b70433f824a120b1d8274d362f1eb419e3b52"},
]
idna = [
{file = "idna-2.9-py2.py3-none-any.whl", hash = "sha256:a068a21ceac8a4d63dbfd964670474107f541babbd2250d61922f029858365fa"},
@@@ -2534,8 -2565,8 +2548,8 @@@ jinja2 =
{file = "Jinja2-2.11.2.tar.gz", hash = "sha256:89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0"},
]
jmespath = [
-- {file = "jmespath-0.9.5-py2.py3-none-any.whl", hash = "sha256:695cb76fa78a10663425d5b73ddc5714eb711157e52704d69be03b1a02ba4fec"},
-- {file = "jmespath-0.9.5.tar.gz", hash = "sha256:cca55c8d153173e21baa59983015ad0daf603f9cb799904ff057bfb8ff8dc2d9"},
++ {file = "jmespath-0.10.0-py2.py3-none-any.whl", hash = "sha256:cdf6525904cc597730141d61b36f2e4b8ecc257c420fa2f4549bac2c2d0cb72f"},
++ {file = "jmespath-0.10.0.tar.gz", hash = "sha256:b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9"},
]
jsonfield = [
{file = "jsonfield-3.1.0-py3-none-any.whl", hash = "sha256:df857811587f252b97bafba42e02805e70a398a7a47870bc6358a0308dd689ed"},
@@@ -2569,33 -2600,33 +2583,33 @@@ lazy-object-proxy =
{file = "lazy_object_proxy-1.4.3-cp38-cp38-win_amd64.whl", hash = "sha256:59f79fef100b09564bc2df42ea2d8d21a64fdcda64979c0fa3db7bdaabaf6239"},
]
lxml = [
-- {file = "lxml-4.5.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:0701f7965903a1c3f6f09328c1278ac0eee8f56f244e66af79cb224b7ef3801c"},
-- {file = "lxml-4.5.0-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:06d4e0bbb1d62e38ae6118406d7cdb4693a3fa34ee3762238bcb96c9e36a93cd"},
-- {file = "lxml-4.5.0-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:5828c7f3e615f3975d48f40d4fe66e8a7b25f16b5e5705ffe1d22e43fb1f6261"},
-- {file = "lxml-4.5.0-cp27-cp27m-win32.whl", hash = "sha256:afdb34b715daf814d1abea0317b6d672476b498472f1e5aacbadc34ebbc26e89"},
-- {file = "lxml-4.5.0-cp27-cp27m-win_amd64.whl", hash = "sha256:585c0869f75577ac7a8ff38d08f7aac9033da2c41c11352ebf86a04652758b7a"},
-- {file = "lxml-4.5.0-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:8a0ebda56ebca1a83eb2d1ac266649b80af8dd4b4a3502b2c1e09ac2f88fe128"},
-- {file = "lxml-4.5.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:fe976a0f1ef09b3638778024ab9fb8cde3118f203364212c198f71341c0715ca"},
-- {file = "lxml-4.5.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:7bc1b221e7867f2e7ff1933165c0cec7153dce93d0cdba6554b42a8beb687bdb"},
-- {file = "lxml-4.5.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:d068f55bda3c2c3fcaec24bd083d9e2eede32c583faf084d6e4b9daaea77dde8"},
-- {file = "lxml-4.5.0-cp35-cp35m-win32.whl", hash = "sha256:e4aa948eb15018a657702fee0b9db47e908491c64d36b4a90f59a64741516e77"},
-- {file = "lxml-4.5.0-cp35-cp35m-win_amd64.whl", hash = "sha256:1f2c4ec372bf1c4a2c7e4bb20845e8bcf8050365189d86806bad1e3ae473d081"},
-- {file = "lxml-4.5.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:5d467ce9c5d35b3bcc7172c06320dddb275fea6ac2037f72f0a4d7472035cea9"},
-- {file = "lxml-4.5.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:95e67224815ef86924fbc2b71a9dbd1f7262384bca4bc4793645794ac4200717"},
-- {file = "lxml-4.5.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:ebec08091a22c2be870890913bdadd86fcd8e9f0f22bcb398abd3af914690c15"},
-- {file = "lxml-4.5.0-cp36-cp36m-win32.whl", hash = "sha256:deadf4df349d1dcd7b2853a2c8796593cc346600726eff680ed8ed11812382a7"},
-- {file = "lxml-4.5.0-cp36-cp36m-win_amd64.whl", hash = "sha256:f2b74784ed7e0bc2d02bd53e48ad6ba523c9b36c194260b7a5045071abbb1012"},
-- {file = "lxml-4.5.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:fa071559f14bd1e92077b1b5f6c22cf09756c6de7139370249eb372854ce51e6"},
-- {file = "lxml-4.5.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:edc15fcfd77395e24543be48871c251f38132bb834d9fdfdad756adb6ea37679"},
-- {file = "lxml-4.5.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:fd52e796fee7171c4361d441796b64df1acfceb51f29e545e812f16d023c4bbc"},
-- {file = "lxml-4.5.0-cp37-cp37m-win32.whl", hash = "sha256:90ed0e36455a81b25b7034038e40880189169c308a3df360861ad74da7b68c1a"},
-- {file = "lxml-4.5.0-cp37-cp37m-win_amd64.whl", hash = "sha256:df533af6f88080419c5a604d0d63b2c33b1c0c4409aba7d0cb6de305147ea8c8"},
-- {file = "lxml-4.5.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b4b2c63cc7963aedd08a5f5a454c9f67251b1ac9e22fd9d72836206c42dc2a72"},
-- {file = "lxml-4.5.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:e5d842c73e4ef6ed8c1bd77806bf84a7cb535f9c0cf9b2c74d02ebda310070e1"},
-- {file = "lxml-4.5.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:63dbc21efd7e822c11d5ddbedbbb08cd11a41e0032e382a0fd59b0b08e405a3a"},
-- {file = "lxml-4.5.0-cp38-cp38-win32.whl", hash = "sha256:4235bc124fdcf611d02047d7034164897ade13046bda967768836629bc62784f"},
-- {file = "lxml-4.5.0-cp38-cp38-win_amd64.whl", hash = "sha256:d5b3c4b7edd2e770375a01139be11307f04341ec709cf724e0f26ebb1eef12c3"},
-- {file = "lxml-4.5.0.tar.gz", hash = "sha256:8620ce80f50d023d414183bf90cc2576c2837b88e00bea3f33ad2630133bbb60"},
++ {file = "lxml-4.5.1-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:ee2be8b8f72a2772e72ab926a3bccebf47bb727bda41ae070dc91d1fb759b726"},
++ {file = "lxml-4.5.1-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:fadd2a63a2bfd7fb604508e553d1cf68eca250b2fbdbd81213b5f6f2fbf23529"},
++ {file = "lxml-4.5.1-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:4f282737d187ae723b2633856085c31ae5d4d432968b7f3f478a48a54835f5c4"},
++ {file = "lxml-4.5.1-cp27-cp27m-win32.whl", hash = "sha256:7fd88cb91a470b383aafad554c3fe1ccf6dfb2456ff0e84b95335d582a799804"},
++ {file = "lxml-4.5.1-cp27-cp27m-win_amd64.whl", hash = "sha256:0790ddca3f825dd914978c94c2545dbea5f56f008b050e835403714babe62a5f"},
++ {file = "lxml-4.5.1-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:9144ce36ca0824b29ebc2e02ca186e54040ebb224292072250467190fb613b96"},
++ {file = "lxml-4.5.1-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:a636346c6c0e1092ffc202d97ec1843a75937d8c98aaf6771348ad6422e44bb0"},
++ {file = "lxml-4.5.1-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:f95d28193c3863132b1f55c1056036bf580b5a488d908f7d22a04ace8935a3a9"},
++ {file = "lxml-4.5.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:b26719890c79a1dae7d53acac5f089d66fd8cc68a81f4e4bd355e45470dc25e1"},
++ {file = "lxml-4.5.1-cp35-cp35m-win32.whl", hash = "sha256:a9e3b8011388e7e373565daa5e92f6c9cb844790dc18e43073212bb3e76f7007"},
++ {file = "lxml-4.5.1-cp35-cp35m-win_amd64.whl", hash = "sha256:2754d4406438c83144f9ffd3628bbe2dcc6d62b20dbc5c1ec4bc4385e5d44b42"},
++ {file = "lxml-4.5.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:925baf6ff1ef2c45169f548cc85204433e061360bfa7d01e1be7ae38bef73194"},
++ {file = "lxml-4.5.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:a87dbee7ad9dce3aaefada2081843caf08a44a8f52e03e0a4cc5819f8398f2f4"},
++ {file = "lxml-4.5.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:51bb4edeb36d24ec97eb3e6a6007be128b720114f9a875d6b370317d62ac80b9"},
++ {file = "lxml-4.5.1-cp36-cp36m-win32.whl", hash = "sha256:c79e5debbe092e3c93ca4aee44c9a7631bdd407b2871cb541b979fd350bbbc29"},
++ {file = "lxml-4.5.1-cp36-cp36m-win_amd64.whl", hash = "sha256:b7462cdab6fffcda853338e1741ce99706cdf880d921b5a769202ea7b94e8528"},
++ {file = "lxml-4.5.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:06748c7192eab0f48e3d35a7adae609a329c6257495d5e53878003660dc0fec6"},
++ {file = "lxml-4.5.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:1aa7a6197c1cdd65d974f3e4953764eee3d9c7b67e3966616b41fab7f8f516b7"},
++ {file = "lxml-4.5.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:afb53edf1046599991fb4a7d03e601ab5f5422a5435c47ee6ba91ec3b61416a6"},
++ {file = "lxml-4.5.1-cp37-cp37m-win32.whl", hash = "sha256:2d1ddce96cf15f1254a68dba6935e6e0f1fe39247de631c115e84dd404a6f031"},
++ {file = "lxml-4.5.1-cp37-cp37m-win_amd64.whl", hash = "sha256:22c6d34fdb0e65d5f782a4d1a1edb52e0a8365858dafb1c08cb1d16546cf0786"},
++ {file = "lxml-4.5.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c47a8a5d00060122ca5908909478abce7bbf62d812e3fc35c6c802df8fb01fe7"},
++ {file = "lxml-4.5.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:b77975465234ff49fdad871c08aa747aae06f5e5be62866595057c43f8d2f62c"},
++ {file = "lxml-4.5.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:2b02c106709466a93ed424454ce4c970791c486d5fcdf52b0d822a7e29789626"},
++ {file = "lxml-4.5.1-cp38-cp38-win32.whl", hash = "sha256:7eee37c1b9815e6505847aa5e68f192e8a1b730c5c7ead39ff317fde9ce29448"},
++ {file = "lxml-4.5.1-cp38-cp38-win_amd64.whl", hash = "sha256:d8d40e0121ca1606aa9e78c28a3a7d88a05c06b3ca61630242cded87d8ce55fa"},
++ {file = "lxml-4.5.1.tar.gz", hash = "sha256:27ee0faf8077c7c1a589573b1450743011117f1aa1a91d5ae776bbc5ca6070f2"},
]
markdown = [
{file = "Markdown-3.2.2-py3-none-any.whl", hash = "sha256:c467cd6233885534bf0fe96e62e3cf46cfc1605112356c4f9981512b8174de59"},
@@@ -2650,30 -2681,30 +2664,30 @@@ measurement =
{file = "measurement-3.2.0.tar.gz", hash = "sha256:352b20f7f0e553236af7c5ed48d091a51cf26061c1a063f46b31706ff7c0d57a"},
]
more-itertools = [
-- {file = "more-itertools-8.2.0.tar.gz", hash = "sha256:b1ddb932186d8a6ac451e1d95844b382f55e12686d51ca0c68b6f61f2ab7a507"},
-- {file = "more_itertools-8.2.0-py3-none-any.whl", hash = "sha256:5dd8bcf33e5f9513ffa06d5ad33d78f31e1931ac9a18f33d37e77a180d393a7c"},
++ {file = "more-itertools-8.3.0.tar.gz", hash = "sha256:558bb897a2232f5e4f8e2399089e35aecb746e1f9191b6584a151647e89267be"},
++ {file = "more_itertools-8.3.0-py3-none-any.whl", hash = "sha256:7818f596b1e87be009031c7653d01acc46ed422e6656b394b0f765ce66ed4982"},
]
mpmath = [
{file = "mpmath-1.1.0.tar.gz", hash = "sha256:fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6"},
]
multidict = [
-- {file = "multidict-4.7.5-cp35-cp35m-macosx_10_13_x86_64.whl", hash = "sha256:fc3b4adc2ee8474cb3cd2a155305d5f8eda0a9c91320f83e55748e1fcb68f8e3"},
-- {file = "multidict-4.7.5-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:42f56542166040b4474c0c608ed051732033cd821126493cf25b6c276df7dd35"},
-- {file = "multidict-4.7.5-cp35-cp35m-win32.whl", hash = "sha256:7774e9f6c9af3f12f296131453f7b81dabb7ebdb948483362f5afcaac8a826f1"},
-- {file = "multidict-4.7.5-cp35-cp35m-win_amd64.whl", hash = "sha256:c2c37185fb0af79d5c117b8d2764f4321eeb12ba8c141a95d0aa8c2c1d0a11dd"},
-- {file = "multidict-4.7.5-cp36-cp36m-macosx_10_13_x86_64.whl", hash = "sha256:e439c9a10a95cb32abd708bb8be83b2134fa93790a4fb0535ca36db3dda94d20"},
-- {file = "multidict-4.7.5-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:85cb26c38c96f76b7ff38b86c9d560dea10cf3459bb5f4caf72fc1bb932c7136"},
-- {file = "multidict-4.7.5-cp36-cp36m-win32.whl", hash = "sha256:620b37c3fea181dab09267cd5a84b0f23fa043beb8bc50d8474dd9694de1fa6e"},
-- {file = "multidict-4.7.5-cp36-cp36m-win_amd64.whl", hash = "sha256:6e6fef114741c4d7ca46da8449038ec8b1e880bbe68674c01ceeb1ac8a648e78"},
-- {file = "multidict-4.7.5-cp37-cp37m-macosx_10_13_x86_64.whl", hash = "sha256:a326f4240123a2ac66bb163eeba99578e9d63a8654a59f4688a79198f9aa10f8"},
-- {file = "multidict-4.7.5-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:dc561313279f9d05a3d0ffa89cd15ae477528ea37aa9795c4654588a3287a9ab"},
-- {file = "multidict-4.7.5-cp37-cp37m-win32.whl", hash = "sha256:4b7df040fb5fe826d689204f9b544af469593fb3ff3a069a6ad3409f742f5928"},
-- {file = "multidict-4.7.5-cp37-cp37m-win_amd64.whl", hash = "sha256:317f96bc0950d249e96d8d29ab556d01dd38888fbe68324f46fd834b430169f1"},
-- {file = "multidict-4.7.5-cp38-cp38-macosx_10_13_x86_64.whl", hash = "sha256:b51249fdd2923739cd3efc95a3d6c363b67bbf779208e9f37fd5e68540d1a4d4"},
-- {file = "multidict-4.7.5-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:ae402f43604e3b2bc41e8ea8b8526c7fa7139ed76b0d64fc48e28125925275b2"},
-- {file = "multidict-4.7.5-cp38-cp38-win32.whl", hash = "sha256:bb519becc46275c594410c6c28a8a0adc66fe24fef154a9addea54c1adb006f5"},
-- {file = "multidict-4.7.5-cp38-cp38-win_amd64.whl", hash = "sha256:544fae9261232a97102e27a926019100a9db75bec7b37feedd74b3aa82f29969"},
-- {file = "multidict-4.7.5.tar.gz", hash = "sha256:aee283c49601fa4c13adc64c09c978838a7e812f85377ae130a24d7198c0331e"},
++ {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"},
]
mypy = [
{file = "mypy-0.740-cp35-cp35m-macosx_10_6_x86_64.whl", hash = "sha256:9371290aa2cad5ad133e4cdc43892778efd13293406f7340b9ffe99d5ec7c1d9"},
@@@ -2696,7 -2727,7 +2710,7 @@@ mypy-extensions =
{file = "mypy_extensions-0.4.3.tar.gz", hash = "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"},
]
nodeenv = [
-- {file = "nodeenv-1.3.5-py2.py3-none-any.whl", hash = "sha256:5b2438f2e42af54ca968dd1b374d14a1194848955187b0e5e4be1f73813a5212"},
++ {file = "nodeenv-1.4.0-py2.py3-none-any.whl", hash = "sha256:4b0b77afa3ba9b54f4b6396e60b0c83f59eaeb2d63dc3cc7a70f7f4af96c82bc"},
]
oauthlib = [
{file = "oauthlib-3.1.0-py2.py3-none-any.whl", hash = "sha256:df884cd6cbe20e32633f1db1072e9356f53638e4361bef4e8b03c9127c9328ea"},
@@@ -2706,16 -2737,16 +2720,16 @@@ opentracing =
{file = "opentracing-2.3.0.tar.gz", hash = "sha256:33b10634917a7496a7e3a18b18b7c055053d0a8da5101e2a95d454783cac9765"},
]
packaging = [
-- {file = "packaging-20.3-py2.py3-none-any.whl", hash = "sha256:82f77b9bee21c1bafbf35a84905d604d5d1223801d639cf3ed140bd651c08752"},
-- {file = "packaging-20.3.tar.gz", hash = "sha256:3c292b474fda1671ec57d46d739d072bfd495a4f51ad01a055121d81e952b7a3"},
++ {file = "packaging-20.4-py2.py3-none-any.whl", hash = "sha256:998416ba6962ae7fbd6596850b80e17859a5753ba17c32284f67bfff33784181"},
++ {file = "packaging-20.4.tar.gz", hash = "sha256:4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8"},
]
pathspec = [
{file = "pathspec-0.8.0-py2.py3-none-any.whl", hash = "sha256:7d91249d21749788d07a2d0f94147accd8f845507400749ea19c1ec9054a12b0"},
{file = "pathspec-0.8.0.tar.gz", hash = "sha256:da45173eb3a6f2a5a487efba21f050af2b41948be6ab52b6a1e3ff22bb8b7061"},
]
phonenumberslite = [
-- {file = "phonenumberslite-8.12.4-py2.py3-none-any.whl", hash = "sha256:071ff1c6830233e57a1821d6dbb702c2d841a72fe4c9e6b6f087d566b532533e"},
-- {file = "phonenumberslite-8.12.4.tar.gz", hash = "sha256:ddf2f33ccb221b16fe25a022978e45d25a7c31c2ad5c506ab92a640001d85847"},
++ {file = "phonenumberslite-8.12.5-py2.py3-none-any.whl", hash = "sha256:7e101c2d0be6ead83e2706c355aaba236df97e9a7b78aed5bda5d4b0eee11178"},
++ {file = "phonenumberslite-8.12.5.tar.gz", hash = "sha256:6e1d31d8a5ad1fe280c3f7ba5b9c08da82245d59946ee06856712ef704f59e19"},
]
pillow = [
{file = "Pillow-7.1.2-cp35-cp35m-macosx_10_10_intel.whl", hash = "sha256:ae2b270f9a0b8822b98655cb3a59cdb1bd54a34807c6c56b76dd2e786c3b7db3"},
@@@ -2747,8 -2778,8 +2761,8 @@@ pluggy =
{file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"},
]
pre-commit = [
-- {file = "pre_commit-2.4.0-py2.py3-none-any.whl", hash = "sha256:5559e09afcac7808933951ffaf4ff9aac524f31efbc3f24d021540b6c579813c"},
-- {file = "pre_commit-2.4.0.tar.gz", hash = "sha256:703e2e34cbe0eedb0d319eff9f7b83e2022bb5a3ab5289a6a8841441076514d0"},
++ {file = "pre_commit-2.5.0-py2.py3-none-any.whl", hash = "sha256:e02328d2a61dc6e0b20a40b6eecda2655b998fed7f561cac5993cbd8bdb3fbde"},
++ {file = "pre_commit-2.5.0.tar.gz", hash = "sha256:3f16110d2e5136de8bae11a32e496cc193a68cf02bcf11dba61d8e6aff06efc5"},
]
prices = [
{file = "prices-1.0.0.tar.gz", hash = "sha256:1e920a2f3b8d610985e7effcecd2b9ccfe58798c4c9641f76f6b5eb4a4bcd91b"},
@@@ -2757,25 -2788,25 +2771,24 @@@ promise =
{file = "promise-2.3.tar.gz", hash = "sha256:dfd18337c523ba4b6a58801c164c1904a9d4d1b1747c7d5dbf45b693a49d93d0"},
]
protobuf = [
-- {file = "protobuf-3.11.3-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:ef2c2e56aaf9ee914d3dccc3408d42661aaf7d9bb78eaa8f17b2e6282f214481"},
-- {file = "protobuf-3.11.3-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:dd9aa4401c36785ea1b6fff0552c674bdd1b641319cb07ed1fe2392388e9b0d7"},
-- {file = "protobuf-3.11.3-cp35-cp35m-macosx_10_9_intel.whl", hash = "sha256:310a7aca6e7f257510d0c750364774034272538d51796ca31d42c3925d12a52a"},
-- {file = "protobuf-3.11.3-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:e512b7f3a4dd780f59f1bf22c302740e27b10b5c97e858a6061772668cd6f961"},
-- {file = "protobuf-3.11.3-cp35-cp35m-win32.whl", hash = "sha256:fdfb6ad138dbbf92b5dbea3576d7c8ba7463173f7d2cb0ca1bd336ec88ddbd80"},
-- {file = "protobuf-3.11.3-cp35-cp35m-win_amd64.whl", hash = "sha256:e2f8a75261c26b2f5f3442b0525d50fd79a71aeca04b5ec270fc123536188306"},
-- {file = "protobuf-3.11.3-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:c40973a0aee65422d8cb4e7d7cbded95dfeee0199caab54d5ab25b63bce8135a"},
-- {file = "protobuf-3.11.3-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:adf0e4d57b33881d0c63bb11e7f9038f98ee0c3e334c221f0858f826e8fb0151"},
-- {file = "protobuf-3.11.3-cp36-cp36m-win32.whl", hash = "sha256:0bae429443cc4748be2aadfdaf9633297cfaeb24a9a02d0ab15849175ce90fab"},
-- {file = "protobuf-3.11.3-cp36-cp36m-win_amd64.whl", hash = "sha256:e11df1ac6905e81b815ab6fd518e79be0a58b5dc427a2cf7208980f30694b956"},
-- {file = "protobuf-3.11.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:7774bbbaac81d3ba86de646c39f154afc8156717972bf0450c9dbfa1dc8dbea2"},
-- {file = "protobuf-3.11.3-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:8eb9c93798b904f141d9de36a0ba9f9b73cc382869e67c9e642c0aba53b0fc07"},
-- {file = "protobuf-3.11.3-cp37-cp37m-win32.whl", hash = "sha256:fac513a9dc2a74b99abd2e17109b53945e364649ca03d9f7a0b96aa8d1807d0a"},
-- {file = "protobuf-3.11.3-cp37-cp37m-win_amd64.whl", hash = "sha256:82d7ac987715d8d1eb4068bf997f3053468e0ce0287e2729c30601feb6602fee"},
-- {file = "protobuf-3.11.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:73152776dc75f335c476d11d52ec6f0f6925774802cd48d6189f4d5d7fe753f4"},
-- {file = "protobuf-3.11.3-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:52e586072612c1eec18e1174f8e3bb19d08f075fc2e3f91d3b16c919078469d0"},
-- {file = "protobuf-3.11.3-py2.7.egg", hash = "sha256:2affcaba328c4662f3bc3c0e9576ea107906b2c2b6422344cdad961734ff6b93"},
-- {file = "protobuf-3.11.3-py2.py3-none-any.whl", hash = "sha256:24e3b6ad259544d717902777b33966a1a069208c885576254c112663e6a5bb0f"},
-- {file = "protobuf-3.11.3.tar.gz", hash = "sha256:c77c974d1dadf246d789f6dad1c24426137c9091e930dbf50e0a29c1fcf00b1f"},
++ {file = "protobuf-3.12.2-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:e1464a4a2cf12f58f662c8e6421772c07947266293fb701cb39cd9c1e183f63c"},
++ {file = "protobuf-3.12.2-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:6f349adabf1c004aba53f7b4633459f8ca8a09654bf7e69b509c95a454755776"},
++ {file = "protobuf-3.12.2-cp35-cp35m-macosx_10_9_intel.whl", hash = "sha256:be04fe14ceed7f8641e30f36077c1a654ff6f17d0c7a5283b699d057d150d82a"},
++ {file = "protobuf-3.12.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:f4b73736108a416c76c17a8a09bc73af3d91edaa26c682aaa460ef91a47168d3"},
++ {file = "protobuf-3.12.2-cp35-cp35m-win32.whl", hash = "sha256:5524c7020eb1fb7319472cb75c4c3206ef18b34d6034d2ee420a60f99cddeb07"},
++ {file = "protobuf-3.12.2-cp35-cp35m-win_amd64.whl", hash = "sha256:bff02030bab8b969f4de597543e55bd05e968567acb25c0a87495a31eb09e925"},
++ {file = "protobuf-3.12.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:c9ca9f76805e5a637605f171f6c4772fc4a81eced4e2f708f79c75166a2c99ea"},
++ {file = "protobuf-3.12.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:304e08440c4a41a0f3592d2a38934aad6919d692bb0edfb355548786728f9a5e"},
++ {file = "protobuf-3.12.2-cp36-cp36m-win32.whl", hash = "sha256:b5a114ea9b7fc90c2cc4867a866512672a47f66b154c6d7ee7e48ddb68b68122"},
++ {file = "protobuf-3.12.2-cp36-cp36m-win_amd64.whl", hash = "sha256:85b94d2653b0fdf6d879e39d51018bf5ccd86c81c04e18a98e9888694b98226f"},
++ {file = "protobuf-3.12.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a7ab28a8f1f043c58d157bceb64f80e4d2f7f1b934bc7ff5e7f7a55a337ea8b0"},
++ {file = "protobuf-3.12.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:eafe9fa19fcefef424ee089fb01ac7177ff3691af7cc2ae8791ae523eb6ca907"},
++ {file = "protobuf-3.12.2-cp37-cp37m-win32.whl", hash = "sha256:612bc97e42b22af10ba25e4140963fbaa4c5181487d163f4eb55b0b15b3dfcd2"},
++ {file = "protobuf-3.12.2-cp37-cp37m-win_amd64.whl", hash = "sha256:e72736dd822748b0721f41f9aaaf6a5b6d5cfc78f6c8690263aef8bba4457f0e"},
++ {file = "protobuf-3.12.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:87535dc2d2ef007b9d44e309d2b8ea27a03d2fa09556a72364d706fcb7090828"},
++ {file = "protobuf-3.12.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:50b5fee674878b14baea73b4568dc478c46a31dd50157a5b5d2f71138243b1a9"},
++ {file = "protobuf-3.12.2-py2.py3-none-any.whl", hash = "sha256:a96f8fc625e9ff568838e556f6f6ae8eca8b4837cdfb3f90efcb7c00e342a2eb"},
++ {file = "protobuf-3.12.2.tar.gz", hash = "sha256:49ef8ab4c27812a89a76fa894fe7a08f42f2147078392c0dee51d4a444ef6df5"},
]
psycopg2-binary = [
{file = "psycopg2-binary-2.8.5.tar.gz", hash = "sha256:ccdc6a87f32b491129ada4b87a43b1895cf2c20fdb7f98ad979647506ffc41b6"},
@@@ -2868,8 -2899,8 +2881,8 @@@ pyjwt =
{file = "PyJWT-1.7.1.tar.gz", hash = "sha256:8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96"},
]
pylint = [
-- {file = "pylint-2.5.2-py3-none-any.whl", hash = "sha256:dd506acce0427e9e08fb87274bcaa953d38b50a58207170dbf5b36cf3e16957b"},
-- {file = "pylint-2.5.2.tar.gz", hash = "sha256:b95e31850f3af163c2283ed40432f053acbc8fc6eba6a069cb518d9dbf71848c"},
++ {file = "pylint-2.5.3-py3-none-any.whl", hash = "sha256:d0ece7d223fe422088b0e8f13fa0a1e8eb745ebffcb8ed53d3e95394b6101a1c"},
++ {file = "pylint-2.5.3.tar.gz", hash = "sha256:7dd78437f2d8d019717dbf287772d0b2dbdfd13fc016aa7faa08d67bccc46adc"},
]
pylint-celery = [
{file = "pylint-celery-0.3.tar.gz", hash = "sha256:41e32094e7408d15c044178ea828dd524beedbdbe6f83f712c5e35bde1de4beb"},
@@@ -2910,8 -2941,8 +2923,8 @@@ pytest-forked =
{file = "pytest_forked-1.1.3-py2.py3-none-any.whl", hash = "sha256:1ae25dba8ee2e56fb47311c9638f9e58552691da87e82d25b0ce0e4bf52b7d87"},
]
pytest-mock = [
-- {file = "pytest-mock-3.1.0.tar.gz", hash = "sha256:ce610831cedeff5331f4e2fc453a5dd65384303f680ab34bee2c6533855b431c"},
-- {file = "pytest_mock-3.1.0-py2.py3-none-any.whl", hash = "sha256:997729451dfc36b851a9accf675488c7020beccda15e11c75632ee3d1b1ccd71"},
++ {file = "pytest-mock-3.1.1.tar.gz", hash = "sha256:636e792f7dd9e2c80657e174c04bf7aa92672350090736d82e97e92ce8f68737"},
++ {file = "pytest_mock-3.1.1-py3-none-any.whl", hash = "sha256:a9fedba70e37acf016238bb2293f2652ce19985ceb245bbd3d7f3e4032667402"},
]
pytest-vcr = [
{file = "pytest-vcr-1.0.2.tar.gz", hash = "sha256:23ee51b75abbcc43d926272773aae4f39f93aceb75ed56852d0bf618f92e1896"},
@@@ -2959,31 -2990,31 +2972,31 @@@ razorpay =
{file = "razorpay-1.2.0.tar.gz", hash = "sha256:8bae5ba6e3d8c7aebf7e4b297d15dfdb4a4b05e6fabd8d56405ac0d2677539bd"},
]
redis = [
-- {file = "redis-3.5.1-py2.py3-none-any.whl", hash = "sha256:a5b0e25890d216d8189636742c50ab992e42eea699bcc1b08cc2d6bf3adff52a"},
-- {file = "redis-3.5.1.tar.gz", hash = "sha256:6e9d2722a95d10ddf854596e66516d316d99c6a483e5db3b35c34e1158b2bfa1"},
++ {file = "redis-3.5.3-py2.py3-none-any.whl", hash = "sha256:432b788c4530cfe16d8d943a09d40ca6c16149727e4afe8c2c9d5580c59d9f24"},
++ {file = "redis-3.5.3.tar.gz", hash = "sha256:0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2"},
]
regex = [
-- {file = "regex-2020.5.7-cp27-cp27m-win32.whl", hash = "sha256:5493a02c1882d2acaaf17be81a3b65408ff541c922bfd002535c5f148aa29f74"},
-- {file = "regex-2020.5.7-cp27-cp27m-win_amd64.whl", hash = "sha256:021a0ae4d2baeeb60a3014805a2096cb329bd6d9f30669b7ad0da51a9cb73349"},
-- {file = "regex-2020.5.7-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:4df91094ced6f53e71f695c909d9bad1cca8761d96fd9f23db12245b5521136e"},
-- {file = "regex-2020.5.7-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:7ce4a213a96d6c25eeae2f7d60d4dad89ac2b8134ec3e69db9bc522e2c0f9388"},
-- {file = "regex-2020.5.7-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:3b059e2476b327b9794c792c855aa05531a3f3044737e455d283c7539bd7534d"},
-- {file = "regex-2020.5.7-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:652ab4836cd5531d64a34403c00ada4077bb91112e8bcdae933e2eae232cf4a8"},
-- {file = "regex-2020.5.7-cp36-cp36m-win32.whl", hash = "sha256:1e2255ae938a36e9bd7db3b93618796d90c07e5f64dd6a6750c55f51f8b76918"},
-- {file = "regex-2020.5.7-cp36-cp36m-win_amd64.whl", hash = "sha256:8127ca2bf9539d6a64d03686fd9e789e8c194fc19af49b69b081f8c7e6ecb1bc"},
-- {file = "regex-2020.5.7-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:f7f2f4226db6acd1da228adf433c5c3792858474e49d80668ea82ac87cf74a03"},
-- {file = "regex-2020.5.7-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:2bc6a17a7fa8afd33c02d51b6f417fc271538990297167f68a98cae1c9e5c945"},
-- {file = "regex-2020.5.7-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:b7c9f65524ff06bf70c945cd8d8d1fd90853e27ccf86026af2afb4d9a63d06b1"},
-- {file = "regex-2020.5.7-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:fa09da4af4e5b15c0e8b4986a083f3fd159302ea115a6cc0649cd163435538b8"},
-- {file = "regex-2020.5.7-cp37-cp37m-win32.whl", hash = "sha256:669a8d46764a09f198f2e91fc0d5acdac8e6b620376757a04682846ae28879c4"},
-- {file = "regex-2020.5.7-cp37-cp37m-win_amd64.whl", hash = "sha256:b5b5b2e95f761a88d4c93691716ce01dc55f288a153face1654f868a8034f494"},
-- {file = "regex-2020.5.7-cp38-cp38-manylinux1_i686.whl", hash = "sha256:0ff50843535593ee93acab662663cb2f52af8e31c3f525f630f1dc6156247938"},
-- {file = "regex-2020.5.7-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:1b17bf37c2aefc4cac8436971fe6ee52542ae4225cfc7762017f7e97a63ca998"},
-- {file = "regex-2020.5.7-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:04d6e948ef34d3eac133bedc0098364a9e635a7914f050edb61272d2ddae3608"},
-- {file = "regex-2020.5.7-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:5b741ecc3ad3e463d2ba32dce512b412c319993c1bb3d999be49e6092a769fb2"},
-- {file = "regex-2020.5.7-cp38-cp38-win32.whl", hash = "sha256:099568b372bda492be09c4f291b398475587d49937c659824f891182df728cdf"},
-- {file = "regex-2020.5.7-cp38-cp38-win_amd64.whl", hash = "sha256:3ab5e41c4ed7cd4fa426c50add2892eb0f04ae4e73162155cd668257d02259dd"},
-- {file = "regex-2020.5.7.tar.gz", hash = "sha256:73a10404867b835f1b8a64253e4621908f0d71150eb4e97ab2e7e441b53e9451"},
++ {file = "regex-2020.6.8-cp27-cp27m-win32.whl", hash = "sha256:fbff901c54c22425a5b809b914a3bfaf4b9570eee0e5ce8186ac71eb2025191c"},
++ {file = "regex-2020.6.8-cp27-cp27m-win_amd64.whl", hash = "sha256:112e34adf95e45158c597feea65d06a8124898bdeac975c9087fe71b572bd938"},
++ {file = "regex-2020.6.8-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:92d8a043a4241a710c1cf7593f5577fbb832cf6c3a00ff3fc1ff2052aff5dd89"},
++ {file = "regex-2020.6.8-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:bae83f2a56ab30d5353b47f9b2a33e4aac4de9401fb582b55c42b132a8ac3868"},
++ {file = "regex-2020.6.8-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:b2ba0f78b3ef375114856cbdaa30559914d081c416b431f2437f83ce4f8b7f2f"},
++ {file = "regex-2020.6.8-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:95fa7726d073c87141f7bbfb04c284901f8328e2d430eeb71b8ffdd5742a5ded"},
++ {file = "regex-2020.6.8-cp36-cp36m-win32.whl", hash = "sha256:e3cdc9423808f7e1bb9c2e0bdb1c9dc37b0607b30d646ff6faf0d4e41ee8fee3"},
++ {file = "regex-2020.6.8-cp36-cp36m-win_amd64.whl", hash = "sha256:c78e66a922de1c95a208e4ec02e2e5cf0bb83a36ceececc10a72841e53fbf2bd"},
++ {file = "regex-2020.6.8-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:08997a37b221a3e27d68ffb601e45abfb0093d39ee770e4257bd2f5115e8cb0a"},
++ {file = "regex-2020.6.8-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:2f6f211633ee8d3f7706953e9d3edc7ce63a1d6aad0be5dcee1ece127eea13ae"},
++ {file = "regex-2020.6.8-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:55b4c25cbb3b29f8d5e63aeed27b49fa0f8476b0d4e1b3171d85db891938cc3a"},
++ {file = "regex-2020.6.8-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:89cda1a5d3e33ec9e231ece7307afc101b5217523d55ef4dc7fb2abd6de71ba3"},
++ {file = "regex-2020.6.8-cp37-cp37m-win32.whl", hash = "sha256:690f858d9a94d903cf5cada62ce069b5d93b313d7d05456dbcd99420856562d9"},
++ {file = "regex-2020.6.8-cp37-cp37m-win_amd64.whl", hash = "sha256:1700419d8a18c26ff396b3b06ace315b5f2a6e780dad387e4c48717a12a22c29"},
++ {file = "regex-2020.6.8-cp38-cp38-manylinux1_i686.whl", hash = "sha256:654cb773b2792e50151f0e22be0f2b6e1c3a04c5328ff1d9d59c0398d37ef610"},
++ {file = "regex-2020.6.8-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:52e1b4bef02f4040b2fd547357a170fc1146e60ab310cdbdd098db86e929b387"},
++ {file = "regex-2020.6.8-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:cf59bbf282b627130f5ba68b7fa3abdb96372b24b66bdf72a4920e8153fc7910"},
++ {file = "regex-2020.6.8-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:5aaa5928b039ae440d775acea11d01e42ff26e1561c0ffcd3d805750973c6baf"},
++ {file = "regex-2020.6.8-cp38-cp38-win32.whl", hash = "sha256:97712e0d0af05febd8ab63d2ef0ab2d0cd9deddf4476f7aa153f76feef4b2754"},
++ {file = "regex-2020.6.8-cp38-cp38-win_amd64.whl", hash = "sha256:6ad8663c17db4c5ef438141f99e291c4d4edfeaacc0ce28b5bba2b0bf273d9b5"},
++ {file = "regex-2020.6.8.tar.gz", hash = "sha256:e9b64e609d37438f7d6e68c2546d2cb8062f3adb27e6336bc129b51be20773ac"},
]
requests = [
{file = "requests-2.23.0-py2.py3-none-any.whl", hash = "sha256:43999036bfa82904b6af1d99e4882b560e5e2c68e5c4b0aa03b655f3d7d73fee"},
@@@ -3010,16 -3041,16 +3023,16 @@@ singledispatch =
{file = "singledispatch-3.4.0.3.tar.gz", hash = "sha256:5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c"},
]
six = [
-- {file = "six-1.14.0-py2.py3-none-any.whl", hash = "sha256:8f3cd2e254d8f793e7f3d6d9df77b92252b52637291d0f0da013c76ea2724b6c"},
-- {file = "six-1.14.0.tar.gz", hash = "sha256:236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a"},
++ {file = "six-1.15.0-py2.py3-none-any.whl", hash = "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced"},
++ {file = "six-1.15.0.tar.gz", hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"},
]
snowballstemmer = [
{file = "snowballstemmer-2.0.0-py2.py3-none-any.whl", hash = "sha256:209f257d7533fdb3cb73bdbd24f436239ca3b2fa67d56f6ff88e86be08cc5ef0"},
{file = "snowballstemmer-2.0.0.tar.gz", hash = "sha256:df3bac3df4c2c01363f3dd2cfa78cce2840a79b9f1c2d2de9ce8d31683992f52"},
]
soupsieve = [
-- {file = "soupsieve-2.0-py2.py3-none-any.whl", hash = "sha256:fcd71e08c0aee99aca1b73f45478549ee7e7fc006d51b37bec9e9def7dc22b69"},
-- {file = "soupsieve-2.0.tar.gz", hash = "sha256:e914534802d7ffd233242b785229d5ba0766a7f487385e3f714446a07bf540ae"},
++ {file = "soupsieve-2.0.1-py3-none-any.whl", hash = "sha256:1634eea42ab371d3d346309b93df7870a88610f0725d47528be902a0d95ecc55"},
++ {file = "soupsieve-2.0.1.tar.gz", hash = "sha256:a59dc181727e95d25f781f0eb4fd1825ff45590ec8ff49eadfd7f1a537cc0232"},
]
sqlparse = [
{file = "sqlparse-0.3.1-py2.py3-none-any.whl", hash = "sha256:022fb9c87b524d1f7862b3037e541f68597a730a8843245c349fc93e1643dc4e"},
@@@ -3030,8 -3061,8 +3043,8 @@@ stripe =
{file = "stripe-2.48.0.tar.gz", hash = "sha256:515fe2cc915e639468f30150a39c162fc0fb090256ae9d6a04e5022925d136f1"},
]
sympy = [
-- {file = "sympy-1.5.1-py2.py3-none-any.whl", hash = "sha256:4880d3a351558063bd89febda302f220dc4b88de393bba81fa6539a3966f03fa"},
-- {file = "sympy-1.5.1.tar.gz", hash = "sha256:d77901d748287d15281f5ffe5b0fef62dd38f357c2b827c44ff07f35695f4e7e"},
++ {file = "sympy-1.6-py3-none-any.whl", hash = "sha256:7af1e11e9fcb72362c47a481dc010e518cfcb60a594d1ee8bd268f86ea7d6cbf"},
++ {file = "sympy-1.6.tar.gz", hash = "sha256:9769e3d2952e211b1245f1d0dfdbfbdde1f7779a3953832b7dd2b88a21ca6cc6"},
]
text-unidecode = [
{file = "text-unidecode-1.3.tar.gz", hash = "sha256:bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93"},
@@@ -3049,9 -3080,9 +3062,8 @@@ tinycss2 =
{file = "tinycss2-1.0.2.tar.gz", hash = "sha256:6427d0e3faa0a5e0e8c9f6437e2de26148a7a197a8b0992789f23d9a802788cf"},
]
toml = [
-- {file = "toml-0.10.0-py2.7.egg", hash = "sha256:f1db651f9657708513243e61e6cc67d101a39bad662eaa9b5546f789338e07a3"},
-- {file = "toml-0.10.0-py2.py3-none-any.whl", hash = "sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e"},
-- {file = "toml-0.10.0.tar.gz", hash = "sha256:229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c"},
++ {file = "toml-0.10.1-py2.py3-none-any.whl", hash = "sha256:bda89d5935c2eac546d648028b9901107a595863cb36bae0c73ac804a9b4ce88"},
++ {file = "toml-0.10.1.tar.gz", hash = "sha256:926b612be1e5ce0634a2ca03470f95169cf16f939018233a670519cb4ac58b0f"},
]
tornado = [
{file = "tornado-6.0.4-cp35-cp35m-win32.whl", hash = "sha256:5217e601700f24e966ddab689f90b7ea4bd91ff3357c3600fa1045e26d68e55d"},
@@@ -3065,12 -3096,12 +3077,12 @@@
{file = "tornado-6.0.4.tar.gz", hash = "sha256:0fe2d45ba43b00a41cd73f8be321a44936dc1aba233dee979f17a042b83eb6dc"},
]
tox = [
-- {file = "tox-3.15.1-py2.py3-none-any.whl", hash = "sha256:322dfdf007d7d53323f767badcb068a5cfa7c44d8aabb698d131b28cf44e62c4"},
-- {file = "tox-3.15.1.tar.gz", hash = "sha256:8c9ad9b48659d291c5bc78bcabaa4d680d627687154b812fa52baedaa94f9f83"},
++ {file = "tox-3.15.2-py2.py3-none-any.whl", hash = "sha256:50a188b8e17580c1fb931f494a754e6507d4185f54fb18aca5ba3e12d2ffd55e"},
++ {file = "tox-3.15.2.tar.gz", hash = "sha256:c696d36cd7c6a28ada2da780400e44851b20ee19ef08cfe73344a1dcebbbe9f3"},
]
tqdm = [
- {file = "tqdm-4.46.0-py2.py3-none-any.whl", hash = "sha256:acdafb20f51637ca3954150d0405ff1a7edde0ff19e38fb99a80a66210d2a28f"},
- {file = "tqdm-4.46.0.tar.gz", hash = "sha256:4733c4a10d0f2a4d098d801464bdaf5240c7dadd2a7fde4ee93b0a0efd9fb25e"},
+ {file = "tqdm-4.46.1-py2.py3-none-any.whl", hash = "sha256:07c06493f1403c1380b630ae3dcbe5ae62abcf369a93bbc052502279f189ab8c"},
+ {file = "tqdm-4.46.1.tar.gz", hash = "sha256:cd140979c2bebd2311dfb14781d8f19bd5a9debb92dcab9f6ef899c987fcf71f"},
]
transifex-client = [
{file = "transifex-client-0.13.9.tar.gz", hash = "sha256:2eb576e31230b62e06083145907599e456bae05127f7e914b27eb796f739ed51"},
@@@ -3128,12 -3159,12 +3140,12 @@@ vine =
{file = "vine-1.3.0.tar.gz", hash = "sha256:133ee6d7a9016f177ddeaf191c1f58421a1dcc6ee9a42c58b34bed40e1d2cd87"},
]
virtualenv = [
-- {file = "virtualenv-20.0.20-py2.py3-none-any.whl", hash = "sha256:b4c14d4d73a0c23db267095383c4276ef60e161f94fde0427f2f21a0132dde74"},
-- {file = "virtualenv-20.0.20.tar.gz", hash = "sha256:fd0e54dec8ac96c1c7c87daba85f0a59a7c37fe38748e154306ca21c73244637"},
++ {file = "virtualenv-20.0.21-py2.py3-none-any.whl", hash = "sha256:a730548b27366c5e6cbdf6f97406d861cccece2e22275e8e1a757aeff5e00c70"},
++ {file = "virtualenv-20.0.21.tar.gz", hash = "sha256:a116629d4e7f4d03433b8afa27f43deba09d48bc48f5ecefa4f015a178efb6cf"},
]
wcwidth = [
-- {file = "wcwidth-0.1.9-py2.py3-none-any.whl", hash = "sha256:cafe2186b3c009a04067022ce1dcd79cb38d8d65ee4f4791b8888d6599d1bbe1"},
-- {file = "wcwidth-0.1.9.tar.gz", hash = "sha256:ee73862862a156bf77ff92b09034fc4825dd3af9cf81bc5b360668d425f3c5f1"},
++ {file = "wcwidth-0.2.4-py2.py3-none-any.whl", hash = "sha256:79375666b9954d4a1a10739315816324c3e73110af9d0e102d906fdb0aec009f"},
++ {file = "wcwidth-0.2.4.tar.gz", hash = "sha256:8c6b5b6ee1360b842645f336d9e5d68c55817c26d3050f46b235ef2bc650e48f"},
]
weasyprint = [
{file = "WeasyPrint-51-py3-none-any.whl", hash = "sha256:469974f6e74b1eef71dc56a9b80cc17621f319234d2a4ab656ddd0fd9e66c27f"},
diff --cc saleor/core/tests/test_auth_backend.py
index 7bba19c557,0000000000..9ebdec15d2
mode 100644,000000..100644
--- a/saleor/core/tests/test_auth_backend.py
+++ b/saleor/core/tests/test_auth_backend.py
@@@ -1,85 -1,0 +1,86 @@@
+import jwt
+import pytest
+from freezegun import freeze_time
+from jwt import ExpiredSignatureError, InvalidSignatureError
+
- from saleor.core.auth_backend import JSONWebTokenBackend
- from saleor.core.jwt import (
++from ..auth_backend import JSONWebTokenBackend
++from ..jwt import (
+ JWT_ACCESS_TYPE,
+ JWT_ALGORITHM,
+ create_access_token,
+ create_refresh_token,
+ jwt_user_payload,
+)
- from saleor.settings import JWT_EXPIRATION_DELTA
+
+
+def test_user_authenticated(rf, staff_user):
+ access_token = create_access_token(staff_user)
+ request = rf.request(HTTP_AUTHORIZATION=f"JWT {access_token}")
+ backend = JSONWebTokenBackend()
+ user = backend.authenticate(request)
+ assert user == staff_user
+
+
+def test_user_deactivated(rf, staff_user):
+ staff_user.is_active = False
+ staff_user.save()
+ access_token = create_access_token(staff_user)
+ request = rf.request(HTTP_AUTHORIZATION=f"JWT {access_token}")
+ backend = JSONWebTokenBackend()
+ assert backend.authenticate(request) is None
+
+
+def test_incorect_type_of_token(rf, staff_user):
+ token = create_refresh_token(staff_user)
+ request = rf.request(HTTP_AUTHORIZATION=f"JWT {token}")
+ backend = JSONWebTokenBackend()
+ assert backend.authenticate(request) is None
+
+
- def test_incorrect_token(rf, staff_user):
- payload = jwt_user_payload(staff_user, JWT_ACCESS_TYPE, JWT_EXPIRATION_DELTA,)
++def test_incorrect_token(rf, staff_user, settings):
++ payload = jwt_user_payload(
++ staff_user, JWT_ACCESS_TYPE, settings.JWT_EXPIRATION_DELTA,
++ )
+ token = jwt.encode(payload, "Wrong secret", JWT_ALGORITHM,).decode("utf-8")
+ request = rf.request(HTTP_AUTHORIZATION=f"JWT {token}")
+ backend = JSONWebTokenBackend()
+ with pytest.raises(InvalidSignatureError):
+ backend.authenticate(request)
+
+
+def test_missing_token(rf, staff_user):
+ request = rf.request(HTTP_AUTHORIZATION="JWT ")
+ backend = JSONWebTokenBackend()
+ assert backend.authenticate(request) is None
+
+
+def test_missing_header(rf, staff_user):
+ request = rf.request()
+ backend = JSONWebTokenBackend()
+ assert backend.authenticate(request) is None
+
+
+def test_token_expired(rf, staff_user):
+ with freeze_time("2019-03-18 12:00:00"):
+ access_token = create_access_token(staff_user)
+ request = rf.request(HTTP_AUTHORIZATION=f"JWT {access_token}")
+ backend = JSONWebTokenBackend()
+ with pytest.raises(ExpiredSignatureError):
+ backend.authenticate(request)
+
+
+def test_user_doesnt_exist(rf, staff_user):
+ access_token = create_access_token(staff_user)
+ staff_user.delete()
+ request = rf.request(HTTP_AUTHORIZATION=f"JWT {access_token}")
+ backend = JSONWebTokenBackend()
+ assert backend.authenticate(request) is None
+
+
+def test_user_deactivated_token(rf, staff_user):
+ access_token = create_access_token(staff_user)
+ staff_user.jwt_token_key = "New key"
+ staff_user.save()
+ request = rf.request(HTTP_AUTHORIZATION=f"JWT {access_token}")
+ backend = JSONWebTokenBackend()
+ assert backend.authenticate(request) is None
diff --cc saleor/graphql/account/tests/mutations/__init__.py
index 0000000000,0000000000..e69de29bb2
new file mode 100644
--- /dev/null
+++ b/saleor/graphql/account/tests/mutations/__init__.py
diff --cc saleor/graphql/account/tests/mutations/test_token_create_.py
index 0000000000,0000000000..b568a27d34
new file mode 100644
--- /dev/null
+++ b/saleor/graphql/account/tests/mutations/test_token_create_.py
@@@ -1,0 -1,0 +1,114 @@@
++from datetime import datetime, timedelta
++
++import graphene
++from django.middleware.csrf import _get_new_csrf_token
++from freezegun import freeze_time
++from jwt import decode
++
++from .....account.error_codes import AccountErrorCode
++from .....core.jwt import (
++ JWT_ACCESS_TYPE,
++ JWT_ALGORITHM,
++ JWT_REFRESH_TYPE,
++ JWT_SECRET,
++ create_refresh_token,
++)
++from ....tests.utils import get_graphql_content
++
++MUTATION_CREATE_TOKEN = """
++ mutation tokenCreate($email: String!, $password: String!){
++ tokenCreate(email: $email, password: $password) {
++ token
++ refreshToken
++ csrfToken
++ user {
++ email
++ }
++ errors {
++ field
++ message
++ }
++ accountErrors {
++ field
++ message
++ code
++ }
++ }
++ }
++"""
++
++
++@freeze_time("2020-03-18 12:00:00")
++def test_create_token(api_client, customer_user, settings):
++ variables = {"email": customer_user.email, "password": customer_user._password}
++ response = api_client.post_graphql(MUTATION_CREATE_TOKEN, variables)
++ content = get_graphql_content(response)
++
++ data = content["data"]["tokenCreate"]
++
++ user_email = data["user"]["email"]
++ assert customer_user.email == user_email
++ assert content["data"]["tokenCreate"]["accountErrors"] == []
++
++ token = data["token"]
++ refreshToken = data["refreshToken"]
++
++ payload = decode(token, JWT_SECRET, algorithms=JWT_ALGORITHM)
++ assert payload["email"] == customer_user.email
++ assert payload["user_id"] == graphene.Node.to_global_id("User", customer_user.id)
++ assert datetime.fromtimestamp(payload["iat"]) == datetime.utcnow()
++ expected_expiration_datetime = datetime.utcnow() + settings.JWT_EXPIRATION_DELTA
++ assert datetime.fromtimestamp(payload["exp"]) == expected_expiration_datetime
++ assert payload["type"] == JWT_ACCESS_TYPE
++
++ payload = decode(refreshToken, JWT_SECRET, algorithms=JWT_ALGORITHM)
++ assert payload["email"] == customer_user.email
++ assert datetime.fromtimestamp(payload["iat"]) == datetime.utcnow()
++ expected_expiration_datetime = (
++ datetime.utcnow() + settings.JWT_REFRESH_EXPIRATION_DELTA
++ )
++ assert datetime.fromtimestamp(payload["exp"]) == expected_expiration_datetime
++ assert payload["type"] == JWT_REFRESH_TYPE
++ assert payload["token"] == customer_user.jwt_token_key
++
++
++@freeze_time("2020-03-18 12:00:00")
++def test_create_token_sets_cookie(api_client, customer_user, settings, monkeypatch):
++ csrf_token = _get_new_csrf_token()
++ monkeypatch.setattr(
++ "saleor.graphql.account.mutations.jwt._get_new_csrf_token", lambda: csrf_token
++ )
++ variables = {"email": customer_user.email, "password": customer_user._password}
++ response = api_client.post_graphql(MUTATION_CREATE_TOKEN, variables)
++
++ expected_refresh_token = create_refresh_token(
++ customer_user, {"csrfToken": csrf_token}
++ )
++ refresh_token = response.cookies["refreshToken"]
++ assert refresh_token.value == expected_refresh_token
++ expected_expires = datetime.utcnow() + settings.JWT_REFRESH_EXPIRATION_DELTA
++ expected_expires += timedelta(seconds=1)
++ expires = datetime.strptime(refresh_token["expires"], "%a, %d %b %Y %H:%M:%S %Z")
++ assert expires == expected_expires
++ assert refresh_token["httponly"]
++ assert refresh_token["secure"]
++
++
++def test_create_token_invalid_password(api_client, customer_user):
++ variables = {"email": customer_user.email, "password": "wrongpassword"}
++ expected_error_code = AccountErrorCode.INVALID_CREDENTIALS.value.upper()
++ response = api_client.post_graphql(MUTATION_CREATE_TOKEN, variables)
++ content = get_graphql_content(response)
++ response_error = content["data"]["tokenCreate"]["accountErrors"][0]
++ assert response_error["code"] == expected_error_code
++ assert response_error["field"] == "email"
++
++
++def test_create_token_invalid_email(api_client, customer_user):
++ variables = {"email": "wrongemail", "password": "wrongpassword"}
++ expected_error_code = AccountErrorCode.INVALID_CREDENTIALS.value.upper()
++ response = api_client.post_graphql(MUTATION_CREATE_TOKEN, variables)
++ content = get_graphql_content(response)
++ response_error = content["data"]["tokenCreate"]["accountErrors"][0]
++ assert response_error["code"] == expected_error_code
++ assert response_error["field"] == "email"
diff --cc saleor/graphql/account/tests/mutations/test_token_refresh.py
index 0000000000,0000000000..97c5a79086
new file mode 100644
--- /dev/null
+++ b/saleor/graphql/account/tests/mutations/test_token_refresh.py
@@@ -1,0 -1,0 +1,194 @@@
++from datetime import datetime
++
++from django.middleware.csrf import _get_new_csrf_token
++from freezegun import freeze_time
++from jwt import decode
++
++from .....account.error_codes import AccountErrorCode
++from .....core.jwt import (
++ JWT_ACCESS_TYPE,
++ JWT_ALGORITHM,
++ JWT_REFRESH_TOKEN_COOKIE_NAME,
++ JWT_SECRET,
++ create_access_token,
++ create_refresh_token,
++)
++from ....tests.utils import get_graphql_content
++
++MUTATION_TOKEN_REFRESH = """
++ mutation tokenRefresh($token: String, $csrf_token: String!){
++ tokenRefresh(refreshToken: $token, csrfToken: $csrf_token){
++ token
++ accountErrors{
++ code
++ }
++ }
++ }
++"""
++
++
++@freeze_time("2020-03-18 12:00:00")
++def test_refresh_token_get_token_from_cookie(api_client, customer_user, settings):
++ csrf_token = _get_new_csrf_token()
++ refresh_token = create_refresh_token(customer_user, {"csrfToken": csrf_token})
++ variables = {"token": None, "csrf_token": csrf_token}
++ api_client.cookies[JWT_REFRESH_TOKEN_COOKIE_NAME] = refresh_token
++ api_client.cookies[JWT_REFRESH_TOKEN_COOKIE_NAME]["httponly"] = True
++ response = api_client.post_graphql(MUTATION_TOKEN_REFRESH, variables)
++ content = get_graphql_content(response)
++
++ data = content["data"]["tokenRefresh"]
++ errors = data["accountErrors"]
++
++ assert not errors
++ token = data.get("token")
++ assert token
++ payload = decode(token, JWT_SECRET, algorithms=JWT_ALGORITHM)
++ assert payload["email"] == customer_user.email
++ assert datetime.fromtimestamp(payload["iat"]) == datetime.utcnow()
++ assert (
++ datetime.fromtimestamp(payload["exp"])
++ == datetime.utcnow() + settings.JWT_EXPIRATION_DELTA
++ )
++ assert payload["type"] == JWT_ACCESS_TYPE
++ assert payload["token"] == customer_user.jwt_token_key
++
++
++@freeze_time("2020-03-18 12:00:00")
++def test_refresh_token_get_token_from_input(api_client, customer_user, settings):
++ csrf_token = _get_new_csrf_token()
++ refresh_token = create_refresh_token(customer_user, {"csrfToken": csrf_token})
++ variables = {"token": refresh_token, "csrf_token": csrf_token}
++ response = api_client.post_graphql(MUTATION_TOKEN_REFRESH, variables)
++ content = get_graphql_content(response)
++
++ data = content["data"]["tokenRefresh"]
++ errors = data["accountErrors"]
++
++ assert not errors
++ token = data.get("token")
++ assert token
++ payload = decode(token, JWT_SECRET, algorithms=JWT_ALGORITHM)
++ assert payload["email"] == customer_user.email
++ assert datetime.fromtimestamp(payload["iat"]) == datetime.utcnow()
++ assert (
++ datetime.fromtimestamp(payload["exp"])
++ == datetime.utcnow() + settings.JWT_EXPIRATION_DELTA
++ )
++ assert payload["type"] == JWT_ACCESS_TYPE
++
++
++def test_refresh_token_get_token_missing_token(api_client, customer_user):
++ variables = {"token": None, "csrf_token": "token"}
++ response = api_client.post_graphql(MUTATION_TOKEN_REFRESH, variables)
++ content = get_graphql_content(response)
++
++ data = content["data"]["tokenRefresh"]
++ errors = data["accountErrors"]
++
++ token = data.get("token")
++ assert not token
++
++ assert len(errors) == 1
++ assert errors[0]["code"] == AccountErrorCode.JWT_MISSING_TOKEN.name
++
++
++def test_access_token_used_as_a_refresh_token(api_client, customer_user):
++ csrf_token = _get_new_csrf_token()
++ access_token = create_access_token(customer_user, {"csrfToken": csrf_token})
++
++ variables = {"token": access_token, "csrf_token": csrf_token}
++ response = api_client.post_graphql(MUTATION_TOKEN_REFRESH, variables)
++ content = get_graphql_content(response)
++
++ data = content["data"]["tokenRefresh"]
++ errors = data["accountErrors"]
++
++ token = data.get("token")
++ assert not token
++
++ assert len(errors) == 1
++ assert errors[0]["code"] == AccountErrorCode.JWT_INVALID_TOKEN.name
++
++
++def test_refresh_token_get_token_incorrect_csrf_token(api_client, customer_user):
++ csrf_token = _get_new_csrf_token()
++ refresh_token = create_refresh_token(customer_user, {"csrfToken": csrf_token})
++ variables = {"token": refresh_token, "csrf_token": "csrf_token"}
++
++ response = api_client.post_graphql(MUTATION_TOKEN_REFRESH, variables)
++ content = get_graphql_content(response)
++
++ data = content["data"]["tokenRefresh"]
++ errors = data["accountErrors"]
++
++ token = data.get("token")
++ assert not token
++
++ assert len(errors) == 1
++ assert errors[0]["code"] == AccountErrorCode.JWT_INVALID_CSRF_TOKEN.name
++
++
++def test_refresh_token_when_expired(api_client, customer_user):
++ with freeze_time("2018-05-31 12:00:01"):
++ csrf_token = _get_new_csrf_token()
++ refresh_token = create_refresh_token(customer_user, {"csrfToken": csrf_token})
++
++ variables = {"token": None, "csrf_token": csrf_token}
++ api_client.cookies[JWT_REFRESH_TOKEN_COOKIE_NAME] = refresh_token
++ api_client.cookies[JWT_REFRESH_TOKEN_COOKIE_NAME]["httponly"] = True
++
++ response = api_client.post_graphql(MUTATION_TOKEN_REFRESH, variables)
++
++ content = get_graphql_content(response)
++
++ data = content["data"]["tokenRefresh"]
++ errors = data["accountErrors"]
++
++ token = data.get("token")
++ assert not token
++
++ assert len(errors) == 1
++ assert errors[0]["code"] == AccountErrorCode.JWT_SIGNATURE_EXPIRED.name
++
++
++def test_refresh_token_when_incorrect_token(api_client, customer_user):
++ csrf_token = _get_new_csrf_token()
++ refresh_token = create_refresh_token(customer_user, {"csrfToken": csrf_token})
++
++ variables = {"token": None, "csrf_token": csrf_token}
++ api_client.cookies[JWT_REFRESH_TOKEN_COOKIE_NAME] = refresh_token + "wrong-token"
++ api_client.cookies[JWT_REFRESH_TOKEN_COOKIE_NAME]["httponly"] = True
++
++ response = api_client.post_graphql(MUTATION_TOKEN_REFRESH, variables)
++
++ content = get_graphql_content(response)
++
++ data = content["data"]["tokenRefresh"]
++ errors = data["accountErrors"]
++
++ token = data.get("token")
++ assert not token
++
++ assert len(errors) == 1
++ assert errors[0]["code"] == AccountErrorCode.JWT_DECODE_ERROR.name
++
++
++def test_refresh_token_when_user_deactivated_token(api_client, customer_user):
++ csrf_token = _get_new_csrf_token()
++ refresh_token = create_refresh_token(customer_user, {"csrfToken": csrf_token})
++ customer_user.jwt_token_key = "new_key"
++ customer_user.save()
++ variables = {"token": None, "csrf_token": csrf_token}
++ api_client.cookies[JWT_REFRESH_TOKEN_COOKIE_NAME] = refresh_token
++ api_client.cookies[JWT_REFRESH_TOKEN_COOKIE_NAME]["httponly"] = True
++
++ response = api_client.post_graphql(MUTATION_TOKEN_REFRESH, variables)
++ content = get_graphql_content(response)
++
++ data = content["data"]["tokenRefresh"]
++ errors = data["accountErrors"]
++
++ assert not data["token"]
++ assert len(errors) == 1
++ assert errors[0]["code"] == AccountErrorCode.JWT_INVALID_TOKEN.name
diff --cc saleor/graphql/account/tests/mutations/test_token_verify.py
index 0000000000,0000000000..09bf94aedc
new file mode 100644
--- /dev/null
+++ b/saleor/graphql/account/tests/mutations/test_token_verify.py
@@@ -1,0 -1,0 +1,53 @@@
++from .....account.error_codes import AccountErrorCode
++from .....core.jwt import create_access_token
++from ....tests.utils import get_graphql_content
++
++MUTATION_TOKEN_VERIFY = """
++ mutation tokenVerify($token: String!){
++ tokenVerify(token: $token){
++ isValid
++ user{
++ email
++ }
++ accountErrors{
++ code
++ }
++ }
++ }
++"""
++
++
++def test_verify_token(api_client, customer_user):
++ variables = {"token": create_access_token(customer_user)}
++ response = api_client.post_graphql(MUTATION_TOKEN_VERIFY, variables)
++ content = get_graphql_content(response)
++ data = content["data"]["tokenVerify"]
++ assert data["isValid"]
++ user_email = content["data"]["tokenVerify"]["user"]["email"]
++ assert customer_user.email == user_email
++
++
++def test_verify_token_incorrect_token(api_client):
++ variables = {"token": "incorrect_token"}
++ response = api_client.post_graphql(MUTATION_TOKEN_VERIFY, variables)
++ content = get_graphql_content(response)
++ data = content["data"]["tokenVerify"]
++ errors = data["accountErrors"]
++ assert len(errors) == 1
++ assert errors[0]["code"] == AccountErrorCode.JWT_DECODE_ERROR.name
++ assert not data["isValid"]
++ assert not data["user"]
++
++
++def test_verify_token_invalidated_by_user(api_client, customer_user):
++ variables = {"token": create_access_token(customer_user)}
++ customer_user.jwt_token_key = "new token"
++ customer_user.save()
++ response = api_client.post_graphql(MUTATION_TOKEN_VERIFY, variables)
++ content = get_graphql_content(response)
++ data = content["data"]["tokenVerify"]
++ errors = data["accountErrors"]
++
++ assert not data["isValid"]
++ assert len(errors) == 1
++ assert errors[0]["code"] == AccountErrorCode.JWT_INVALID_TOKEN.name
diff --cc saleor/graphql/account/tests/mutations/test_tokens_deactivate_all.py
index 0000000000,0000000000..92acfd83f1
new file mode 100644
--- /dev/null
+++ b/saleor/graphql/account/tests/mutations/test_tokens_deactivate_all.py
@@@ -1,0 -1,0 +1,82 @@@
++from django.middleware.csrf import _get_new_csrf_token
++from freezegun import freeze_time
++
++from .....account.error_codes import AccountErrorCode
++from .....core.jwt import create_access_token, create_refresh_token, jwt_decode
++from ....tests.utils import get_graphql_content
++from .test_token_refresh import MUTATION_TOKEN_REFRESH
++
++MUTATION_DEACTIVATE_ALL_USER_TOKENS = """
++mutation{
++ tokensDeactivateAll{
++ accountErrors{
++ field
++ message
++ code
++ }
++ }
++}
++
++"""
++
++
++@freeze_time("2020-03-18 12:00:00")
++def test_deactivate_all_user_tokens(customer_user, user_api_client):
++ token = create_access_token(customer_user)
++ jwt_key = customer_user.jwt_token_key
++
++ csrf_token = _get_new_csrf_token()
++ refresh_token = create_refresh_token(customer_user, {"csrfToken": csrf_token})
++
++ user_api_client.token = token
++ user_api_client.post_graphql(MUTATION_DEACTIVATE_ALL_USER_TOKENS)
++ customer_user.refresh_from_db()
++
++ new_token = create_access_token(customer_user)
++ new_refresh_token = create_refresh_token(customer_user, {"csrfToken": csrf_token})
++ # the mutation changes the parameter of jwt token, which confirms if jwt token is
++ # valid or not
++ assert jwt_decode(token)["token"] != jwt_decode(new_token)["token"]
++ assert jwt_decode(refresh_token)["token"] != jwt_decode(new_refresh_token)["token"]
++ assert jwt_key != customer_user.jwt_token_key
++
++
++def test_deactivate_all_user_tokens_access_token(user_api_client, customer_user):
++ token = create_access_token(customer_user)
++ user_api_client.token = token
++ response = user_api_client.post_graphql(MUTATION_DEACTIVATE_ALL_USER_TOKENS)
++ content = get_graphql_content(response)
++
++ errors = content["data"]["tokensDeactivateAll"]["accountErrors"]
++ assert not errors
++
++ query = "{me { id }}"
++ response = user_api_client.post_graphql(query)
++ content = get_graphql_content(response)
++ assert content["data"]["me"] is None
++
++
++def test_deactivate_all_user_token_refresh_token(
++ api_client, user_api_client, customer_user
++):
++ user_api_client.token = create_access_token(customer_user)
++ create_refresh_token(customer_user)
++ csrf_token = _get_new_csrf_token()
++ refresh_token = create_refresh_token(customer_user, {"csrfToken": csrf_token})
++
++ response = user_api_client.post_graphql(MUTATION_DEACTIVATE_ALL_USER_TOKENS)
++ content = get_graphql_content(response)
++ errors = content["data"]["tokensDeactivateAll"]["accountErrors"]
++ assert not errors
++
++ variables = {"token": refresh_token, "csrf_token": csrf_token}
++ response = api_client.post_graphql(MUTATION_TOKEN_REFRESH, variables)
++ content = get_graphql_content(response)
++
++ data = content["data"]["tokenRefresh"]
++ errors = data["accountErrors"]
++
++ assert data["token"] is None
++ assert len(errors) == 1
++
++ assert errors[0]["code"] == AccountErrorCode.JWT_INVALID_TOKEN.name
diff --cc saleor/graphql/account/tests/test_account.py
index 07c4771d10,d5689c0125..78cf204518
--- a/saleor/graphql/account/tests/test_account.py
+++ b/saleor/graphql/account/tests/test_account.py
@@@ -15,29 -15,24 +15,23 @@@ from django.test import override_settin
from freezegun import freeze_time
from prices import Money
- from saleor.account import events as account_events
- from saleor.account.error_codes import AccountErrorCode
- from saleor.account.models import Address, User
- from saleor.checkout import AddressType
- from saleor.core.jwt import create_token
- from saleor.core.permissions import AccountPermissions, OrderPermissions
- from saleor.graphql.account.mutations.base import INVALID_TOKEN
- from saleor.graphql.account.mutations.staff import (
- CustomerDelete,
- StaffDelete,
- StaffUpdate,
- UserDelete,
- )
- from saleor.graphql.core.utils import str_to_enum
- from saleor.order.models import FulfillmentStatus, Order
- from tests.api.utils import get_graphql_content
- from tests.utils import create_image
-
- from .utils import (
+ from ....account import events as account_events
+ from ....account.error_codes import AccountErrorCode
+ from ....account.models import Address, User
-from ....account.utils import create_jwt_token
+ from ....checkout import AddressType
++from ....core.jwt import create_token
+ from ....core.permissions import AccountPermissions, OrderPermissions
+ from ....order.models import FulfillmentStatus, Order
+ from ....product.tests.utils import create_image
+ from ...core.utils import str_to_enum
+ from ...tests.utils import (
assert_no_permission,
- convert_dict_keys_to_camel_case,
+ get_graphql_content,
get_multipart_request_body,
)
+ from ..mutations.base import INVALID_TOKEN
+ from ..mutations.staff import CustomerDelete, StaffDelete, StaffUpdate, UserDelete
+ from ..tests.utils import convert_dict_keys_to_camel_case
@pytest.fixture
diff --cc saleor/graphql/core/tests/test_core.py
index 09cc4af539,6b552c0860..39d7bab5dc
--- a/saleor/graphql/core/tests/test_core.py
+++ b/saleor/graphql/core/tests/test_core.py
@@@ -7,12 -7,19 +7,17 @@@ from django.contrib.auth.models import
from django.core.exceptions import ImproperlyConfigured, ValidationError
from django.utils import timezone
from graphene import InputField
-from graphql_jwt.shortcuts import get_token
- from saleor.graphql.core.enums import ReportingPeriod
- from saleor.graphql.core.filters import EnumFilter
- from saleor.graphql.core.mutations import BaseMutation
- from saleor.graphql.core.types import FilterInputObjectType
- from saleor.graphql.core.utils import (
-from ....account.error_codes import AccountErrorCode
+ from ....product.models import Category, Product
+ from ...product import types as product_types
+ from ...tests.utils import _get_graphql_content_from_response, get_graphql_content
+ from ...utils import get_database_id, requestor_is_superuser
+ from ...utils.filters import filter_range_field, reporting_period_to_date
+ from ..enums import ReportingPeriod
+ from ..filters import EnumFilter
+ from ..mutations import BaseMutation
+ from ..types import FilterInputObjectType
+ from ..utils import (
clean_seo_fields,
get_duplicated_values,
snake_to_camel_case,
diff --cc saleor/graphql/schema.graphql
index ff743eea6a,0654df5161..149566d86a
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@@ -2478,13 -2475,10 +2484,14 @@@ type Mutation
appDelete(id: ID!): AppDelete
appTokenCreate(input: AppTokenInput!): AppTokenCreate
appTokenDelete(id: ID!): AppTokenDelete
+ appTokenVerify(token: String!): AppTokenVerify
+ tokenCreate(email: String!, password: String!): CreateToken
+ tokenRefresh(csrfToken: String!, refreshToken: String): RefreshToken
+ tokenVerify(token: String!): VerifyToken
+ tokensDeactivateAll: DeactivateAllUserTokens
requestPasswordReset(email: String!, redirectUrl: String!): RequestPasswordReset
confirmAccount(email: String!, token: String!): ConfirmAccount
- setPassword(token: String!, email: String!, password: String!): SetPassword
+ setPassword(email: String!, password: String!, token: String!): SetPassword
passwordChange(newPassword: String!, oldPassword: String!): PasswordChange
requestEmailChange(newEmail: String!, password: String!, redirectUrl: String!): RequestEmailChange
confirmEmailChange(token: String!): ConfirmEmailChange
diff --cc saleor/graphql/tests/fixtures.py
index 13e1becf04,d89e168ce2..fde6cf06f4
--- a/saleor/graphql/tests/fixtures.py
+++ b/saleor/graphql/tests/fixtures.py
@@@ -7,13 -7,12 +7,12 @@@ from django.contrib.auth.models import
from django.core.serializers.json import DjangoJSONEncoder
from django.shortcuts import reverse
from django.test.client import MULTIPART_CONTENT, Client
-from graphql_jwt.shortcuts import get_token
- from saleor.account.models import User
- from saleor.app.models import App
- from saleor.core.jwt import create_access_token
- from saleor.graphql.views import handled_errors_logger, unhandled_errors_logger
-
- from ..utils import flush_post_commit_hooks
+ from ...account.models import User
+ from ...app.models import App
++from ...core.jwt import create_access_token
+ from ...tests.utils import flush_post_commit_hooks
+ from ..views import handled_errors_logger, unhandled_errors_logger
from .utils import assert_no_permission
API_PATH = reverse("api")
diff --cc saleor/settings.py
index cfb1418224,cfe8edd42e..754ca02e5e
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@@ -379,8 -379,9 +380,10 @@@ PAYMENT_HOST = get_hos
PAYMENT_MODEL = "order.Payment"
MAX_CHECKOUT_LINE_QUANTITY = int(os.environ.get("MAX_CHECKOUT_LINE_QUANTITY", 50))
- TEST_RUNNER = "tests.runner.PytestTestRunner"
+
+ TEST_RUNNER = "saleor.tests.runner.PytestTestRunner"
+
+
PLAYGROUND_ENABLED = get_bool_from_env("PLAYGROUND_ENABLED", True)
ALLOWED_HOSTS = get_list(os.environ.get("ALLOWED_HOSTS", "localhost,127.0.0.1"))