Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Disabled by default the storage of celery results
NyanKiyoshi654d910235b1
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 71fb8354ba..37bb2a4cb4 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -22,6 +22,7 @@ All notable, unreleased changes to this project will be documented in this file.- GraphQL now prints exceptions to stderr as well as returning them or not - #4148 by @NyanKiyoshi- Refactored API resolvers to staticmethods with root typing - #4155 by @NyanKiyoshi- Users can how add multiple "Add to Cart" forms in a single page - #4165 by @NyanKiyoshi+- Disabled by default the storage of celery results - #4169 by @NyanKiyoshi## 2.6.0diff --git a/Pipfile b/Pipfileindex c8ae82d236..64349a6431 100644--- a/Pipfile+++ b/Pipfile@@ -31,7 +31,6 @@ django-storages = {extras = ["google"],version = "*"}django-templated-email = ">=2.2.0"django-versatileimagefield = ">=1.10"django-webpack-loader = ">=0.3.0"-django-celery-results = "*"django-elasticsearch-dsl = ">=0.5.0.<0.6.0"django-recaptcha = "<2.0.0"django-silk = "==2.0.0"diff --git a/Pipfile.lock b/Pipfile.lockindex e27da5222d..2d53bd18c5 100644--- a/Pipfile.lock+++ b/Pipfile.lock@@ -1,7 +1,7 @@{"_meta": {"hash": {- "sha256": "000dd71416a21fbce980cac522cb95780a37e6e9aee0f6925af2e17025d05065"+ "sha256": "00306765bdb16d3d93954fc2d04b9f9b01b565b8b433963c569c3e1db48e605f"},"pipfile-spec": 6,"requires": {@@ -38,11 +38,11 @@},"babel": {"hashes": [- "sha256:6778d85147d5d85345c14a26aada5e478ab04e39b078b0745ee6870c2b5cf669",- "sha256:8cba50f48c529ca3fa18cf81fa9403be176d374ac4d60738b839122dfaaa3d23"+ "sha256:af92e6106cb7c55286b25b38ad7695f8b4efb36a90ba483d7f7a6628c46158ab",+ "sha256:e86135ae101e31e2c8ec20a4e0c5220f4eed12487d5cf3f78be7e98d3a57fc28"],"index": "pypi",- "version": "==2.6.0"+ "version": "==2.7.0"},"billiard": {"hashes": [@@ -60,18 +60,18 @@},"boto3": {"hashes": [- "sha256:10fd4bf8fe88f9bb449a538e639c1afb9762cb91693dea8c17282ba5c9d00b51",- "sha256:4d187262d30befec431b3b52ccce35e55c0062a86f19b9dd5328b18d6332c5aa"+ "sha256:59782c178af2d5acf66315fe96b3cd1dc075109c0296c384e18a6c4143c0745d",+ "sha256:758787b5ad7c5e2aa2979b0671129491fbab00a7b84a26532cd6b9d073ed862b"],"index": "pypi",- "version": "==1.9.151"+ "version": "==1.9.156"},"botocore": {"hashes": [- "sha256:5e4774c106bb02f8e4639818c2f8157b8ec114a76e481e17cd3fe6955206e088",- "sha256:cfc667e7888aad09ead8f7e32129ea90aa5c7f602531094954bf6305db74aac4"+ "sha256:00b72bc2104a2f56513bc40ce380d0605262decc9fe3b2ce840da48f257598d7",+ "sha256:a12a817bf1faf36837bc2d371aacfb5c7c324e0e9f0b3af94b9930cfcd8d62ea"],- "version": "==1.12.151"+ "version": "==1.12.156"},"braintree": {"hashes": [@@ -83,10 +83,10 @@},"cachetools": {"hashes": [- "sha256:219b7dc6024195b6f2bc3d3f884d1fef458745cd323b04165378622dcc823852",- "sha256:9efcc9fab3b49ab833475702b55edd5ae07af1af7a4c627678980b45e459c460"+ "sha256:428266a1c0d36dc5aca63a2d7c5942e88c2c898d72139fca0e97fdd2380517ae",+ "sha256:8ea2d3ce97850f31e4a08b0e2b5e6c34997d7216a9d2c98e0f3978630d4da69a"],- "version": "==3.1.0"+ "version": "==3.1.1"},"cairocffi": {"hashes": [@@ -96,10 +96,10 @@},"cairosvg": {"hashes": [- "sha256:b5b67bc598f73693490b1bed8bc6e0ae447cf3a6d986c285db309343b90786ee",- "sha256:c4fdf392a6730fd70edf6f9d3b7185150cf011b9d134839b3e98a2c8aba8d6d1"+ "sha256:2ff102b86078c5cc2fe33240f8ca11e323f99c504ffc552e666648176d77ed32",+ "sha256:d2600925a1f5bd2a119b9fb6e1d9f979f2ef71fc6055d8cb49c75b8e90f6d679"],- "version": "==2.3.1"+ "version": "==2.4.0"},"celery": {"extras": [@@ -237,14 +237,6 @@"index": "pypi","version": "==3.0.0"},- "django-celery-results": {- "hashes": [- "sha256:80292a68c8b705c788ff0bca9cacc5a431a4de39d7ff49e2ca8277b700d3d616",- "sha256:89ae9e32076efc65bcba31bc729870da9b230c63af22b673b79170c4a98039b1"- ],- "index": "pypi",- "version": "==1.0.4"- },"django-countries": {"hashes": ["sha256:5307a61172eee5740720e44ea08721858b7d8bf8509ec7701ccd7a8d21120b9a",@@ -505,9 +497,9 @@},"googleapis-common-protos": {"hashes": [- "sha256:d564872083af40bbcc7091340f17db778a316525c7c76497d58d11b98ca2aa74"+ "sha256:e61b8ed5e36b976b487c6e7b15f31bb10c7a0ca7bd5c0e837f4afab64b53a0c6"],- "version": "==1.5.10"+ "version": "==1.6.0"},"gprof2dot": {"hashes": [@@ -603,11 +595,11 @@},"markdown": {"hashes": [- "sha256:fc4a6f69a656b8d858d7503bda633f4dd63c2d70cf80abdc6eafa64c4ae8c250",- "sha256:fe463ff51e679377e3624984c829022e2cfb3be5518726b06f608a07a3aad680"+ "sha256:2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a",+ "sha256:56a46ac655704b91e5b7e6326ce43d5ef72411376588afa1dd90e881b83c7e8c"],"index": "pypi",- "version": "==3.1"+ "version": "==3.1.1"},"markupsafe": {"hashes": [@@ -826,10 +818,10 @@},"pygments": {"hashes": [- "sha256:31cba6ffb739f099a85e243eff8cb717089fdd3c7300767d9fc34cb8e1b065f5",- "sha256:5ad302949b3c98dd73f8d9fcdc7e9cb592f120e32a18e23efd7f3dc51194472b"+ "sha256:71e430bc85c88a430f000ac1d9b331d2407f681d6f6aec95e8bcfbc3df5b0127",+ "sha256:881c4c157e45f30af185c1ffe8d549d48ac9127433f2c380c24b84572ad66297"],- "version": "==2.4.0"+ "version": "==2.4.2"},"pyjwt": {"hashes": [@@ -968,11 +960,11 @@},"stripe": {"hashes": [- "sha256:1036267bbc4c394376bd3f4fc5a7867b7fe3cc1f0c4444b49cdd6929cee36daf",- "sha256:472e8eab5769e64cff02ba4c29e2a9f9c46a739093d589e57881da8f22cc53a2"+ "sha256:8ed3f2645300c36d57db42467db2590d2c720e9a66fea527e4eab5284b5cce69",+ "sha256:bc4480cf12c7f13a96b559ab4be5966fd40871ec61a6a77e1849423bf21e1599"],"index": "pypi",- "version": "==2.28.0"+ "version": "==2.29.0"},"sympy": {"hashes": [@@ -1006,11 +998,11 @@},"urllib3": {"hashes": [- "sha256:2393a695cd12afedd0dcb26fe5d50d0cf248e5a66f75dbd89a3d4eb333a61af4",- "sha256:a637e5fae88995b256e3409dc4d52c2e2e0ba32c42a6365fee8bbd2238de3cfb"+ "sha256:b246607a25ac80bedac05c6f282e3cdaf3afb65420fd024ac94435cabe6e18d1",+ "sha256:dbe59173209418ae49d485b87d1681aefa36252ee85884c31346debd19463232"],"index": "pypi",- "version": "==1.24.3"+ "version": "==1.25.3"},"uwsgi": {"hashes": [@@ -1060,10 +1052,10 @@},"aspy.yaml": {"hashes": [- "sha256:ae249074803e8b957c83fdd82a99160d0d6d26dff9ba81ba608b42eebd7d8cd3",- "sha256:c7390d79f58eb9157406966201abf26da0d56c07e0ff0deadc39c8f4dbc13482"+ "sha256:463372c043f70160a9ec950c3f1e4c3a82db5fca01d334b6bc89c7164d744bdc",+ "sha256:e7c742382eff2caed61f87a39d13f99109088e5e93f04d76eb8d4b28aa143f45"],- "version": "==1.2.0"+ "version": "==1.3.0"},"astroid": {"hashes": [@@ -1103,10 +1095,10 @@},"cfgv": {"hashes": [- "sha256:6e9f2feea5e84bc71e56abd703140d7a2c250fc5ba38b8702fd6a68ed4e3b2ef",- "sha256:e7f186d4a36c099a9e20b04ac3108bd8bb9b9257e692ce18c8c3764d5cb12172"+ "sha256:32edbe09de6f4521224b87822103a8c16a614d31a894735f7a5b3bcf0eb3c37e",+ "sha256:3bd31385cd2bebddbba8012200aaf15aa208539f1b33973759b4d02fc2148da5"],- "version": "==1.6.0"+ "version": "==2.0.0"},"chardet": {"hashes": [@@ -1205,10 +1197,10 @@},"importlib-metadata": {"hashes": [- "sha256:0e375a4c177090292988d1c2f997c7c2467d908c1adbed3e08fb511486c85457",- "sha256:440815529340fb7fdd6a83ebf4258cc2860fb3770d37b52875e37c6f509a4cd6"+ "sha256:027cfc6524613de726789072f95d2e4cc64dd1dee8096d42d13f2ead5bd302f5",+ "sha256:0d05199e1f0b1a8707a1b9c46476d4a49807fb56cb1b0737db1d37feb42fe31d"],- "version": "==0.13"+ "version": "==0.15"},"isort": {"hashes": [@@ -1298,10 +1290,10 @@},"pluggy": {"hashes": [- "sha256:25a1bc1d148c9a640211872b4ff859878d422bccb59c9965e04eed468a0aa180",- "sha256:964cedd2b27c492fbf0b7f58b3284a09cf7f99b0f715941fb24a439b3af1bd1a"+ "sha256:0825a152ac059776623854c1543d65a4ad408eb3d33ee114dff91e57ec6ae6fc",+ "sha256:b9817417e95936bf75d85d3f8767f7df6cdde751fc40aed3bb3074cbcb77757c"],- "version": "==0.11.0"+ "version": "==0.12.0"},"pre-commit": {"hashes": [@@ -1472,11 +1464,11 @@},"tox": {"hashes": [- "sha256:0b0f24aabc4296719c1008df82452bbba07f29713c2448f6923850396b7b9586",- "sha256:1fa40cf60654c981ae8f0dafc8b87fe4ffd1ec3381d90694b97e1eec02e0b5d9"+ "sha256:f5c8e446b51edd2ea97df31d4ded8c8b72e7d6c619519da6bb6084b9dd5770f9",+ "sha256:f87fd33892a2df0950e5e034def9468988b8d008c7e9416be665fcc0dd45b14f"],"index": "pypi",- "version": "==3.11.1"+ "version": "==3.12.1"},"transifex-client": {"hashes": [@@ -1519,11 +1511,11 @@},"urllib3": {"hashes": [- "sha256:2393a695cd12afedd0dcb26fe5d50d0cf248e5a66f75dbd89a3d4eb333a61af4",- "sha256:a637e5fae88995b256e3409dc4d52c2e2e0ba32c42a6365fee8bbd2238de3cfb"+ "sha256:b246607a25ac80bedac05c6f282e3cdaf3afb65420fd024ac94435cabe6e18d1",+ "sha256:dbe59173209418ae49d485b87d1681aefa36252ee85884c31346debd19463232"],"index": "pypi",- "version": "==1.24.3"+ "version": "==1.25.3"},"vcrpy": {"hashes": [diff --git a/requirements.txt b/requirements.txtindex 760e135b3f..9129e2a5c4 100644--- a/requirements.txt+++ b/requirements.txt@@ -2,15 +2,15 @@amqp==2.4.2aniso8601==3.0.2autopep8==1.4.4-babel==2.6.0+babel==2.7.0billiard==3.6.0.0bleach==2.1.4-boto3==1.9.151-botocore==1.12.151+boto3==1.9.156+botocore==1.12.156braintree==3.49.0-cachetools==3.1.0+cachetools==3.1.1cairocffi==1.0.2-cairosvg==2.3.1+cairosvg==2.4.0celery[redis]==4.3.0certifi==2019.3.9cffi==1.12.3@@ -24,7 +24,6 @@ django-appconf==1.0.3django-babel==0.6.2django-bootstrap4==0.0.8django-cache-url==3.0.0-django-celery-results==1.0.4django-countries==5.3.3django-debug-toolbar-request-history==0.0.10django-debug-toolbar==1.11@@ -60,7 +59,7 @@ google-cloud-storage==1.16.0google-i18n-address==2.3.4google-measurement-protocol==1.0.0google-resumable-media==0.3.2-googleapis-common-protos==1.5.10+googleapis-common-protos==1.6.0gprof2dot==2016.10.13graphene-django-optimizer==0.4.0graphene-django==2.2.0@@ -74,7 +73,7 @@ jinja2==2.10.1jmespath==0.9.4jsonfield==2.0.2kombu==4.5.0-markdown==3.1+markdown==3.1.1markupsafe==1.1.1maxminddb-geolite2==2018.703maxminddb==1.4.1@@ -92,7 +91,7 @@ pyasn1-modules==0.2.5pyasn1==0.4.5pycodestyle==2.5.0pycparser==2.19-pygments==2.4.0+pygments==2.4.2pyjwt==1.7.1pyphen==0.9.5python-dateutil==2.8.0 ; python_version >= '2.7'@@ -111,12 +110,12 @@ six==1.12.0social-auth-app-django==3.1.0social-auth-core==3.1.0sqlparse==0.3.0-stripe==2.28.0+stripe==2.29.0sympy==1.4text-unidecode==1.2tinycss2==1.0.2typing==3.6.6-urllib3==1.24.3+urllib3==1.25.3uwsgi==2.0.18 ; platform_system != 'Windows'vine==1.3.0weasyprint==47diff --git a/requirements_dev.txt b/requirements_dev.txtindex 3d64f46dc4..b1287fbf14 100644--- a/requirements_dev.txt+++ b/requirements_dev.txt@@ -1,13 +1,13 @@-i https://pypi.python.org/simpleapipkg==1.5appdirs==1.4.3-aspy.yaml==1.2.0+aspy.yaml==1.3.0astroid==2.2.5atomicwrites==1.3.0attrs==19.1.0black==19.3b0certifi==2019.3.9-cfgv==1.6.0+cfgv==2.0.0chardet==3.0.4click==7.0codecov==2.0.15@@ -17,14 +17,14 @@ execnet==1.6.0filelock==3.0.12identify==1.4.3idna==2.8-importlib-metadata==0.13+importlib-metadata==0.15isort==4.3.20lazy-object-proxy==1.4.1mccabe==0.6.1more-itertools==7.0.0 ; python_version > '2.7'multidict==4.5.2nodeenv==1.3.3-pluggy==0.11.0+pluggy==0.12.0pre-commit==1.16.1py==1.8.0pycodestyle==2.5.0@@ -46,11 +46,11 @@ requests==2.22.0six==1.12.0snowballstemmer==1.2.1toml==0.10.0-tox==3.11.1+tox==3.12.1transifex-client==0.13.6typed-ast==1.3.5 ; implementation_name == 'cpython'unidecode==1.0.23-urllib3==1.24.3+urllib3==1.25.3vcrpy==2.0.1virtualenv==16.6.0wcwidth==0.1.7diff --git a/saleor/settings.py b/saleor/settings.pyindex b47717ac0f..6089718159 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -258,7 +258,6 @@ INSTALLED_APPS = ["social_django","django_countries","django_filters",- "django_celery_results","impersonate","phonenumber_field","captcha",@@ -530,7 +529,7 @@ CELERY_TASK_ALWAYS_EAGER = not CELERY_BROKER_URLCELERY_ACCEPT_CONTENT = ["json"]CELERY_TASK_SERIALIZER = "json"CELERY_RESULT_SERIALIZER = "json"-CELERY_RESULT_BACKEND = "django-db"+CELERY_RESULT_BACKEND = os.environ.get("CELERY_RESULT_BACKEND", None)# Impersonate module settingsIMPERSONATE = {