Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FW][FIX] website_mail_channel: Python 3.8 compatible #57288

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Sep 8, 2020

As of Python 3.8 the digestmode arg from hmac.new
is not optional anymore (see https://docs.python.org/3/library/hmac.html).
This aims to keep the previous behavior in stable (11.0 to saas-13.3)
while making it compatible with 3.8.

Future versions shouldn't have this issue since 1c7c837 introduces
a handler with explicit digestmode in saas-13.4.

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #57263

As of Python 3.8 the digestmode arg from hmac.new
is not optional anymore (see https://docs.python.org/3/library/hmac.html).
This aims to keep the previous behavior in stable (11.0 to saas-13.3)
while making it compatible with 3.8.

Future versions shouldn't have this issue since 1c7c837 introduces
a handler with explicit digestmode in saas-13.4.

X-original-commit: 47de40d
@robodoo robodoo added forwardport This PR was created by @fw-bot seen 🙂 labels Sep 8, 2020
@fw-bot
Copy link
Contributor Author

fw-bot commented Sep 8, 2020

This PR targets saas-11.3 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added ☑ legal/cla CI 🤖 Robodoo has seen passing statuses and removed ☐ legal/cla labels Sep 8, 2020
@C3POdoo C3POdoo added the RD research & development, internal work label Sep 8, 2020
robodoo pushed a commit that referenced this pull request Sep 10, 2020
As of Python 3.8 the digestmode arg from hmac.new
is not optional anymore (see https://docs.python.org/3/library/hmac.html).
This aims to keep the previous behavior in stable (11.0 to saas-13.3)
while making it compatible with 3.8.

Future versions shouldn't have this issue since 1c7c837 introduces
a handler with explicit digestmode in saas-13.4.

closes #57288

X-original-commit: 47de40d
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Signed-off-by: Thomas Dieuzeide <tdi-odoo@users.noreply.github.com>
@robodoo
Copy link
Contributor

robodoo commented Sep 10, 2020

I'm sorry, @tdi-odoo. This PR is already reviewed, reviewing it again is useless.

@robodoo robodoo closed this Sep 10, 2020
@robodoo robodoo temporarily deployed to merge September 10, 2020 10:53 Inactive
@fw-bot fw-bot deleted the saas-11.3-11.0-hmac-python-3.8-fix-tdi-FAp3-fw branch September 24, 2020 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses forwardport This PR was created by @fw-bot RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants