These are chat archives for mirumee/saleor
Should we go to merge the Python37 support (https://github.com/mirumee/saleor/compare/master...NyanKiyoshi:python37-support) when PyYaml 4.2 will be released despite travis-ci still using the release of January? Tests are (were) passing without issues with the updated requirements.
Tests are currently failing because PyYaml released a broken version (4.1) in PyPi which was needed for Python37 support (yaml/pyyaml#192)
The possible issue is that quite some people will encounter issues with Saleor if they get to use the 3.7 instead of 3.6 or previous.
AlterModelOptionscalls but I can't figure out how that migration is created or how it results in the permissions persisting.
Inside each model, you have a Meta class that contains a permission list (
(e.g.: in saleor.order.Order)
Then you have to add them to saleor.core.permissions (model_name.permission_identifier)
And PermissionMixin is managing the permissions (model User of saleor.account), which is using a enum, and to update it you have to run the
makemigrations command to generate a updated enum, and thus, then, run