Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Merge branch 'master' into email_interface_as_plugin
Maciej Korycinskid2748852654f
diff --cc poetry.lockindex db70752f97,3a57de79ed..9ec82a2ac8--- a/poetry.lock+++ b/poetry.lock@@@ -836,7 -836,7 +836,7 @@@ smmap = ">=3.0.1,<4[[package]]name = "gitpython"--version = "3.1.12"++version = "3.1.13"description = "Python Git Library"category = "dev"optional = false@@@ -1399,12 -1393,12 +1401,16 @@@ sympy = ">=0.7.3[[package]]name = "mpmath"--version = "1.1.0"++version = "1.2.1"description = "Python library for arbitrary-precision floating-point arithmetic"category = "main"optional = falsepython-versions = "*"++[package.extras]++develop = ["pytest (>=4.6)", "pycodestyle", "pytest-cov", "codecov", "wheel"]++tests = ["pytest (>=4.6)"]++[[package]]name = "multidict"version = "5.1.0"@@@ -2539,7 -2514,7 +2545,7 @@@ multidict = ">=4.0[metadata]lock-version = "1.1"python-versions = "~3.9"- content-hash = "5876e64addb5ac2faf309170298070f5f6d7f844f5f06a4d7d989261c213c5a1"-content-hash = "63f89dd275ac4835153f540cc042165b3d5bb6f71782d1e11152d9e73dd899d4"++content-hash = "e884a100501fea8aeb8fb89e8ae8fc8dabbfaf10d99947a9ea8e71dba323ada0"[metadata.files]adyen = [@@@ -2891,28 -2869,28 +2897,28 @@@ gitdb ={file = "gitdb-4.0.5.tar.gz", hash = "sha256:c9e1f2d0db7ddb9a704c2a0217be31214e91a4fe1dea1efad19ae42ba0c285c9"},]gitpython = [-- {file = "GitPython-3.1.12-py3-none-any.whl", hash = "sha256:867ec3dfb126aac0f8296b19fb63b8c4a399f32b4b6fafe84c4b10af5fa9f7b5"},-- {file = "GitPython-3.1.12.tar.gz", hash = "sha256:42dbefd8d9e2576c496ed0059f3103dcef7125b9ce16f9d5f9c834aed44a1dac"},++ {file = "GitPython-3.1.13-py3-none-any.whl", hash = "sha256:c5347c81d232d9b8e7f47b68a83e5dc92e7952127133c5f2df9133f2c75a1b29"},++ {file = "GitPython-3.1.13.tar.gz", hash = "sha256:8621a7e777e276a5ec838b59280ba5272dd144a18169c36c903d8b38b99f750a"},]google-api-core = [- {file = "google-api-core-1.25.1.tar.gz", hash = "sha256:0e152ec37b8481d1be1258d95844a5a7031cd3d83d7c7046d9e9b2d807042440"},- {file = "google_api_core-1.25.1-py2.py3-none-any.whl", hash = "sha256:292dd636ed381098d24b7093ccb826b2278a12d886a3fc982084069aa24a8fbb"},+ {file = "google-api-core-1.26.0.tar.gz", hash = "sha256:4230ec764d48ca934fe69b85cc217e31e844e176f68df93e252acd55350e730b"},+ {file = "google_api_core-1.26.0-py2.py3-none-any.whl", hash = "sha256:002e44c533299aecd9dd265d200f9eacd9957cddd2c72e2cd1cb5cea127e972d"},]google-auth = [- {file = "google-auth-1.24.0.tar.gz", hash = "sha256:0b0e026b412a0ad096e753907559e4bdb180d9ba9f68dd9036164db4fdc4ad2e"},- {file = "google_auth-1.24.0-py2.py3-none-any.whl", hash = "sha256:ce752cc51c31f479dbf9928435ef4b07514b20261b021c7383bee4bda646acb8"},+ {file = "google-auth-1.25.0.tar.gz", hash = "sha256:514e39f4190ca972200ba33876da5a8857c5665f2b4ccc36c8b8ee21228aae80"},+ {file = "google_auth-1.25.0-py2.py3-none-any.whl", hash = "sha256:008e23ed080674f69f9d2d7d80db4c2591b9bb307d136cea7b3bc129771d211d"},]google-cloud-core = [- {file = "google-cloud-core-1.5.0.tar.gz", hash = "sha256:1277a015f8eeb014c48f2ec094ed5368358318f1146cf49e8de389962dc19106"},- {file = "google_cloud_core-1.5.0-py2.py3-none-any.whl", hash = "sha256:99a8a15f406f53f2b11bda1f45f952a9cdfbdbba8abf40c75651019d800879f5"},+ {file = "google-cloud-core-1.6.0.tar.gz", hash = "sha256:c6abb18527545379fc82efc4de75ce9a3772ccad2fc645adace593ba097cbb02"},+ {file = "google_cloud_core-1.6.0-py2.py3-none-any.whl", hash = "sha256:40d9c2da2d03549b5ac3dcccf289d4f15e6d1210044c6381ce45c92913e62904"},]google-cloud-pubsub = [- {file = "google-cloud-pubsub-2.2.0.tar.gz", hash = "sha256:bc50a60803f5c409a295ec0e31cdd4acc271611ce3f4963a072036bbfa5ccde5"},- {file = "google_cloud_pubsub-2.2.0-py2.py3-none-any.whl", hash = "sha256:44ea43f3603a641afee89b5789414a3db55a41a4e0f50c113dd0c8fddbc06e45"},+ {file = "google-cloud-pubsub-2.3.0.tar.gz", hash = "sha256:b19f0556c252b805a52c976e3317c53d91e36f56dc8d28192eea190627faf343"},+ {file = "google_cloud_pubsub-2.3.0-py2.py3-none-any.whl", hash = "sha256:77837aa37099e8bfefd836eaa5b8a042edbcd166677515b34bbe112e558d1932"},]google-cloud-storage = [- {file = "google-cloud-storage-1.35.0.tar.gz", hash = "sha256:555c0db2f88f3419f123bf9c621d7fd92f7c9e4f8b11f08eda57facacba16a9e"},- {file = "google_cloud_storage-1.35.0-py2.py3-none-any.whl", hash = "sha256:7b48b74683dafec5da315c7b0861ab168c208e04c763aa5db7ea8d7ecd8b6c5d"},+ {file = "google-cloud-storage-1.35.1.tar.gz", hash = "sha256:dc076b6af6da991252416639cb93831f8e50c8328d5ac3fb8e03e40cd8de2290"},+ {file = "google_cloud_storage-1.35.1-py2.py3-none-any.whl", hash = "sha256:69fa8feda06768c44dd635c2cd8d59267362a0c8323afc65cf24efc4d88a0fcc"},]google-crc32c = [{file = "google-crc32c-1.1.2.tar.gz", hash = "sha256:dff5bd1236737f66950999d25de7a78144548ebac7788d30ada8c1b6ead60b27"},@@@ -3222,7 -3196,7 +3228,8 @@@ measurement ={file = "measurement-3.2.0.tar.gz", hash = "sha256:352b20f7f0e553236af7c5ed48d091a51cf26061c1a063f46b31706ff7c0d57a"},]mpmath = [-- {file = "mpmath-1.1.0.tar.gz", hash = "sha256:fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6"},++ {file = "mpmath-1.2.1-py3-none-any.whl", hash = "sha256:604bc21bd22d2322a177c73bdb573994ef76e62edd595d17e00aff24b0667e5c"},++ {file = "mpmath-1.2.1.tar.gz", hash = "sha256:79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a"},]multidict = [{file = "multidict-5.1.0-cp36-cp36m-macosx_10_14_x86_64.whl", hash = "sha256:b7993704f1a4b204e71debe6095150d43b2ee6150fa4f44d6d966ec356a8d61f"},diff --cc requirements.txtindex cb3d94c5b4,8e51f78333..cff881276c--- a/requirements.txt+++ b/requirements.txt@@@ -82,7 -81,7 +82,7 @@@ markdown==3.3.3; python_version >= "3.6maxminddb-geolite2==2018.703maxminddb==2.0.3; python_version >= "3.6"measurement==3.2.0--mpmath==1.1.0; python_version >= "3.6"++mpmath==1.2.1; python_version >= "3.6"mypy-extensions==0.4.3; python_version >= "3.6"oauthlib==3.1.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")openpyxl==3.0.6; python_version >= "3.6"@@@ -99,12 -99,11 +100,13 @@@ psycopg2-binary==2.8.6; (python_versiopurl==1.5pyasn1-modules==0.2.8; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"pyasn1==0.4.8; python_version >= "3.5" and python_full_version < "3.0.0" and python_version < "4" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0") or python_version >= "3.5" and python_full_version >= "3.6.0" and python_version < "4" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0")+pybars3==0.9.7pycparser==2.20; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"pyjwt==2.0.1; python_version >= "3.6"+pymeta3==0.5.1+ pyparsing==2.4.7; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6"pyphen==0.10.0; python_version >= "3.6"- python-dateutil==2.8.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"+ python-dateutil==2.8.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6"python-dotenv==0.15.0python-json-logger==2.0.1; python_version >= "3.4"python-magic-bin==0.4.14; sys_platform == "win32"diff --cc requirements_dev.txtindex 0a39970b3f,5bef17c2aa..ae5a314d0b--- a/requirements_dev.txt+++ b/requirements_dev.txt@@@ -67,13 -67,13 +67,13 @@@ filelock==3.0.12; python_full_version >flake8==3.8.4; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")freezegun==0.3.15; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")gitdb==4.0.5; python_version >= "3.4" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version < "3.10" and python_version >= "3.4"--gitpython==3.1.12; python_version >= "3.4" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version < "3.10" and python_version >= "3.4"- google-api-core==1.25.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6"- google-auth==1.24.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0"- google-cloud-core==1.5.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"- google-cloud-pubsub==2.2.0; python_version >= "3.6"- google-cloud-storage==1.35.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.6.0")- google-crc32c==1.1.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0"++gitpython==3.1.13; python_version >= "3.4" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version < "3.10" and python_version >= "3.4"+ google-api-core==1.26.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6"+ google-auth==1.25.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0"+ google-cloud-core==1.6.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"+ google-cloud-pubsub==2.3.0; python_version >= "3.6"+ google-cloud-storage==1.35.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.6.0")+ google-crc32c==1.1.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.6.0"google-i18n-address==2.4.0google-measurement-protocol==1.1.0google-resumable-media==1.2.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.6.0"@@@ -110,7 -109,7 +110,7 @@@ maxminddb-geolite2==2018.70maxminddb==2.0.3; python_version >= "3.6"mccabe==0.6.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5"measurement==3.2.0--mpmath==1.1.0; python_version >= "3.6"++mpmath==1.2.1; python_version >= "3.6"multidict==5.1.0; python_version >= "3.6"mypy-extensions==0.4.3; python_version >= "3.6"mypy==0.740; python_version >= "3.5"diff --cc saleor/graphql/translations/tests/test_translations.pyindex b5e41f76d3,83811bfaf9..109b904bcb--- a/saleor/graphql/translations/tests/test_translations.py+++ b/saleor/graphql/translations/tests/test_translations.py@@@ -2,9 -2,10 +2,10 @@@ import graphenimport pytestfrom django.contrib.auth.models import Permission+ from ....tests.utils import dummy_editorjs+from ...core.enums import LanguageCodeEnumfrom ...tests.utils import assert_no_permission, get_graphql_contentfrom ..schema import TranslatableKinds-from ..types import LanguageCodeEnumdef test_product_translation(user_api_client, product, channel_USD):