Mercurial > kallithea
annotate dev_requirements.txt @ 8276:fdde16d7cea0
celery: fix send_email to work with JSON encoding (Issue #363)
Long time ago, c935bcaf7086 introduced an optional User object parameter to the
send_email task and used the computed full_name_or_username property. Due to the
magic of pickle, that also worked when using Celery to run the task async.
Now, Celery 4 changed the default encoding from Pickle to JSON, which we
anticipated in e539db6cc0da. That broke send_email in some cases, for example
when a user comments on another user's changeset.
Fixed by passing the "From" name as string instead of passing the whole User
object.
Thanks to vyom for reporting.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 29 Feb 2020 16:06:30 +0100 |
parents | 51af7c12ffb1 |
children | 42312c8d070d |
rev | line source |
---|---|
8228
d122a9532630
setup: bump version numbers to current max
Mads Kiilerich <mads@kiilerich.com>
parents:
8137
diff
changeset
|
1 pytest >= 4.6.6, < 5.4 |
7900
4dad662fe6fd
dev_requirements.txt: bump minimum pytest versions to a working set
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
parents:
7810
diff
changeset
|
2 pytest-sugar >= 0.9.2, < 0.10 |
4dad662fe6fd
dev_requirements.txt: bump minimum pytest versions to a working set
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
parents:
7810
diff
changeset
|
3 pytest-benchmark >= 3.2.2, < 3.3 |
4dad662fe6fd
dev_requirements.txt: bump minimum pytest versions to a working set
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
parents:
7810
diff
changeset
|
4 pytest-localserver >= 0.5.0, < 0.6 |
8228
d122a9532630
setup: bump version numbers to current max
Mads Kiilerich <mads@kiilerich.com>
parents:
8137
diff
changeset
|
5 mock >= 3.0.0, < 4.1 |
d122a9532630
setup: bump version numbers to current max
Mads Kiilerich <mads@kiilerich.com>
parents:
8137
diff
changeset
|
6 Sphinx >= 1.8.0, < 2.4 |
8137
268c47a1a93d
setup: bump webtest minimum version to 2.0.6 to get py3 stdlib support
Mads Kiilerich <mads@kiilerich.com>
parents:
7929
diff
changeset
|
7 WebTest >= 2.0.6, < 2.1 |
7810
5698307382de
scripts: introduce import cleanup using isort
Mads Kiilerich <mads@kiilerich.com>
parents:
7741
diff
changeset
|
8 isort == 4.3.21 |
8240
51af7c12ffb1
cleanup: run pyflakes as a part of scripts/run-all-cleanup
Mads Kiilerich <mads@kiilerich.com>
parents:
8228
diff
changeset
|
9 pyflakes == 2.1.1 |